Skip to content

Releases: datarockets/dreact

v0.9.0

28 May 10:39
Compare
Choose a tag to compare

Enhanced

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

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

v0.8.2

10 May 16:25
Compare
Choose a tag to compare

Enhanced

  • We can run and build TypeScript projects with using dreact

v0.8.1

12 Dec 12:43
Compare
Choose a tag to compare

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

04 Dec 18:12
Compare
Choose a tag to compare

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

07 Sep 21:46
Compare
Choose a tag to compare

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

05 May 14:29
Compare
Choose a tag to compare

Enhanced

  • Now we can import src directory without having eslint complaining

v0.7.4

22 Apr 19:30
Compare
Choose a tag to compare

Enhanced helper-store

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

v0.7.3

15 Apr 10:04
Compare
Choose a tag to compare

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

05 Feb 19:53
Compare
Choose a tag to compare

Fixed

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

v0.7.1

05 Feb 14:48
Compare
Choose a tag to compare

Fixed

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

    Thanks @viscoze