Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 4.16 KB

CHANGELOG.md

File metadata and controls

80 lines (56 loc) · 4.16 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.1 (2025-01-23)

1.0.0 (2025-01-23)

Features

  • add initial implementation of the IndexedDB wrapper class (d609372)
  • add verifyParameters function to validate constructor parameters (0d5a15e)
  • implement createTransaction function for IndexedDB operations (a6cec26)
  • implement Reign class for IndexedDB operations with CRUD methods (a865dc8)
  • support multiple store initialization #2 (8539949)
  • update Reign class to support multiple store names (9b60136)

Bug Fixes

  • update parameter verification to accept an array of store names (3392fd7)
  • update store names (40ea500)

1.1.0 (2025-01-23)

Features

  • add initial implementation of the IndexedDB wrapper class (d609372)
  • add verifyParameters function to validate constructor parameters (0d5a15e)
  • implement createTransaction function for IndexedDB operations (a6cec26)
  • implement Reign class for IndexedDB operations with CRUD methods (a865dc8)
  • support multiple store initialization #2 (8539949)
  • update Reign class to support multiple store names (9b60136)

Bug Fixes

  • update parameter verification to accept an array of store names (3392fd7)
  • update store names (40ea500)

794ac12 (docs: update CHANGELOG to reflect recent feature additions and bug fixes)

[1.0.0] - 2024-01-23

Added

  • Initial release of the Reign IndexedDB management library
  • Core Reign class for simplified IndexedDB operations
  • Comprehensive method support for database interactions:
    • init(): Initialize database connection
    • update(): Add or update records in object stores
    • read(): Retrieve all records from an object store
    • get(): Fetch a specific record by ID
    • delete(): Remove a record by ID

Features

  • Flexible database and object store configuration
  • Support for multiple object stores in a single database
  • Automatic object store creation during database initialization
  • Promise-based asynchronous operations
  • Built-in parameter verification
  • Error handling for database interactions

Dependencies

  • Utility modules:
    • verifyParameters: Validate constructor input
    • createTransaction: Manage database transactions

Design Principles

  • Simplified IndexedDB API
  • Clean and intuitive method signatures
  • Consistent error handling
  • Modular and reusable design

Limitations

  • Requires modern browser support for IndexedDB
  • Primarily designed for client-side web applications
  • Basic CRUD operations (more advanced querying not included)