Releases: Artmann/esix
Releases · Artmann/esix
v5.4.0
v5.3.0
v5.0.0
What's Changed
- feat: Improve the types for BaseModel.create.
- feat: Export the connection handler.
- refactor: Clean up the connection handler.
- feat: Simplify the pluck function. It now only accepts one key.
- chore: Update the GitHub action names.
- feat: Include the models default values when inserting it into the database.
v4.0.0
v3.2.0
3.1.0
v3.0.2
v3.0.1
v3.0.0
Changed
Breaking: Look for documents using an ObjectId.
IDs in MongoDB can be stored as either strings or Object IDs. This meant that if you created a document
and let Mongo assign an id to it, Esix wouldn't be able to find it as it was only looking for the
hex representation.
With this change, BaseModel.find(id)
will look for documents with either a matching Object id or
a string representation of it.