Releases: PlexusJS/plexus
Releases · PlexusJS/plexus
v1.4.0 - Reactive History!
v1.4.0
What's Changed
Features
Tweaks
- [Watchable]
.lastValue
prop is now null by default - [Group] add size on group
- [Systems] Improved deep clone logic
- [Watchable] Ensured value always returns a cloned value (this means editing something returned from
.value
will not cause odd side effects) - [Collection] Removed provisional data from collections .keys and
value
getters` - [Data] Improvements to collection data logic
- [Selector] History functions are now proxies to data
- [State] Improvements to persist logic
- [Storage] Improvements to storage logic
- [Dev] Lerna upgrade
Bug Fixes
- [React] Fix for missing dep when using React 17
- [Collection] A new optional config property: `unfoundKeyReturnsUndefined
- [State] Fix for state persist not working
- [State] Fix for bug causing persist to occasionally crash your app
- [Selector] Fixed a memory leak when watching a selector
- [Watchable] Fix for infinite loading bug
Thanks for helping with testing & development @itsRems
Full Changelog: v1.3.4...v1.4.0
v1.3.5
What's Changed
Features
Tweaks
Bug Fixes
- [Selector] Fixed a memory leak when watching a selector
- [React] Fix for missing dep when using React 17
Thanks for helping with testing @itsRems
Full Changelog: v1.3.4...v1.3.5
v1.3.4
What's Changed
CRITICAL PATCHES
OTHER UPDATES
- REACT(useDeposit): onEdit hook now works properly
- API: send empty json object as body on delete request
- REACT(useDeposit): Fix for empty init data causing setting to not occur due to blank snapshot
- DEV: Added specific preid to all publish scripts
- TESTS: Improved some test cases
- REACT: additional logs for concurent watch
- INSTANCE: Added onReady method
- NEXT: Started mapping out new structure. (May not need to set a name explicitly)
Full Changelog: v1.3.3...v1.3.4
v1.3.0
What's Changed
- CORE(API): Added hasCookie to api's response object
- Extracting api into it's own extension. API is still exported by core package
- Improvements to plexus/next (still not ready for prime-time)
- TESTING: Switched testing engine from jest to vitest
- INSTANCE: Improved settings override
- REACT: Corrected an infinite reference issue caused by concurrent rendering support
- DATA: Collection data now gets hoisted separately from states
- COMPUTED: Computed instances now work properly with react hook
- REACT: Now using it's own plexus instance; logs via this instance as well
- INSTANCE: New instances (separate from default) will have their own runtime
- CORE: Various reactivity & race condition fixes
- STATE: Fix for state getWatchers returning all watchers in the runtime (lol how the heck did I push that to live 😅)
- WATCHABLE: Watchable watch method now accepts a from argument
- COMPUTED: Improvments to computed concurtent dependancy watching
- WATCHABLE: set function now clones the incoming value
- REACT(usePlexus): Single Argument Syntax no longer throws an infinite loop
- COLLECTION: New methods for data, lastValue, initialValue\
- API: Added a new config function onResponse
- SOLID: First version of the solidjs extension (created by @itsRems)
Full Changelog: v1.2.0...v1.3.0
v1.2.0
What's Changed
- React Concurrency support
- New React hook
useDeposit
which can be used to keep track of changes to an object. Can be used in tandem with any object - New global error handler
- Collection now has a property called
lastUpdatedKey
which can be used to see the last updated key in the collection - Groups can now be cleared using the
clear
method - State Instance's
set
method now returnsthis
which allows for chaining (this one will be lots of fun to use!) - A new package called @plexusjs/utils that has a handful of useful functions
usePlexusState()
A hook which mimics react useState, but uses plexus object and is globally reactive- Bug fixes and performance improvements
Full Changelog: v1.1.0...v1.2.0
Preactions are here!
This release includes preactions as well as a heap of bug fixes.
v1.0.6
Full Changelog: v1.0.5...v1.0.6