Skip to content

Releases: datarockets/dreact

v0.9.0

Choose a tag to compare

@ezhlobo ezhlobo released this 28 May 10:39

Enhanced

  • New command dreact lint ts to lint TypeScript (.ts, .tsx) files

  • Modify stylelint config via local config/styleling.config.js

v0.8.2

Choose a tag to compare

@ezhlobo ezhlobo released this 10 May 16:25

Enhanced

  • We can run and build TypeScript projects with using dreact

v0.8.1

Choose a tag to compare

@ezhlobo ezhlobo released this 12 Dec 12:43

Fixed

  • Now when dreact lint js detects errors, the process will exit with non-zero exit code.

    This is expected behavior, otherwise we output errors on screen but leave other tools (e.g. any continuous integration service) not informed.

v0.8.0

Choose a tag to compare

@ezhlobo ezhlobo released this 04 Dec 18:12

Main idea was to migrate to the latest react-scripts.

Major dependencies upgrades

Package Version Previous Version
react-scripts ^4.0.1 ^3
@storybook+ ^6 ^5
jest+ ^25.1.0 ^26
eslint ^6 ^7

Enhanced

  • We now require react@^16.8, it's set as peer dependency

Fixed

  • Removed duplicated react-dom in bundle

Notes

  • No new JSX transform because it's not supported by pug. We'll turn it back as soon as pug stops using deprecated node types, which are not supported by new jsx transform
  • Enzyme requires react@16. No problem to use latest react, but some unexpected problems can occur in tests (I caught issue with mounting there). Also you always can use react testing library instead of enzyme ;).

v0.7.6

Choose a tag to compare

@ezhlobo ezhlobo released this 07 Sep 21:46

Fixed

  • When there is prettier and we specify long values in styles, it caused an issue with wrong indentation. Now indentation rule is turned off for prettier and it's fully on prettier ;).

v0.7.5

Choose a tag to compare

@ezhlobo ezhlobo released this 05 May 14:29

Enhanced

  • Now we can import src directory without having eslint complaining

v0.7.4

Choose a tag to compare

@ezhlobo ezhlobo released this 22 Apr 19:30

Enhanced helper-store

  • We now handle onSuccess and onFailure callbacks once per each corresponding Init action.

v0.7.3

Choose a tag to compare

@ezhlobo ezhlobo released this 15 Apr 10:04

Enhanced helper-sentry

  • Expose more functionality: setUser and addBreadcrumb.
  • Click breadcrumbs now have text of the clicked element
  • Breadcrumbs of failed requests now have response.
  • Now we add every redux action captured as breadcrumb.
  • Turn off threshold of sending reports.

v0.7.2

Choose a tag to compare

@ezhlobo ezhlobo released this 05 Feb 19:53

Fixed

  • Make useEffect hook be triggered in tests when component updates itself (via setting local state, for example)

v0.7.1

Choose a tag to compare

@ezhlobo ezhlobo released this 05 Feb 14:48

Fixed

  • We don't crash the application if actions don't have payload provided (#24).

    Thanks @viscoze