Releases: sopherapps/nqlstore
Releases · sopherapps/nqlstore
v0.2.0
What's Changed
- Hotfix/many to many updates by @Tinitto in #22
- Enhancement/blog example by @Tinitto in #23
- Bump to v0.2.0 by @Tinitto in #24
Changed
- Allowed
EmbeddedJsonModel
's to also containEmbeddedJsonModel
if there is need. - Allowed extra key-word args to be passed to the
SQLModel()
- Made the defining of fields by calling
Field()
orRelationship()
mandatory.
This is because SQLModel's require this, and fail if this is not the case. - Add support for "Many-to-One" relationships in SQL
insert()
implementation - Enabled nested updates in SQL
Fixed
- Fixed many-to-many relationships updates
Added
- Added the examples/blog example
- Add the
link_model
parameter to theSQLModel()
function to add link models used as through tables
Full Changelog: v0.1.6...v0.2.0
v0.1.4
v0.1.3
What's Changed
Added
- Added ability to insert children of parent models as though they were embedded in the parent
in SQL the SQL implementation. (This makes it possible to simulate embeddedness) - Added ability to replace children of SQL parent models when updating the parent
Full Changelog: v0.1.2...v0.1.3
v0.1.2
What's Changed
Added
- Added an
id
field to the Redis models to shadow thepk
field
Changed
- Changed the module name of the Model classes created to equal the module they are called from
Fixed
- Fixed types for the
embedded_models
parameter of theMongoModel()
andEmbeddedModel()
functions
Full Changelog: v0.1.1...v0.1.2
v0.1.1
v0.1.0
What's Changed
- Update TODO's on README by @Tinitto in #9
- Enhancement/dot notation by @Tinitto in #10
- Bump to v0.1.0 by @Tinitto in #11
Added
- Added Mongo-like Dot notation for querying SQL and redis
Changed
- Added the
query
key-word parameter to thefind
,update
, anddelete
for the mongo implementation
so that it is similar to the other interfaces - Added the
embedded_models
key-word argument on theModel
initializers for redis and mongodb - Added the
relationships
key-word argument to theModel
initializers for SQL
Full Changelog: v0.0.3...v0.1.0
v0.0.3
What's Changed
- Fix typo on README by @Tinitto in #5
- Fix typo on how to install by @Tinitto in #6
- Hotfix/model type annotations by @Tinitto in #7
- Fixed import errors when only
sql
orredis
ormongo
extras are installed. - Fixed Type annotations for
SQLModel
,MongoModel
,JsonModel
,HashModel
andEmbeddedJsonModel
- Changed Github actions to run tests for each extra plus the
test
extra i.e.[sql,test]
,[redis,test]
etc.
- Fixed import errors when only
- Bump to v0.0.3 by @Tinitto in #8
Full Changelog: v0.0.2...v0.0.3
v0.0.2
What's Changed
- Allow update dicts without operators in mongo update implementation by @Tinitto in #2
- Enhancement/single schema many stores by @Tinitto in #3
- Bump to v0.0.2 by @Tinitto in #4
Note: This release was yanked because the package was unusable when only one of the extras sql
, redis
or mongo
was installed. It is kept here only for historical reasons.
Full Changelog: v0.0.1...v0.0.2
v0.0.1
What's Changed
Note: This release was yanked because the package was unusable when only one of the extras sql
, redis
or mongo
was installed. It is kept here only for historical reasons.
Full Changelog: https://github.com/sopherapps/nqlstore/commits/v0.0.1