Skip to content

JsonDbApp v0.1.0 โ€” Minor release

Release date: 2026-02-06

Summary

This release focuses on a comprehensive documentation overhaul and a significant internal refactor to reduce complexity and make the codebase easier to maintain. There are also developer-experience improvements (linting/tooling, test framework migration and CI enhancements) and ongoing DRY/KISS guidance implemented across docs and tests.

This is primarily a maintenance release with no breaking changes to public APIs.

๐Ÿ”—Get copies of the latest scripts here

Breaking Change

Database.collection and Database.getCollection were methods with largely duplicated functionality. The refactor has removed Database.collection in favour of a single canonical getCollection method. If you were using Database.collection directly, please switch to Database.getCollection.


Highlights ๐Ÿ”ง

  • Documentation: Added comprehensive documentation and setup guides, consolidated note/info blocks and improved examples (query/update) and constructor documentation for easier onboarding and reference. ๐Ÿ“š
  • Refactor & Simplicity: Significant internal refactor to reduce complexity, remove redundant files and "de-clutter" the code for easier maintenance and clearer contributor guidance. โœ‚๏ธ
  • Testing: Migrated tests to the Vitest framework, eliminated duplication (DRY) and restructured test suites for maintainability and improved clarity. โœ…
  • Tooling & CI: Added/updated tooling for developer ergonomics โ€” Prettier, Husky, JSDoc plugin, and updated GitHub Actions for documentation deployment. โš™๏ธ
  • Linting: Lowered some lint severities and silenced complexity warnings in core utilities to reduce noise while preserving quality. ๐Ÿงน
  • Guidance: Updated and implemented recommendations from KISS_AND_DRY.md (recommend Validate-driven errors and a canonical getCollection approach). ๐Ÿ’ก

PRs merged

  • 48 โ€” docs: clarify constructor examples

  • 47 โ€” Implement suggestions from KISS_AND_DRY.md

  • 46 โ€” Update KISS_AND_DRY.md to recommend Validate-driven errors and canonical getCollection

  • 45 โ€” Refactor tests to eliminate duplication (DRY)

  • 44 โ€” Silence lint complexity warnings in core utilities

  • 43 โ€” Update DRY testing refactor guidance

  • 41 โ€” De-Clause the code (de-clutter/cleanups)

  • 29 โ€” Refactor tests to Vitest framework and enhance test structure

  • 23 โ€” Lower lint severities, add JSDoc plugin, Prettier, Husky and CI updates


Full changelog

  • 53bef17 โ€” Update GitHub Actions workflow for documentation deployment
  • 069b8e9 โ€” docs: consolidate note and info blocks for improved readability
  • 76dd21e โ€” docs: add comprehensive documentation for JsonDbApp and setup guides
  • f7dbd29 โ€” docs: streamline query and update examples for improved readability
  • 4bb08e4 โ€” Add documentation for JsonDbApp
  • 029bfe4 โ€” docs: remove unnecessary blank lines for improved readability
  • 6aec06f โ€” refactor: consolidate documentation and remove redundant files for improved clarity and maintainability
  • bfd42ce โ€” docs: clarify constructor examples (#48)
  • deb67bc โ€” Implement all suggestions from KISS_AND_DRY.md (#47)
  • 5bcbd8f โ€” Update KISS_AND_DRY.md to recommend Validate-driven errors and canonical getCollection (#46)
  • 1aa0026 โ€” Refactor tests to eliminate duplication (DRY) (#45)
  • 3978dd8 โ€” Silence lint complexity warnings in core utilities (#44)
  • b16b9f6 โ€” Update DRY testing refactor guidance (#43)
  • cded06d โ€” De-Claude the code (#41)
  • 5fbc9e3 โ€” refactor: enhance refactoring guidelines with shared helper identification strategy and extraction steps
  • 2ac9785 โ€” Refactor tests to Vitest framework and enhance test structure (#29)
  • de8348d โ€” Lower lint severities, add JSDoc plugin, Prettier, Husky and CI (#23)

Upgrade notes โš ๏ธ

  • No breaking changes introduced โ€” existing public APIs should continue to work as before. If you use any internal modules directly (not recommended), review the refactor notes and tests for any changed internals.
  • Documentation has been restructured and improved; consult the new docs for setup, examples and contribution guidelines.

If you have any questions about the changes or want to help with follow-up cleanups, please open an issue or a PR.