Releases: CMHopeSunshine/cherry-orm
Releases · CMHopeSunshine/cherry-orm
v1.0.0
What's Changed
Beta Version for Pydantic V2 support!
- 💥 Support Pydantic v2, remove v1 support
- 💥 Remove Python 3.8 support
- ✨ Support
group_byanddistinct
Full Changelog: v0.3.0...v1.0.0
v0.3.0
Feature
- (optional) use
jsonb(such as dict) andjsonb[](such as list[dict]) type in postgres
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Breaking
- add naming_convention for
Database's metadata
Fix
- fix Enum type priority
Other
- upgrade sqlalchemy version
- use ruff formatter
Full Changelog: v0.1.6...v0.2.0
v0.1.6
Fix
- bool type was defined as int in the database
Other
- add English readme
Full Changelog: v0.1.5...v0.1.6
v0.1.5
Fix
- fix
Literalfield type error - fix relationship field query error when value is not a
cherry.Model
Full Changelog: v0.1.4...v0.1.5
v0.1.4
Feature
- add more json type support, such as
dict[str, str],list[int],pydantic.BaseModel - support json field query
Full Changelog: v0.1.3...v0.1.4
v0.1.3
Feature
- add
long_textfor Field so that is usesTexttype in the database instead ofVarchar
Fix
- fix
related_fieldparse error
Full Changelog: v0.1.2...v0.1.3
v0.1.2
Feature:
- expose
Database'smetadataandenginefor migration
Fix:
- Occasional exception behavior in
asyncio.gather
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Feature
xx_or_createaddfetch_relatedarg, same tofilter().prefetch_relatedxx_or_createnow returntuple[model, bool]. If created, the second value vill beFalse, otherwiseTrue
Fix
- Model inherited from an abstract model is no longer abstract
- fixed some query expression errors
Full Changelog: v0.1.0...v0.1.1
v0.1.0
🎉Congratulation
文档:https://cherry.cherishmoon.fun/
Full Changelog: https://github.com/CMHopeSunshine/cherry-orm/commits