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_by
anddistinct
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
Literal
field 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_text
for Field so that is usesText
type in the database instead ofVarchar
Fix
- fix
related_field
parse error
Full Changelog: v0.1.2...v0.1.3
v0.1.2
Feature:
- expose
Database
'smetadata
andengine
for migration
Fix:
- Occasional exception behavior in
asyncio.gather
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Feature
xx_or_create
addfetch_related
arg, same tofilter().prefetch_related
xx_or_create
now 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