Skip to content

Commit e597177

Browse files
committed
Changelog
1 parent 92766d4 commit e597177

16 files changed

+516
-0
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## 2.0.0 - pending
99

10+
### Release Candidates
11+
12+
- [2.0.0-rc.35](changelog/2.0.0-rc.35.md) — SQLite transaction modes, DeriveIntoActiveModel extensions, Decimal64/Bytes, schema sync fix
13+
- [2.0.0-rc.34](changelog/2.0.0-rc.34.md) — Arrow/Parquet support, `try_from_u64` for DeriveValueType
14+
- [2.0.0-rc.32](changelog/2.0.0-rc.32.md)`MigratorTrait` with `self`, PostgreSQL `application_name`
15+
- [2.0.0-rc.31](changelog/2.0.0-rc.31.md)`ne_all`, typed `TextUuid`, COUNT overflow fix
16+
- [2.0.0-rc.30](changelog/2.0.0-rc.30.md) — Maintenance release, `sea-query` bump
17+
- [2.0.0-rc.29](changelog/2.0.0-rc.29.md) — Tracing spans, UUID-as-TEXT, relation filtering, LEFT JOIN fix
18+
- [2.0.0-rc.28](changelog/2.0.0-rc.28.md)`sqlx-all` in migration, `set_if_not_equals_and`, auto_increment for String/Uuid PKs
19+
- [2.0.0-rc.27](changelog/2.0.0-rc.27.md)`DeriveValueType` implements `NotU8` for PostgreSQL arrays
20+
- [2.0.0-rc.26](changelog/2.0.0-rc.26.md)`postgres-use-serial-pk` feature for legacy serial PKs
21+
- [2.0.0-rc.25](changelog/2.0.0-rc.25.md) — Value system restoration, `sea-query` bump
22+
- [2.0.0-rc.24](changelog/2.0.0-rc.24.md)`sea-query` bump to rc.27
23+
- [2.0.0-rc.23](changelog/2.0.0-rc.23.md)`DeriveValueType` implements `IntoActiveValue`, remove `NotU8`
24+
- [2.0.0-rc.22](changelog/2.0.0-rc.22.md)`DatabaseExecutor` unified type, value array refactor
25+
- [2.0.0-rc.21](changelog/2.0.0-rc.21.md) — Rusqlite / `sea-orm-sync` crate, `exists` on PaginatorTrait
26+
- [2.0.0-rc.20](changelog/2.0.0-rc.20.md) — Stringy newtypes, M2M self-ref, nullable columns, bug fixes
27+
1028
### New Features
1129

1230
* Role Based Access Control https://github.com/SeaQL/sea-orm/pull/2683

changelog/2.0.0-rc.20.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
## Release Notes: SeaORM 2.0.0-rc.20
2+
3+
*(since 2.0.0-rc.19)*
4+
5+
### New Features
6+
7+
**Allow more stringy newtypes in `DeriveValueType`** (#2831)
8+
9+
- Produce syntax-aware attribute errors in `DeriveValueType` macro
10+
- Allow `value_type` attr for named field structs in `DeriveValueType`
11+
- Assume no derive attributes means `DeriveValueTypeStruct`
12+
13+
**Many-to-many self-referencing relation** (#2823)
14+
15+
- Add primary_key check to `DeriveEntityModel`
16+
- Support `RelatedSelfVia` and `self_ref` in dense entity format
17+
- Support `self_ref` on compact_model and in reverse
18+
- Loader support for self via in reverse
19+
20+
**ActiveModelEx: support `self_ref`**
21+
22+
ActiveModelEx now supports self-referencing relations.
23+
24+
**Add nullable column types**
25+
26+
Support for nullable column types added.
27+
28+
### Bug Fixes
29+
30+
**Fix missing casts when returning one** (#2825)
31+
32+
Fixed missing type casts when using `returning_one` / `returning_all`.
33+
34+
**Temp fix MySQL JSON equals**
35+
36+
Workaround for MySQL JSON equality comparison issues.
37+
38+
**Automatically convert `eq(None)` to `IS NULL`** (#2826)
39+
40+
`eq(None)` is now correctly translated to `IS NULL` in SQL.
41+
42+
**Fix compile error when postgres-vector is enabled** (#2821)
43+
44+
Resolved compilation failure with the `postgres-vector` feature.
45+
46+
### Improvements
47+
48+
- Entity Loader: move `EntityLoaderWithParam` trait to be owned by user for better blanket impl support
49+
- Built with SeaORM: Add FirstLook.gg (#2828)

changelog/2.0.0-rc.21.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
## Release Notes: SeaORM 2.0.0-rc.21
2+
3+
*(since 2.0.0-rc.20)*
4+
5+
### New Features
6+
7+
**Rusqlite / sea-orm-sync** (#2847)
8+
9+
- New `sea-orm-sync` crate for synchronous SQLite via rusqlite
10+
- Stream and transaction support
11+
- Integration with `sea-schema-sync`
12+
13+
**Add `--banner-version` to CLI** (#2836)
14+
15+
CLI now supports a `--banner-version` flag.
16+
17+
**Add `exists` method to `PaginatorTrait`** (#2623)
18+
19+
`PaginatorTrait` now includes an `exists` method for efficient existence checks.
20+
21+
### Bug Fixes
22+
23+
**Respect `#[serde(rename)]` in `ActiveModel::from_json`** (#2842)
24+
25+
`ActiveModel::from_json` now correctly respects `#[serde(rename)]` and `#[serde(rename_all)]` attributes when deserializing JSON.
26+
27+
### Improvements
28+
29+
- Reduce Vec allocations (#2835)
30+
- Add taplo for TOML formatting (#2844)
31+
- SeaORM sync example and preparation for `sea-orm-sync` crate

changelog/2.0.0-rc.22.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
## Release Notes: SeaORM 2.0.0-rc.22
2+
3+
*(since 2.0.0-rc.21)*
4+
5+
### New Features
6+
7+
**`DatabaseExecutor` unified executor type** (#2839)
8+
9+
Added a unified `DatabaseExecutor` type that wraps either a `&DatabaseConnection` or `&DatabaseTransaction`. This moves the `SchemaManagerConnection` pattern from `sea-orm-migration` into sea-orm core, providing:
10+
11+
- `DatabaseExecutor` enum for unified handling of connections and transactions
12+
- `IntoDatabaseExecutor` trait for ergonomic conversions
13+
- `SchemaManagerConnection` type alias for backward compatibility
14+
- `SchemaManagerConnectionExt` trait for migration-specific methods
15+
16+
### Bug Fixes
17+
18+
*None in this release.*
19+
20+
### Improvements
21+
22+
**Refactor Value array** (#2849)
23+
24+
Refactored the internal `Value` array handling for improved consistency and maintainability.
25+
26+
**Refactor CI** (#2859)
27+
28+
- Parallelized test compilation for faster CI runs
29+
- Updated `actions/cache` to v5
30+
- Fixed cache keys
31+
32+
**sea-orm-sync example**
33+
34+
Added and improved the `sea-orm-sync` example.
35+
36+
**Update examples**
37+
38+
Updated example code across the repository.

changelog/2.0.0-rc.23.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
## Release Notes: SeaORM 2.0.0-rc.23
2+
3+
*(since 2.0.0-rc.22)*
4+
5+
### New Features
6+
7+
**`DeriveValueType` implements `IntoActiveValue`** (#2868)
8+
9+
`DeriveValueType` now automatically implements `IntoActiveValue`, so custom value types can be used directly when building ActiveModels without additional boilerplate.
10+
11+
**`IntoActiveValue` for more types**
12+
13+
`IntoActiveValue` is now implemented for additional standard types, improving ergonomics when setting ActiveModel fields.
14+
15+
### Bug Fixes
16+
17+
**Fix sea-orm-sync**
18+
19+
Fixed issues in the `sea-orm-sync` crate.
20+
21+
**Fix sync**
22+
23+
Fixed sync-related bugs.
24+
25+
**Fix tests**
26+
27+
Resolved failing tests.
28+
29+
**Insert many on conflict do nothing returning** (#2389)
30+
31+
Added test coverage and fixes for `insert_many` with `on_conflict_do_nothing` and `returning` clauses.
32+
33+
### Improvements
34+
35+
**Remove `NotU8` trait** (#2868)
36+
37+
The `NotU8` trait has been removed. `DeriveValueType` now handles type constraints internally, simplifying the derive macro.
38+
39+
**Remove `bigdecimal` from default features**
40+
41+
The `bigdecimal` dependency is no longer included in default features, reducing the default dependency footprint. Enable it explicitly if needed.
42+
43+
**CI improvements**
44+
45+
Various CI fixes and improvements.

changelog/2.0.0-rc.24.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Release Notes: SeaORM 2.0.0-rc.24
2+
3+
*(since 2.0.0-rc.23)*
4+
5+
### Improvements
6+
7+
- Bumped `sea-query` to 1.0.0-rc.27
8+
- Updated example projects to use the new release

changelog/2.0.0-rc.25.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Release Notes: SeaORM 2.0.0-rc.25
2+
3+
*(since 2.0.0-rc.24)*
4+
5+
### Bug Fixes
6+
7+
**Restore value system**
8+
9+
Restored the value system across the core crate, drivers (MySQL, PostgreSQL, SQLite), and entity/column types. Refactored executor and query handling for consistency.
10+
11+
**Fix sea-orm-sync**
12+
13+
Aligned `sea-orm-sync` with the restored value system changes in the main crate. Updated drivers, entity types, and executor/query logic to match.
14+
15+
### Improvements
16+
17+
- Bumped `sea-query` to 1.0.0-rc.28
18+
- Updated example projects to use the new release

changelog/2.0.0-rc.26.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Release Notes: SeaORM 2.0.0-rc.26
2+
3+
*(since 2.0.0-rc.25)*
4+
5+
### New Features
6+
7+
**PostgreSQL legacy serial primary key option**
8+
9+
Added the `postgres-use-serial-pk` feature flag to use legacy `serial` / `bigserial` types for auto-increment primary keys instead of `GENERATED BY DEFAULT AS IDENTITY`. Enable with `postgres-use-serial-pk` in your `Cargo.toml` if you need compatibility with older PostgreSQL setups or tooling.

changelog/2.0.0-rc.27.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Release Notes: SeaORM 2.0.0-rc.27
2+
3+
*(since 2.0.0-rc.26)*
4+
5+
### Improvements
6+
7+
**DeriveValueType implements NotU8**
8+
9+
`DeriveValueType` now also implements `sea_query::postgres_array::NotU8`, enabling custom value types to work with PostgreSQL array columns. This is auto-generated when the `postgres-array` feature is enabled. Remove any manual `NotU8` implementations on your custom types to avoid conflicts.

changelog/2.0.0-rc.28.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## Release Notes: SeaORM 2.0.0-rc.28
2+
3+
*(since 2.0.0-rc.27)*
4+
5+
### New Features
6+
7+
**`sqlx-all` feature in sea-orm-migration** (#2887)
8+
9+
Added `sqlx-all` feature flag to `sea-orm-migration` for compatibility with sqlx's all-database feature.
10+
11+
**`set_if_not_equals_and` on ActiveValue** (#2888)
12+
13+
Added `set_if_not_equals_and` method to `ActiveValue` for conditional updates based on value comparison.
14+
15+
**Set auto_increment to false for String/Uuid primary keys by default** (#2881)
16+
17+
Macros now set `auto_increment = false` by default when the primary key is `String` or `Uuid`, avoiding incorrect schema generation.
18+
19+
### Bug Fixes
20+
21+
**Postgres: combine SET TRANSACTION statements** (#2893)
22+
23+
Combined `SET TRANSACTION ISOLATION LEVEL` and `ACCESS MODE` into a single statement for PostgreSQL, fixing transaction setup.
24+
25+
### Improvements
26+
27+
**Debug log for entity registry** (#2900)
28+
29+
Added debug logging for entity registry operations to aid troubleshooting.
30+
31+
**Deprecate do_nothing and on_empty_do_nothing** (#2883)
32+
33+
Deprecated `do_nothing` and `on_empty_do_nothing` on insert operations. Added documentation and tests for the deprecation path.
34+
35+
**Add Rustify to COMMUNITY.md** (#2898)
36+
37+
Added Rustify bot to the community bots section, covering multi-source lyrics, AI analysis, real-time profanity detection, and auto-skip features.

0 commit comments

Comments
 (0)