Releases: Alwatr/nitrobase
v7.1.1
7.1.1 (2024-09-24)
Bug Fixes
Miscellaneous Chores
- Delete old LICENSE (0ac4a06) by @alimd
- deps-dev: bump the development-dependencies group across 1 directory with 3 updates (122251c) by @dependabot[bot]
- deps: bump github/codeql-action in the github-actions group (840b91b) by @dependabot[bot]
- deps: bump the alwatr-dependencies group with 9 updates (2a94694) by @dependabot[bot]
- new LICENSE (8b002a4) by @alimd
Dependencies update
v7.1.0
7.1.0 (2024-09-08)
Features
- engine: add @alwatr/store-helper package (66bca93) by @alimd
- helper: add @alwatr/store-helper package (158377c) by @alimd
- reference: add @alwatr/store-helper package (a9077ae) by @alimd
Miscellaneous Chores
- deps-dev: bump the development-dependencies group with 2 updates (f6d8374) by @dependabot[bot]
- deps: bump github/codeql-action in the github-actions group (38c8fea) by @dependabot[bot]
- vscode: update settings.json (ad90759) by @alimd
Dependencies update
v7.0.0
7.0.0 (2024-09-02)
⚠ BREAKING CHANGES
- The
StoreFileMeta
interface has been updated to include theextra
property. Developers should update their code to handle the new property. - The ver property has been removed from the StoreFileMeta interface. Developers should update their code to remove any references to the ver property.
- The
update
method has been replaced withreplaceData
in theDocumentReference
class. Developers should update their code to use the new method name. - The
updateMetadata_
method has been replaced withrefreshMetadata_
in theCollectionReference
class. Developers should update their code to use the new method name. - The
updatePartial
method has been replaced withmergeItemData
in theCollectionReference
class. Developers should update their code to use the new method name. update
method in CollectionReference has been replaced withreplaceItemData
remove
renamed toremoveItem
in CollectionReferenceappend
renamed toappendItem
in CollectionReferenceadd
renamed toaddItem
in CollectionReferencegetItem
renamed togetItemData
in CollectionReference- exists renamed to itemExists in CollectionReference
- version in metadata removed
Features
- Add
extra
meta forcollection-reference.ts
anddocument-reference.ts
with migrate old versions (8182369) by @alimd - add
extra
property to StoreFileMeta (5cdb573) by @alimd - Add Alwatr Store package (a77a71b) by @alimd
- Add getStoreList method to AlwatrStore (25ace2a) by @alimd
- Add methods for managing extra metadata in DocumentReference (5c0ae83) by @alimd
- Add migrateName property to StoreFileStat (f5b4f39) by @alimd
- Update type imports in alwatr-store.ts (68064c4) by @alimd
Bug Fixes
- CollectionReference: logger issues (9660fb2) by @alimd
- engine: set the correct names (076fa3e) by @mohammadhonarvar
- packages/engine: apply some new name of methods (e3d5712) by @mohammadhonarvar
- reference: set the correct names (e55300e) by @mohammadhonarvar
- store/demo: compatible with new apis (a4d4d03) by @alimd
Code Refactoring
- Add methods for managing extra metadata in CollectionReference (eed99f5) by @alimd
- engine: use
hasItem
(e17afa7) by @mohammadhonarvar - move all demo from engine to srore package (e34fc49) by @alimd
- reference: rename
itemExists
tohasItem
(f49e776) by @mohammadhonarvar - Refresh metadata in CollectionReference when updating or refreshing items (b7108c7) by @alimd
- Refresh metadata in DocumentReference when updating (50d3ea8) by @alimd
- Remove unused "ALWATR_DEBUG" environment variable from build script (26e7642) by @alimd
- remove ver in metadata and Update file format version to 3 in CollectionReference and DocumentReference (4bf146e) by @alimd
- Remove ver property from StoreFileMeta (3c27903) by @alimd
- Rename add method to addItem in CollectionReference (60a859b) by @alimd
- Rename append method to appendItem in CollectionReference (949f261) by @alimd
- Rename exists method to itemExists in CollectionReference (7555803) by @alimd
- Rename getItem method to getItemData in CollectionReference (e592ae5) by @alimd
- Rename remove method to removeItem in CollectionReference (6238cae) by @alimd
- Rename update method to replaceData in DocumentReference (367257c) by @alimd
- Rename updatePartial method to mergeData in DocumentReference (cbc1194) by @alimd
- Rename updatePartial method to mergeItemData in CollectionReference (e091900) by @alimd
- Replace id_ with documentId and collectionId in AlwatrStore (e58d0fd) by @alimd
- Replace update method with replaceItemData in CollectionReference (45a9309) by @alimd
- Update migrate process in CollectionReference and DocumentReference (5a25ae2) by @alimd
- Update type imports in alwatr-store.ts (d6f02ad) by @alimd
- Update type imports in alwatr-store.ts (b6a4aba) by @alimd
- Update type imports in alwatr-store.ts (274d234) by @alimd
- Update validateContext__ method in CollectionReference and DocumentReference (4dfee95) by @alimd
- Update validateContext__ method in CollectionReference and DocumentReference (bb0ae6a) by @alimd
Miscellaneous Chores
- lerna: prepare to graduate release (ad73c79) by @
Dependencies update
- update (6411ff7) by @
v7.0.0-beta.1
v7.0.0-beta.0
7.0.0-beta.0 (2024-08-31)
⚠ BREAKING CHANGES
-
The
update
method in theDocumentReference
not available anymore. useupdatePartial
instead. -
DocumentReference: The
set
method in theDocumentReference
not available anymore. useupdate
instead. -
DocumentReference: The
meta
method in theDocumentReference
not available anymore. usegetStoreMetadata
instead. -
DocumentReference: The
get
method in theDocumentReference
not available anymore. usegetData
instead. -
CollectionReference: The
updateMeta_
method in theCollectionReference
not available anymore. useupdateMetadata_
instead. -
CollectionReference: The
update
method in theCollectionReference
not available anymore. useupdatePartial
instead. -
CollectionReference: The
set
method in theCollectionReference
not available anymore. useupdate
instead. -
The
delete
method in theCollectionReference
not available anymore. useremove
instead. -
The
create
method in theCollectionReference
not available anymore. useadd
instead. -
The
access_
method in theCollectionReference
not available anymore. usegetItemContext_
instead. -
CollectionReference: The
metaItem
method in theCollectionReference
not available anymore. usegetItemMetadata
instead. -
The
meta
method in theCollectionReference
not available anymore. usegetStoreMetadata
instead. -
The
deleteFile
method has been renamed toremove
. Update your code accordingly. -
The
doc
andcollection
methods have been deprecated and should no longer be used. Instead, use theopenDocument
andopenCollection
methods.
Features
- Add newDocument and newCollection methods to AlwatrStore (363f820) by @alimd
- Open document and collection with given id in AlwatrStore (5041a20) by @alimd
- Rename
meta
method togetStoreMetadata
in CollectionReference (44ee78e) by @alimd
Bug Fixes
- alwatr-store: logger methods name issue (4798d15) by @alimd
- logger method name in CollectionReference and DocumentReference (f84f288) by @alimd
Code Refactoring
- AlwatrStore: compatible with new api (42c30f2) by @alimd
- CollectionReference: Rename
item__
method parameter fromid
toitemId
(c0cde18) by @alimd - CollectionReference: Rename
metaItem
method togetItemMetadata
in CollectionReference (3c9cfdb) by @alimd - CollectionReference: Rename
set
method toupdate
in CollectionReference (258d739) by @alimd - CollectionReference: Rename
update
method toupdatePartial
in CollectionReference (d8a438a) by @alimd - CollectionReference: Rename
updateMeta_
method toupdateMetadata_
in CollectionReference (815fd1d) by @alimd - demo: compatible with new api (a76cc74) by @alimd
- DocumentReference: Rename
get
method togetData
in DocumentReference (0c3c37e) by @alimd - DocumentReference: Rename
meta
method togetStoreMetadata
in DocumentReference (3bed92f) by @alimd - DocumentReference: Rename
set
method toupdate
in DocumentReference (5467a66) by @alimd - Remove unnecessary debug flag from yarn script (7f21798) by @alimd
- Rename
access_
method togetItemContext_
(76dd262) by @alimd - Rename
create
method toadd
in CollectionReference (0a0ee28) by @alimd - Rename
delete
method toremove
in CollectionReference (017b315) by @alimd - rename
deleteFile
method toremove
(7356079) by @alimd - Rename
get
method togetItem
in CollectionReference (846ccff) by @alimd - Rename
update
method toupdatePartial
in DocumentReference (c16d164) by @alimd - update parameter name in CollectionReference.exists method (bb06487) by @alimd
- update StoreFileStat type to make extension property optional (e75a186) by @alimd
- updates the
storeChanged__
method name tostoreChanged_
. (8fd35fa) by @alimd
Miscellaneous Chores
Dependencies update
Co-authored-by: @mohammadhonarvar
v6.2.1
6.2.1 (2024-08-31)
Miscellaneous Chores
- deps-dev: bump the development-dependencies group across 1 directory with 13 updates (7e6aa11) by @dependabot[bot]
- deps: bump micromatch from 4.0.7 to 4.0.8 (20c192e) by @dependabot[bot]
- deps: bump the alwatr-dependencies group with 10 updates (faf1fc1) by @dependabot[bot]
- deps: bump the alwatr-dependencies group with 9 updates (64ac4f2) by @dependabot[bot]
- deps: bump the github-actions group across 1 directory with 7 updates (b80580d) by @dependabot[bot]
Dependencies update
v6.2.0
6.2.0 (2024-07-03)
Features
- Add freeze property to CollectionReference and DocumentReference (af1d7e4) by @alimd
- Add freeze property to CollectionReference and DocumentReference (beeb378) by @alimd
- Add saveImmediate method to CollectionReference and DocumentReference (aa5ab87) by @alimd
- schemaVer: log schema version changes (6a5bc90) by @alimd
Bug Fixes
v6.1.0
6.1.0 (2024-07-03)
Features
Dependencies update
- bump the development-dependencies (546ca1b) by @alimd
- bump braces from 3.0.2 to 3.0.3 (29ed0af) by @dependabot[bot]
- bump the github-actions group across 1 directory with 5 updates (3bc05c8) by @dependabot[bot]
v6.0.5
6.0.5 (2024-05-12)
Bug Fixes
- Errors may be hidden by exit-hook when it occurs.
Miscellaneous Chores
- deps-dev: bump the development-dependencies group across 1 directory with 3 updates (f97552d) by @dependabot[bot]
- deps: bump the alwatr-dependencies group with 8 updates (1aa95ca) by @dependabot[bot]
- deps: bump the github-actions group across 1 directory with 3 updates (e34096c) by @dependabot[bot]
- lerna: update (ab51222) by @
Dependencies update
- upd (8529591) by @
v6.0.4
6.0.4 (2024-04-25)
Bug Fixes
Miscellaneous Chores
- deps: bump alwatr/nginx-json in /packages/nginx (ae24e49) by @dependabot[bot]
- deps: bump the github-actions group across 1 directory with 5 updates (b051cd5) by @dependabot[bot]
- nginx: update labels (4b15d23) by @alimd