+
Skip to content

Releases: sopherapps/nqlstore

v0.2.0

07 Jun 10:59
v0.2.0
c8df607
Compare
Choose a tag to compare

What's Changed

Changed

  • Allowed EmbeddedJsonModel's to also contain EmbeddedJsonModel if there is need.
  • Allowed extra key-word args to be passed to the SQLModel()
  • Made the defining of fields by calling Field() or Relationship() 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 the SQLModel() function to add link models used as through tables

Full Changelog: v0.1.6...v0.2.0

v0.1.4

15 Feb 20:16
v0.1.4
5f7b32c
Compare
Choose a tag to compare

What's Changed

Fixed

  • Enabled recursive serialization of child SQL models when model_dump() is called.

Full Changelog: v0.1.3...v0.1.4

v0.1.3

15 Feb 18:12
v0.1.3
ccc6bd5
Compare
Choose a tag to compare

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

15 Feb 03:20
v0.1.2
5d6cd3e
Compare
Choose a tag to compare

What's Changed

Added

  • Added an id field to the Redis models to shadow the pk 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 the MongoModel() and EmbeddedModel() functions

Full Changelog: v0.1.1...v0.1.2

v0.1.1

15 Feb 03:19
v0.1.1
7d67b14
Compare
Choose a tag to compare

What's Changed

  • Fix typo on README.md by @Tinitto in #12
  • Improve type annotations of created Models to include multi-inheritance by @Tinitto in #13

Full Changelog: v0.1.0...v0.1.1

v0.1.0

13 Feb 20:49
v0.1.0
b030bdb
Compare
Choose a tag to compare

What's Changed

Added

  • Added Mongo-like Dot notation for querying SQL and redis

Changed

  • Added the query key-word parameter to the find, update, and delete for the mongo implementation
    so that it is similar to the other interfaces
  • Added the embedded_models key-word argument on the Model initializers for redis and mongodb
  • Added the relationships key-word argument to the Model initializers for SQL

Full Changelog: v0.0.3...v0.1.0

v0.0.3

06 Feb 22:49
v0.0.3
982b6e5
Compare
Choose a tag to compare

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 or redis or mongo extras are installed.
    • Fixed Type annotations for SQLModel, MongoModel, JsonModel, HashModel and EmbeddedJsonModel
    • Changed Github actions to run tests for each extra plus the test extra i.e. [sql,test], [redis,test] etc.
  • Bump to v0.0.3 by @Tinitto in #8

Full Changelog: v0.0.2...v0.0.3

v0.0.2

06 Feb 17:36
v0.0.2
ea1d14c
Compare
Choose a tag to compare

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

06 Feb 17:35
v0.0.1
7fc05a6
Compare
Choose a tag to compare

What's Changed

  • Enhancement/uniform querying format by @Tinitto in #1

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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载