2674 Commits

Author SHA1 Message Date
Sejun Park
3512c1ff47
Use MIGRATION_DIR environment variable (#2419) 2024-12-23 23:25:09 +00:00
Janosch Reppnow
525ec30905
fix: set transaction mode in single command (#2450) 2024-12-23 23:23:07 +00:00
Chris Tsang
7dffaf1f20
Insert many allow active models to have different column set (#2433)
* Insert many allow active models to have different column set

* comment and fmt

* comment

* clippy

* Fixup

* Refactor

* Docs and restore old implementation

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-12-23 23:12:51 +00:00
Alexander Shishenko
5d0efaa91b
Update COMMUNITY.md (#2434) 2024-12-03 21:13:32 +00:00
Billy Chan
2f584ac18b
CHANGELOG 2024-12-02 17:15:33 +08:00
Billy Chan
bfca886236
codegen: register seaography entity module (#2403)
* codegen: register seaography entity module

* codegen: register seaography active enum

* Update seaography examples

* fmt
2024-12-02 17:14:06 +08:00
Billy Chan
760b825a12
CHANGELOG 2024-12-02 14:55:50 +08:00
Billy Chan
cf99b5f075
update examples 2024-12-02 14:55:35 +08:00
Billy Chan
afdf9bba0d
1.1.2 2024-12-02 14:55:33 +08:00
Billy Chan
7b1495d168
Upstream Pro - 1 (#2415)
* Added `ColumnTrait::enum_type_name()` to signify enum types

* dep

* Added `DbBackend::boolean_value()` for database dependent boolean value

* Bump sea-query

* fmt
2024-12-02 14:33:21 +08:00
Billy Chan
b83a072123
clippy 2024-12-02 14:01:13 +08:00
Billy Chan
9d0f7e3917
clippy 2024-12-02 13:56:27 +08:00
Chris Tsang
2eb398efa9 Bump rust version 2024-12-01 13:20:37 +00:00
Chris Tsang
5f1a9d2a46 update examples 2024-11-04 01:01:05 +00:00
Chris Tsang
4a0fbcc43d 1.1.1 2024-11-04 01:01:05 +00:00
Chris Tsang
8cd03f7e0e
Update CHANGELOG.md 2024-10-25 11:12:17 +01:00
Chris Tsang
8464f79426
Update CHANGELOG.md 2024-10-25 11:10:05 +01:00
Chris Tsang
907a1870f5
Update CHANGELOG.md 2024-10-25 11:09:49 +01:00
Jonas Platte
ead131d937
Use input ident instead of associated type projections in ActiveModel derive (#2349)
* Use input ident instead of associated type projections in ActiveModel derive

* Add a test
2024-10-25 11:04:35 +01:00
Billy Chan
647c93c464
Update example Cargo.lock 2024-10-18 09:36:33 +08:00
Billy Chan
72b1570591
Bump seaography 2024-10-17 15:21:20 +08:00
Billy Chan
0dd2b2290a
Bump sea-schema 2024-10-17 15:21:01 +08:00
Billy Chan
9efc0522d6
Bump sea-query 2024-10-17 15:20:44 +08:00
Billy Chan
79695683b7
use arduino/setup-protoc@v3 2024-10-15 16:38:49 +08:00
Billy Chan
e96fa73a4f
README 2024-10-15 15:56:32 +08:00
Billy Chan
78e0c0584d
README 2024-10-15 15:22:07 +08:00
Billy Chan
1d08ea376d
Re-enable loco-rs examples 2024-10-15 14:51:23 +08:00
Billy Chan
d13e2c8e23
CHANGELOG 2024-10-15 14:36:06 +08:00
Billy Chan
ab660d418d
update examples 2024-10-15 14:35:40 +08:00
Billy Chan
0c5668dcd8
1.1.0 2024-10-15 14:35:37 +08:00
Billy Chan
4fbf1a0fdf
CHANGELOG 2024-10-15 14:34:33 +08:00
Billy Chan
05e85abf46
update examples 2024-10-15 14:34:33 +08:00
Billy Chan
fecc43196e
1.1.0-rc.3 2024-10-15 14:34:33 +08:00
Chris Tsang
e6af647ed4 README 2024-10-14 12:54:14 +01:00
Billy Chan
4e3acb117e
CHANGELOG 2024-10-08 11:33:06 +08:00
Billy Chan
8be5c2648b
Add ColumnDef::get_column_default getter (#2387) 2024-10-08 11:32:02 +08:00
Billy Chan
51d8125d96
CHANGELOG 2024-10-04 17:45:01 +08:00
Billy Chan
1218b1e942
update examples 2024-10-04 17:44:29 +08:00
Billy Chan
c64f48d85f
1.1.0-rc.2 2024-10-04 17:44:26 +08:00
Billy Chan
6c10469d6c
CHANGELOG 2024-10-04 17:42:13 +08:00
Sebastian Goll
31ef8c76df
Allow distinct types in schema::custom() (#2326)
* Allow distinct types in schema::custom()

* Allow `custom_null` to take column name and alias of different `IntoIden` types

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-10-04 17:41:46 +08:00
Aaron Ingalls
cb5520eb67
Add pk_uuid schema helper (#2329)
* Add pk_uuid schema helper

* CHANGELOG

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-10-04 17:40:08 +08:00
Colin Woodbury
8339dbb8df
DatabaseConnection directly from PgPool (#2348)
* feat(postgres): create `DatabaseConnection` directly from `PgPool`

This allows sqlx-based connection pools that were already on-hand to be
easily converted into SeaORM types.

* Move `From` impls into driver

* impls for MySQL and SQLite

* CHANGELOG

* fmt

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-10-04 17:19:56 +08:00
Jonathan Creekmore
fb442298dd
call EnumIter::get using fully qualified syntax (#2321)
* call `EnumIter::get` using fully qualified syntax

`itertools` version 0.13.0 added a `get` method that takes precedence
over the `EnumIter::get` method. The `EnumIter` derive should be calling
the method fully-qualified to ensure that the local version is called
rather than the method that is provided by the `Itertools` trait. This
was fixed in `strum` 0.26.x, but since this is a forked/adapted version
of the `EnumIter` derive, it requires the same fix .

* CHANGELOG

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-10-04 17:11:25 +08:00
ethan
e13b23c884
Update sqlx version to 0.8.2 (#2371)
* Update sqlx version to 0.8.2 due to vulnerability disclosure.

* sqlx 0.8.2

* CHANGELOG

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-10-04 16:50:34 +08:00
Gaëtan
61516e188a
Update DeriveActiveEnum doc (#2345)
* Update DeriveActiveEnum doc

* One more line

* CHANGELOG

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-10-04 16:49:55 +08:00
Alvaro Parker
bfd21e92e3
Fix typos (#2360)
* fix typos

* CHANGELOG

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-10-04 16:42:52 +08:00
James Lucas
ed77b64d88
Update ouroboros (#2353)
* Update `ouroboros`

0.17.x has a dependency on `proc-macro-error`, which is unmaintained
per https://rustsec.org/advisories/RUSTSEC-2024-0370

* CHANGELOG

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-10-04 16:42:41 +08:00
Billy Chan
b3db9dec3a
Fix clippy warnings (#2379)
* Fix clippy warnings

* fmt

* Disable loco example CI for now
2024-10-04 16:12:21 +08:00
Billy Chan
039e4423d3
CI: run on Node.js v20 2024-09-05 13:36:16 +08:00