Releases: voznik/ngx-odm
Releases · voznik/ngx-odm
v6.0.1
v6.0.0-dev.0
v6.0.0
v5.3.0
v5.2.0
5.2.0 (2024-02-29)
feat: attachments, query-params plugin & test coverage (#62)
- New Features
- Introduce
query-params-plugin
for collection filtering functionality with query parameters in the URL for persisting collection queries. - Introduce methods in collection service to work with attachments
- Example: show usage of query-params plugin for filtering documents in Todo collection
- Example: Implemented sorting functionality for todo items with ascending and descending options.
- Example: Added a context menu for todo items with options for managing attachments (upload, download, remove).
- Introduce
- Enhancements
withCollectionService
accepts query, subscribes to documents with query (provided or via plugin)withCollectionService
introduces computedcountAll
,countFiltered
for use-cases of displaying entities
- Bug Fixes
- Example: Fixed CouchDB sync
- Refactor
- Reorganized imports and adjusted module setups across various components and services.
- Tests
- Expanded test coverage for
withCollectionService
and new functionalities like managing attachments and handling query parameters.
- Expanded test coverage for
v5.2.0-dev.0
v5.1.0
5.1.0 (2024-01-17)
- update rxdb to latest
- bump Angular peerDep to min 14
- fix rxjs peerDep
- improve change detection by introducing internal ticks with zone/zoneless to eliminate a need for custom async pipe for Angular with RxDB
- fix multi-tabs demo example
// Collection - use angular inject for DI in collection service (min 14)
- improve typings & work with local documents, return json instead doc instance
- persist/restore local doc to/from URL via angular router
- simplify examples with this new local persist
- fix usage of local docs in signals (filter example)
- update Readme, simplify demo file structure
v5.0.0
5.0.0 (2024-01-08)
- upgrade rxdb to v15
- add replication with kinto example - WIP
- add storage options to choose in demo example
- upgrade examples to angular v17
- add
standalone
example withsignals
& also zoneless - add provider functions for standalone applications
- introduce
withCollection
tool to work together with@ngrx/signals
state & entities together wwithEntities
🎆
v4.0.0
4.0.0 (2023-11-02)
Features
- move dump functionality to custom plugin to utilize rxdb hooks
- remove decorator and use plain async on all collection methods, wait with
lastValueFrom
- remove config object, introduce function to create full config
- remove custom pipe, use
ngrxLet
in demo application - remove
pouch*
dependencies, fix tests, add plugin tests - add more tests, fix coverage exclude
- update
rxdb
to v15 beta - add collection info, count, missing bulk methods
- add collection clear method
- remove separate interface for service, add doc strings
- provide utils with namespace, simplify logger utility
- allow logs to be force-enabled on prod
- handle storage "migration" problem, introduced by rxdb
Opening an older RxDB database state with a new major version should throw an error
⚠ BREAKING CHANGES
- minimum
rxdb
version is 15 (beta), see CHANGELOG - minimum
typescript
version is5
, see CHANGELOG - remove
pouch
and related plugins asrxdb
now usesdexie
for IndexedDB-based storage - replication should enabled outside of this library, in feature module - for CouchDB replication, see example app feature module implementation