Skip to content

Releases: CMHopeSunshine/unqdantic

v0.2.0

13 Nov 14:05
Compare
Choose a tag to compare

新特性

  • 支持了 startswithendswith 条件
  • 支持了以 getitem 形式构造查询条件

破坏性变更

  • 移除 EmbededDocument,可直接使用 Pydantic.BaseModel 作为嵌套文档

修复

  • 文档的集合名继承错误问题

Full Changelog: v0.1.2...v0.2.0

v0.1.2

27 Aug 10:41
Compare
Choose a tag to compare

Fix:

  • Collection.filter 在没有结果时错误地返回了 List,已正确修复为 None
  • 修复了某些情况下,数据持久化保存失败的问题
  • 修复 Document.meta.name 可能为None的问题

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

v0.1.1

22 Aug 12:20
Compare
Choose a tag to compare

Feature:

  • Database.init_models后,会将对应dbname赋值给Document.meta

Breaking:

  • 将 Document 的__meta____collection__重命名为metacollection
  • Collection集合名现在默认使用类名的小写形式

Fix:

  • 修复部分typing,以符合Python 3.8版本

Other:

  • 更新 README 示例

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

v0.1.0

21 Aug 13:57
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release