Skip to content

Releases: ctrlplusb/easy-peasy

v6.0.5

12 Jul 07:54
f25bf22
Compare
Choose a tag to compare

This version primarily addresses an issue with useLocalStore, identified and resolved by @yard. The useLocalStore hook now properly cleans up existing subscriptions when a new instance is created, preventing updates from previous instances. Additionally, various dependencies have been updated.

Patches

  • chore: minor, non-functional changes by @no-stack-dub-sack in #876
  • chore(deps): bump @babel/traverse from 7.22.8 to 7.23.2 in /website by @dependabot in #879
  • chore(deps): bump @babel/traverse from 7.22.8 to 7.23.2 by @dependabot in #878
  • chore(deps): bump @adobe/css-tools from 4.2.0 to 4.3.1 by @dependabot in #862
  • chore(deps): bump tar from 6.1.15 to 6.2.1 by @dependabot in #903
  • chore(deps): bump ws from 8.13.0 to 8.17.1 by @dependabot in #908
  • fix: Making sure models created with useLocalStore stop updating the state on update by @yard in #914

Full Changelog: v6.0.4...v6.0.5

v6.0.4

13 Oct 17:05
cb727e7
Compare
Choose a tag to compare

Patches

Full Changelog: v6.0.3...v6.0.4

v6.0.3

18 Sep 10:44
7e6bd6b
Compare
Choose a tag to compare

Patches

  • bugfix: Allow async effects for effectOn (typescript) by @jmyrland in #864
  • fix: set default error on empty helpers.fail() call. by @scascar in #860

Credits

Full Changelog: v6.0.2...v6.0.3

v6.0.2

28 Jul 06:06
406f0c7
Compare
Choose a tag to compare

Includes updated dependencies as part of routine maintenance.

Patches

Other updates (unrelated to the published package)

Full Changelog: v6.0.1...v6.0.2

v6.0.1

14 Jun 14:58
76226a7
Compare
Choose a tag to compare

This patch only includes a bugfix for persist not working properly for ReactNative on iOS. A previous workaround for this, has been to override the implementation of window.requestIdleCallback. This is no longer required, and the new patch should enable persist to work across all platforms 🎉

Patches

Credits

Huge thanks to @OsapBender for reporting the issue, and @GollyJer for providing a reproducible expo snack for troubleshooting the issue.

Full Changelog: v6.0.0...v6.0.1

v6.0.0

18 Apr 16:13
fcb53b9
Compare
Choose a tag to compare

Easy Peasy 6.0.0 is here! Although, this is only considered a major release due to the stabilization of effectOn.

To migrate to 6.0.0, simply rename unstable_effectOn to effectOn and the Unstable_EffecOn type to EffectOn wherever they are used.

Also, big thanks to @damassi for his contribution to the persist api, which adds support for redux-persist-like migrations! migrations are a more flexible alternative to the default persist "merge strategies" for reconciling persisted state with model changes over time. You can read more about them here.

Breaking changes

  • feat: Release effectOn & prepare for v6.0.0 by @jmyrland in #813

Minor changes

Patches

Credits

Full Changelog: v5.2.0...v6.0.0

v5.2.0

23 Nov 14:51
Compare
Choose a tag to compare

This release pushed forward majorly by our awesome new co-maintainers; @jmyrland and @no-stack-dub-sack 👏 ❤️

Minor Changes

  • Feat: Pass debug trace options to dev tools: #771
  • Refactor: Removes typescript StateResolver limitations: #787
  • Feat: Expose storeState for the effectOns StateResolvers: #598
  • Feat: action config (ability to pass a config object and disable immer) #628: #781

Patches

  • Docs: Updates README. Welcome @jmyrland!: c3e9e80
  • Chore: Updates website: 3e3f151
  • Chore: Updates website configuration: 5d86b88
  • Docs: Clarify TypeScript tutorial & add example: #770
  • Bump minimist from 1.2.5 to 1.2.6 in /examples/simple-todo: #772
  • Updating computed properties docs: #779
  • Docs: Add Reduxtagram example: #780
  • Docs: Updated "Using typed injections" for better type safety: #463
  • Chore: Fixes some tests to work cross platform: #774
  • Chore: Extend examples: #773
  • Docs: Update reactotron recipe: #776
  • Chore: Cleanup log output from tests: #789
  • Change to explicit filter for RecursiveState mapper type: #790
  • Chore: Support external thunk and computed TS type alias: #791
  • Test: fix cross-platform persist test issues: #788
  • Chore: Welcome @no-stack-dub-sack 🎉: #792
  • Bump loader-utils from 1.4.0 to 1.4.2: #793

Credits

Huge thanks to @jmyrland, @no-stack-dub-sack, @methyl, @s900mhz, @yard, @crissdev, @jankalfus, and @arielhs for helping!

v5.1.0

17 Sep 04:05
Compare
Choose a tag to compare

Minor Changes

  • Feat: Adds support for React 18: #769

Patches

  • Fix broken links in Thunk docs: #756
  • Update computed property docs: #735
  • Allow unstable_effectOn effect to return void: #730
  • Typo: #749
  • Changed from connect to Hooks ⚡: #652

Credits

Huge thanks to @jmyrland, @avramch, @no-stack-dub-sack, @yethranayeh, and @troglodytto for helping!

v5.0.5

15 Sep 13:43
Compare
Choose a tag to compare

Patches

  • Chore: Updates dependencies: 2fab9a2
  • Chore: Upgrades dependencies: c63555c
  • Optimize computed props: #764

Credits

Huge thanks to @jmyrland for helping!

v5.0.4

13 Oct 14:29
Compare
Choose a tag to compare

Patches

  • Updates dependencies: ea98660
  • Upgrades dependencies, removes previously broken TS comment: 444396f
  • Fixes docs per PR #558: 8640563
  • Upgrades dependencies: 8fce26b
  • UseLocalStorage: Recreate store if dependencies change: #685
  • Bump ws from 7.3.1 to 7.5.3: #690
  • Bump browserslist from 4.16.1 to 4.16.8: #691
  • Bump elliptic from 6.5.3 to 6.5.4: #692
  • Remove fast-memoize from docs: #663
  • Fix the typo in the action example: #650
  • Fixing broken link: #643
  • Minor name fix in Thunk docs: #635
  • Upgrades dev deps: f24ab25
  • Upgrades dependencies: 68fdfff

Credits

Huge thanks to @fbieler, @mfbx9da4, @yakovlevyuri, @w3bdesign, and @GavinRay97 for helping!