All notable changes to @dharayush7/fireclass-js. Adheres to
Keep a Changelog and Semantic Versioning.
- Rebuilt the README from the website Express setup, Node API reference, Express CRUD guide, and migration guide.
- Added complete Firebase Admin initialization, app-bound Fireclass setup, model/CRUD/query examples, AdminAdapter capabilities, and exact Express error middleware responses.
- Documented direct SDK imports and removed npm, license, and type shield badges.
- Expanded npm discovery metadata for Node.js, Express, Firebase Admin, Firestore ODM, serverless, typed CRUD, queries, and error middleware.
- Linked the npm homepage directly to the Node/Express API and included release documentation in the package contents.
- No runtime API or behavior changed in this release.
First public release of the Fireclass suite's firebase-admin runtime, replacing
the deprecated @dharayush7/fireclass (v0.2.12). Depends on
@dharayush7/fireclass-core ^2.0.8.
createFireclass(firestore)— binds Fireclass to afirebase-adminFirestore and returns{ BaseModel, adapter }.AdminAdapter— implements the coreFirestoreAdapteroverfirebase-admin, includingbatchDelete(500-write batches) and aggregatecount.fireclassErrorHandler()— Express error middleware mapping Fireclass errors to JSON responses (noexpressdependency).getBaseModel(firestore)— drop-in alias for the deprecated package.- Re-exports the full
@dharayush7/fireclass-coreAPI (decorators, query types, errors,defineBaseModel). examples/express-api— a runnable Express + Firestore CRUD API.- 19 tests, including an end-to-end suite that drives the core model API through
the real
AdminAdapteragainst an in-memory firebase-admin mock (no emulator).
- Realtime subscriptions are intentionally not provided here; they belong to the
client-SDK package (
fireclass-react). - Query operator is
equals(the deprecated docs incorrectly showedequal).