Skip to content

Releases: datarockets/dreact

v0.7.0

30 Jan 17:41
Compare
Choose a tag to compare

Enhanced

  • Callbacks for actions. Pass onSuccess and onFailure handlers within .init() action.

    Take a look at an example in README

  • If there is an error in saga we output it to console to make debugging of issues inside sagas easier.

v0.6.0

29 Jan 13:04
Compare
Choose a tag to compare

This release just updates dependencies, the most interesting changes:

  • Jest ^25.1
    24.925.1
  • Storybook ^5
    5.25.3
  • Sentry
    5.75.11
  • Babel ^7
    7.67.8

Also the major part of dependencies don't have minor and patch specified, so we are supposed to be more flexible and more compatible with the existing projects ;). See how it influences: https://docs.npmjs.com/misc/semver#caret-ranges-123-025-004.

v0.5.2

16 Jan 19:16
Compare
Choose a tag to compare

Fixed

  • Require correct names for pages

v0.5.1

29 Oct 10:04
Compare
Choose a tag to compare

Fixed

  • Make sure that we don't take book.js files placed inside node_modules directory.

    This is a fix for cases when your src/UI contains separate packages (thus have node_modules).

v0.5.0

16 Oct 19:15
Compare
Choose a tag to compare

Enhanced

v0.4.1

14 Oct 20:37
Compare
Choose a tag to compare

Fixed

  • When you have several test cases and somewhere we execute console.error, it's not correctly seen in the console.

v0.4.0

25 Sep 10:56
Compare
Choose a tag to compare

Enhanced

  • We added Sentry integration. Now you can provide REACT_APP_SENTRY_DSN and REACT_APP_SENTRY_ENV environment variables and dreact will start informing Sentry about errors during runtime.

  • We added mock of useEffect hook for shallow rendering. It happens right after rendering is done.

  • We improved resolving of paths to some major dependencies such as react-router-dom and styled-components. Now we can use multiple repositories inside the one with dreact and dreact will still use single version of those dependencies.

v0.3.3

17 Sep 21:50
Compare
Choose a tag to compare

Enhanced

  • We added src/ alias for Jest, so we are able to use that alias inside jest.require and most importantly inside jest.requireMock.

  • Improved documentation.

v0.3.2

05 Sep 13:03
Compare
Choose a tag to compare

Enhanced

  • We now lint attribute separator in pug
  • We don't allow multiple empty lines in pug

Fixed

  • Avoid conflicts between stylelint and prettier if prretier is used on a project

v0.3.1

03 Sep 10:01
Compare
Choose a tag to compare

Fixed

  • Add babel-eslint to dependency list to allow running eslint on external projects.