UNPKG

1.45 kBMarkdownView Raw
1# Changelog
2All notable changes to this project will be documented in this file.
3
4The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7## 6.0.2
8### Fixed
9- TypeScript declaration `update` result when `upsert` and `multi` is set to `true`.
10
11## 6.0.1
12### Updated
13- Class description in the TypeScript declaration file.
14
15## 6.0.0
16### Added
17- `Cursor.project` method.
18
19### Changed
20- Major TypeScript declaration overhaul.
21
22## 5.0.1 - 5.0.3
23### Fixed
24- Vulnerable dependencies.
25
26### Updated
27- Code style.
28- Some documentation issues.
29
30## 5.0.0
31### Updated
32- Switched from `nedb` to `@seald-io/nedb`, to solve vulnerability issues.
33
34## 4.1.4 - 4.1.6
35### Fixed
36- Vulnerable dependencies.
37
38## 4.1.1 - 4.1.3
39### Updated
40- TypeScript definition file.
41
42## 4.1.0
43### Added
44- `compactionDone` event from nedb's `compaction.done`
45
46## 4.0.4
47### Updated
48- Vulnerable dependencies.
49- Tabs to spaces in code.
50- TypeScript definition file.
51
52## 4.0.1
53### Updated
54- Vulnerable dependencies.
55
56## 4.0.0
57### Updated
58- The [findOne](https://github.com/bajankristof/nedb-promises/blob/master/docs.md#Datastore+findOne) and [count](https://github.com/bajankristof/nedb-promises/blob/master/docs.md#Datastore+count) `Datastore` methods now return a `Cursor` object instead of a `Promise`, allowing users to e.g.: find the most recently updated document, etc.