Releases: rorm-orm/rorm
v0.9.4
v0.9.0
LIKE
- Implemented
FieldEqfor any single columnOption<T> - Implemented
FieldLikeforStringandMaxStr - Implemented
FieldLikefor any single columnOption<T> - Added
contains,starts_withandends_withusinglike
postgres-only
- Implemented ILIKE
- Added network comparisons
Util functions for types
- Added
ForeignModelByField::query_as - Added
ForeignModelByField::as_condition - Added
ForeignModelByField::into_condition - Added
MaxStr::from_static - Added
MaxStr::to_owned
Misc
- Changed return type of
DynamicCollectionconstructors - Enforced column names to be at most 63 bytes
- Deprecated
impl_FieldEq!macro forSimpleFieldEqtrait - Fixed / improved some field lints
v0.7.0
-
replaced crud macros with nearly identical functions
-
removed
FieldAccess -
changed
update's api to be consistent withdelete's -
implemented
FieldTypeandFieldEqforurl::Url -
added
MaxStrfield type -
added shorter syntax for
Model::F.field:Model.field -
implemented condition collections for
Option<impl Condition> -
ForeignModelByFielddoes not cache a model instance anymore -
is_noneandis_someconditions onOption<T>fields -
implementation of derive macros is available as normal function
-
implemented
ConditiononArc<dyn Condition>and&impl Condition -
relaxed / fixed lifetimes
-
improved error spans in or! and and!
-
fixed names of join aliases
-
changed name generation for join and column aliases
-
redesigned associated type
Columnson traitFieldType -
replace field modifiers with const fns
-
removed
AsDbType -
removed support for async-std
-
changed error type returned by Decoder methods
Published v0.6.4
- Fixed linkme
v0.6.3
Full Changelog: v0.6.1...v0.6.3
Skipping a patch due to publishing without pulling updates, shame on me
Published v0.6.1
- Fixed incorrect clone implementation
Published v0.6.0
- `insert!` - `.bulk()` accepts iterator over references or instances - `query!` - Select a foreign model as an entire patch using `as` keyword - sealed traits are actually sealed now - removed ouroboros from dependencies - added `get_or_query` and `take_or_query` helper functions for `BackRef` - updated `sqlx` to v0.7 - replaced `IntoSingleValue` with `FieldEq` and others - added support for `time`
Release v0.5.3
- Disabled default features of rorm-cli to allow building with another runtime than tokio