All notable changes to the project will be documented in this file.
2.0.0 (19-02-2024)
-
Introducing configuration handling:
- Added
config
module for centralized configuration management - Moved creating initial DB files from
index.js
to separate file (setupDatabase.js
) - Created operations (
loadFile.js
andsaveFile.js
) to handle file operations
- Added
-
Enhanced documentation and typings:
- Improved JSDoc comments for better code documentation
- Updated TypeScript declaration file (
index.d.ts
) to reflect accurate types and structure of theNyaDB
class and its methods
-
Updated
README
with migration guide:- Added instructions for upgrading from version
1.x
to2.0
- Included information about method renaming and deprecation notices
- Added instructions for upgrading from version
- Removed
createDatabase
,deleteDatabase
,setDatabase
,getDatabase
, andgetDatabaseList
functions as they were no longer needed and were deprecated in version 1.5.0 - Removed dependency on json-format
1.6.0 (11-07-2023)
- fix: CVE-2023-26115
- by replacing word-warp unmaintained repo with word-warp fork by aashutoshrathi
1.5.1 (11-06-2023)
- Changed author url to decaded.dev in package.json
1.5.0 (25-01-2023)
- Updated database function names:
- .createDatabase() -> .create()
- .deleteDatabase() -> .delete()
- .setDatabase() -> .set()
- .getDatabase() -> .get()
- .getDatabaseList() -> .getList()
- Updated README
- Added deprecation warnings
1.4.2 (29-12-2022)
1.4.1 (29-12-2022)
- Added CHANGELOG (this file)
1.4.0 (28-12-2022)
- Updated README
- Removed internal cache
1.3.0 (27-12-2022)
- Updated README
- Removed unused function
- Added formatting while saving database to file
1.2.0 (11-11-2022)
- Merged pull request
- Added looped synchronized scheduler
- Internal cache became depreciated
- Added looped synchronized scheduler
1.1.0 (04-08-2022)
- Added typings
1.0.6 (31-07-2022)
- Increased internal cache refresh from 150ms to 500ms
1.0.5 (29-07-2022)
- First public release