From ff79ebfee21131ea213759132fc24ef71c190e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Rebours?= Date: Wed, 10 Jan 2024 11:38:37 +0100 Subject: [PATCH] add changelog --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a696c7e..9563d47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixed - Explicitly import `buffer` [#34](https://github.com/seald/nedb/pull/34). - Fix `Cursor`'s typings [#45](https://github.com/seald/nedb/issues/45) +- Removes unnecessary uses of the native `path` module for the browser and React-Native version by replacing the internal `Persistance.ensureDirectoryExistsAsync` static method with `Persistance.ensureParentDirectoryExistsAsync` so that any `path` functions are used only in Node.js where it is necessary, as it is not necessary for the browser and React-Native. ## [4.0.3] - 2023-12-13 ### Fixed @@ -76,7 +77,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - `Persistence#persistCachedDatabase` replaced with `Persistence#persistCachedDatabaseAsync`; - `Persistence#persistNewState` replaced with `Persistence#persistNewStateAsync`; - `Persistence#treatRawStream` replaced with `Persistence#treatRawStreamAsync`; - - `Persistence.ensureDirectoryExists` replaced with `Persistence#ensureDirectoryExistsAsync`; + - `Persistence.ensureDirectoryExists` replaced with `Persistence.ensureDirectoryExistsAsync`; - Cursor: - `Cursor#_exec` replaced with `Cursor#_execAsync`; - `Cursor#project` replaced with `Cursor#_project`;