Releases: ctrlplusb/easy-peasy
v6.0.5
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
Patches
- fix: computed props w/ dependencies on store state by @no-stack-dub-sack in #874
Full Changelog: v6.0.3...v6.0.4
v6.0.3
v6.0.2
Includes updated dependencies as part of routine maintenance.
Patches
Other updates (unrelated to the published package)
- chore: Migrates from
typings-tester
todtslint
by @jmyrland in #848 - chore: Bumps website dependencies by @jmyrland in #858
- chore: Bumps example dependencies by @jmyrland in #857
- chore: Removes
@testing-library/react-hooks
by @jmyrland in #859
Full Changelog: v6.0.1...v6.0.2
v6.0.1
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
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
Minor changes
- fix:
unstable_effectOn
actions for nested model by @no-stack-dub-sack in #812 - feat: Add persisted state migrations by @damassi in #818
Patches
- docs: add CONTRIBUTING.md, update CODE_OF_CONDUCT.md by @no-stack-dub-sack in #801
- fix: allow
Unstable_EffectOn
type to be aliased by @no-stack-dub-sack in #803 - docs: Adds section for state type restrictions by @jmyrland in #811
- fix: types and docs related to action config obj by @no-stack-dub-sack in #810
- feat: React Native Todo by @bahaaador in #824
- Bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in #798
- Bump json5 from 1.0.1 to 1.0.2 by @dependabot in #804
- bugfix: Nextjs SSR issues (fixes #822) by @jmyrland in #823
- feat: Pass full state to persist transforms by @damassi in #816
Credits
- @bahaaador made their first contribution in #824
- @damassi made their first contribution in #818
Full Changelog: v5.2.0...v6.0.0
v5.2.0
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
effectOn
sStateResolver
s: #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
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
v5.0.4
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!