Releases: fed135/ha-store
Releases · fed135/ha-store
v5.0.0
Maintenance
- Typescript source rewrite
- Modernized toolchain (linter, testing, building)
- Added code examples
- Removed .npmignore in favour of package.json
files(safer) - Added prepublish build script and husky for pre-commit lint
Minor changes
- Removed deferred event logger for more accurate tracing
- Added common resolvers submodule
Breaking changes
- Changed HAStore constructor signature to be more concise and explicit
- Cache: Now
cachesis a list of ready-to-use stores and will no longer hydrate as in-memory by default. - Batch: Presence of a truthy value is now the indicator for batching being enabled.
- Cache: Now
- Moved common internal submodules to be accessible via the main import (a side benefit of having to bundle the final dist)
- The new internal cache modules mean that ha-store-redis will now be deprecated.
v4.0.0
New features
- Supports multiple stores (some local, some remote) #122
- Fixed a number of bugs, like deleting an entire store was broken (
store.clear('*')) - Updated algorithm to account to fix situations where remote store queries happen before coalescing, resulting in wasted trips to external databases #121
Breaking changes
- Need to update
ha-store-redisto 3.x - New interface to specify settings, making configuration more explicit
Instead of:
undefined => enabled by default
null => disabled
{ ... } => enabled with config
We have:
{
enabled: <boolean>
...
}
v3.2.0
v3.1.0
v3.0.0
Breaking Changes!
- Changes the Multi-item query interface, separated from the single-item one. Multi-syntax
getManyuses itemized Promise.allSettled formatted responses. - Changed API wording
batch.ticksetting becomesbatch.delaybatch.maxsetting becomesbatch.limituniqueParamssetting becomesdelimiter
- Removed custom response parser, which felt redundant. Now only itemized objects will be accepted
Other changes
- Fixed TS definitions
- Updated libraries
- Updated linting
- Added Github actions to replace Travis
Non-magic Newt
- Uses a native TLRU implementation instead of the micro-caching implementation
Featherlight Fennec
- Lower memory consumption
- Removed circuit-breaking features
Trialing Tang
v1.12.2 v1.12.2
Bugless Bandicoot
v1.7.1 v1.7.1
Stable Saola
Merge pull request #30 from fed135/next [Release] v1.5.0