Skip to content

Releases: rorm-orm/rorm

v0.9.4

19 Nov 08:57
v0.9.4
f9f3705

Choose a tag to compare

More traits for ForeignModel

  • like and ilike
  • Display
  • Ord, PartialOrd
  • Eq, PartialEq
  • Hash

v0.9.0

18 Nov 18:21
75ae5ab

Choose a tag to compare

LIKE

  • Implemented FieldEq for any single column Option<T>
  • Implemented FieldLike for String and MaxStr
  • Implemented FieldLike for any single column Option<T>
  • Added contains, starts_with and ends_with using like

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 DynamicCollection constructors
  • Enforced column names to be at most 63 bytes
  • Deprecated impl_FieldEq! macro for SimpleFieldEq trait
  • Fixed / improved some field lints

v0.7.0

18 Nov 18:18
v0.7.0
4d8af3b

Choose a tag to compare

  • replaced crud macros with nearly identical functions

  • removed FieldAccess

  • changed update's api to be consistent with delete's

  • implemented FieldType and FieldEq for url::Url

  • added MaxStr field type

  • added shorter syntax for Model::F.field: Model.field

  • implemented condition collections for Option<impl Condition>

  • ForeignModelByField does not cache a model instance anymore

  • is_none and is_some conditions on Option<T> fields

  • implementation of derive macros is available as normal function

  • implemented Condition on Arc<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 Columns on trait FieldType

  • replace field modifiers with const fns

  • removed AsDbType

  • removed support for async-std

  • changed error type returned by Decoder methods

Published v0.6.4

29 Dec 13:17
v0.6.4
7e12b24

Choose a tag to compare

- Fixed linkme

v0.6.3

11 Sep 14:43
v0.6.3
19a5836

Choose a tag to compare

Full Changelog: v0.6.1...v0.6.3

Skipping a patch due to publishing without pulling updates, shame on me

Published v0.6.1

08 Sep 20:21
v0.6.1
4fd7582

Choose a tag to compare

- Fixed incorrect clone implementation

Published v0.6.0

08 Sep 16:26
v0.6.0
3f0e4a3

Choose a tag to compare

- `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

08 Apr 20:13
v0.5.3
30f98a6

Choose a tag to compare

  • Disabled default features of rorm-cli to allow building with another runtime than tokio

v0.5.2

08 Apr 19:20
v0.5.2
ae39bce

Choose a tag to compare

  • Made join order determistic
  • removed chronos default features