Billy Chan
8afc3eb2a3
Prepare 0.12.0
2023-03-16 18:28:03 +08:00
Billy Chan
15ff8ab974
fmt
2023-03-16 14:14:19 +08:00
Sergei Ivankov
c34b6feb5e
Update heck dependency ( #1520 )
...
* Update heck dependency
* Fix formatter error
---------
Co-authored-by: Sergei Ivankov <sergeiivankov@pm.me>
2023-03-16 14:13:56 +08:00
Billy Chan
fe38d5ed25
0.11.1
2023-03-10 22:13:02 +08:00
Billy Chan
4f8ad56cc4
Cont. Added support for using sea-orm with #[deny(missing_docs)] ( #1531 )
...
* Added support for using sea-orm with #[deny(missing_docs)] (#1522 )
* feat(macros): Added documentation tags for generated entities
* chore: Added deny(missing_docs) attribute to basic example
* chore: Fix clippy errors
* ci: test missing docs of derive macros generated types
* Try missing docs (CI should fail)
* Revert "Try missing docs (CI should fail)"
This reverts commit 83356bfca8939e7807f14bad8bb816fcabc1bf7b.
---------
Co-authored-by: Lewin Probst, M.Sc <30552361+emirror-de@users.noreply.github.com>
2023-03-10 21:49:08 +08:00
Chris Tsang
a8e37aa65e
Fix DeriveActiveEnum #1478
2023-02-18 12:48:24 +08:00
Chris Tsang
2a4e5e00fd
0.11.0
2023-02-07 02:51:00 +08:00
Chris Tsang
9e36c1103e
0.11.0-rc.2
2023-02-04 16:10:21 +08:00
Billy Chan
8680c46177
Refactor select_as
& save_as
implementation generated by derive macros ( #1442 )
2023-02-04 15:53:10 +08:00
Chris Tsang
4f181bf438
sea-orm-macros 0.11.0-rc.1
2023-02-01 23:46:42 +08:00
Billy Chan
51e6ad7170
Cast primary key column inside returning expression of insert statement ( #1427 )
2023-01-29 12:58:32 +08:00
Billy Chan
08a5e87e22
Replace SeaORM's ColumnType
( #1395 )
...
* Replace SeaORM's `ColumnType`
* Bump SeaQuery's version
* Fix merge conflict
* refactor
2023-01-29 11:06:01 +08:00
Billy Chan
71dbffc725
Fix clippy ( #1426 )
...
* Fix clippy
* Fix clippy
2023-01-27 18:50:20 +08:00
Billy Chan
cb71e265df
Unchanged ActiveValue as Set ( #1177 )
...
* Unchanged ActiveValue as Set
* Renaming
* Rename
* Rename methods
2023-01-12 15:42:13 +08:00
Billy Chan
e9df3aa01d
Casting columns as a different data type on select, insert and update ( #1304 )
...
* Cast select and value
* Refactoring
* Test casting Postgres citext
* Fixup
* Revert
* Add test cases
* Fixup
* Rename methods
2023-01-12 14:56:11 +08:00
Billy Chan
cbd7a8d1c9
Cleanup the use of vec![]
( #1367 )
...
* Public methods accept any IntoIterator as argument
* refactoring
2023-01-11 14:17:06 +08:00
Chris Tsang
5c93253877
Tests
2023-01-09 14:46:19 +08:00
Billy Chan
2f00a8757d
Merge branch 'master' into select-into-tuple
2022-12-20 15:51:06 +08:00
Billy Chan
b2185af559
Cleaning up dependency ( #1300 )
...
* Dependency version cleanup
* Update build tool
* Disable default features
* [cli] disable default features
2022-12-16 15:52:00 +08:00
Billy Chan
70c4a3a23e
Select into tuple
2022-12-15 21:24:10 +08:00
Billy Chan
fa94521c25
[issues] fully qualified IdenStatic::as_str()
( #1280 )
2022-12-06 12:00:43 +08:00
Billy Chan
2389a4c83e
Fix: fields with type Option<T>
are always nullable ( #1257 )
2022-12-01 12:27:49 +08:00
Billy Chan
4d8645ae8b
Support Vector of enum for Postgres ( #1210 )
...
* Support Vector of enum for Postgres
* Fix clippy
* Add tests for integer array
* Fix dependency
* Bump sea-query to 0.27.2
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2022-11-15 13:50:05 +08:00
Billy Chan
1be6673f0e
Fix DeriveActiveEnum expand enum variant starts with number ( #1219 )
2022-11-15 10:56:25 +08:00
Chris Tsang
58fcee60cf
sea-orm-macros 0.10.3
2022-11-14 15:08:25 +08:00
Chris Tsang
f4300e48aa
sea-orm-macros 0.10.2
2022-11-06 21:03:37 +08:00
Chris Tsang
40e44b31dd
Update MSRV to 1.65
2022-11-06 21:03:35 +08:00
Billy Chan
9dfc481c3b
Fix clippy warnings ( #1188 )
...
* Fix clippy warnings
* More fixes
2022-11-04 19:14:31 +08:00
Billy Chan
7fb7649aa4
sea-orm-macros 0.10.1
2022-10-27 16:03:38 +08:00
Billy Chan
1497c2c7f0
Fix DeriveActiveEnum requires additional imports ( #1154 )
...
* fix: Support deriving ActiveEnum without importing EnumIter, Iden, and ActiveEnum
* style: Fix format
* DeriveActiveEnum without depending on sea_query::Iden derive macros
* [issues] add tests
* Fix [issues] features
Co-authored-by: Naoki Ikeguchi <me@s6n.jp>
2022-10-27 00:17:46 +08:00
Chris Tsang
50fa0843ae
Qualify DbErr
2022-10-23 23:21:21 +08:00
Billy Chan
a766500ebf
Cont. "Enable convert from ActiveModel to Model" ( #990 )
...
* Changelog
* Enable convert from ActiveModel to Model (#725 )
* feat: enable convert from ActiveModel to Model
* feat: add tests for converting from ActiveModel to Model
* cargo fmt
* Refactoring
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
* Fix clippy warnings
* Use error type
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
Co-authored-by: greenhandatsjtu <40566803+greenhandatsjtu@users.noreply.github.com>
2022-10-23 23:12:22 +08:00
Billy Chan
b91ca2b778
Implements fmt::Display
for ActiveEnum
( #986 )
...
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2022-10-23 22:29:31 +08:00
Billy Chan
29da37b4f2
Merge branch 'master' into sea-query-v0.27
2022-10-17 17:53:41 +08:00
Billy Chan
671d79469a
Fixup
2022-10-17 17:25:35 +08:00
Chris Tsang
5d752e60b9
Merge pull request #1002 from SeaQL/better-errors
...
Better error system
2022-10-07 00:24:41 +08:00
Billy Chan
29deb0dfd1
Better compile error for entity without primary key ( #1020 )
2022-10-06 23:50:39 +08:00
Nick Burrett
9eacecd364
FromJsonQueryResult: add missing module prefix to sea_query ( #1081 )
2022-09-29 10:47:08 +08:00
Billy Chan
77bddd85a5
Fixup
2022-09-22 15:07:37 +08:00
Billy Chan
d016f66a5f
Cargo.toml specify SeaORM homepage
2022-09-02 15:12:16 +08:00
Billy Chan
6564ddac15
Testing [issues] [cli]
2022-09-01 16:39:18 +08:00
Billy Chan
4e835f2ee1
.
2022-09-01 16:38:47 +08:00
Chris Tsang
85533a3bb3
Give up and fix tests
2022-08-28 14:54:26 +08:00
Chris Tsang
348e841139
Refactor ColumnFromStrErr
2022-08-28 13:30:51 +08:00
Chris Tsang
13b53369e2
Prepare for 0.10.0
2022-08-20 22:47:31 +08:00
Chris Tsang
55e6b9d7d1
sea-orm-macros 0.9.2
2022-08-20 14:06:55 +08:00
Ivan Krivosheev
2731878d0e
Set minimal rustc version
2022-08-07 02:34:43 +03:00
Chris Tsang
c516e8b14a
sea-orm-macros 0.9.1
2022-07-22 00:14:25 +08:00
Chris Tsang
f880a9d7e5
sea-orm-macros 0.9.0
2022-07-12 00:25:03 +08:00
Billy Chan
d6831e5295
Bump version of sqlx, sea-query, sea-schema, time and uuid ( #834 )
...
* Bump version of sqlx, sea-query, sea-schema, time and uuid
* PostgreSQL `u32` was wrapped in `Oid` (launchbadge/sqlx#1602 )
* Update test cases
* Fix clippy warnings
* cargo fmt
* Fix clippy warnings
* Bump sea-schema to ^0.9.2
* Update test cases
* Pin on sea-query minor version
2022-07-05 01:05:11 +08:00