2601 Commits

Author SHA1 Message Date
Chris Tsang
65de9f929c 1.0.0-rc.2 2024-03-15 23:31:56 +00:00
Chris Tsang
88128ee2aa [cli] test 2024-03-15 23:11:37 +00:00
Chris Tsang
4cda344811 Changelog 2024-03-15 23:09:00 +00:00
Chris Tsang
8f406575e7 Upgrade sea-schema 2024-03-15 23:01:52 +00:00
Chris Tsang
75c1e2c1f7 Changelog 2024-03-13 09:04:44 +00:00
Billy Chan
950a3bc201
Upstream Changes - 2 (#2149)
* Upstream Changes - 2

* revert
2024-03-13 08:51:17 +00:00
Billy Chan
b866236704
examples: deprecate actix3_example (#2154) 2024-03-13 13:46:53 +08:00
Chris Tsang
f0724c41d8
Changelog 2024-03-10 23:58:48 +00:00
Dmitrii Aleksandrov
159c53e65f
Add RelationDef::from_alias() (#2146)
* Add `RelationDef::from_alias()`

* Fix code formatting

* Fix code formatting again
2024-03-10 23:55:22 +00:00
Chris Tsang
be7ec5b64b
Changelog 2024-03-10 23:52:02 +00:00
Mateusz Maćkowski
b1f0a81672
Bring back rocket_okapi support (#2136) 2024-03-10 23:51:01 +00:00
Chris Tsang
a5b3759e96
Changelog 2024-03-10 23:45:51 +00:00
ikka0426
763a3f9aa1
actix example bug fix (#2140)
* bug fix

* fmt

---------

Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2024-03-10 23:42:07 +00:00
Chris Tsang
d64b627ba2
Changelog 2024-03-10 23:41:53 +00:00
Chris Tsang
572311d0ff
Changelog 2024-03-10 23:39:00 +00:00
凊弦凝绝
a0a7e74ae9
Fix DerivePartialModel attr entity not support syn::Type token (#2137)
* 🐛 fix macro attr `entity` only accept `Ident`

* 🎨 cargo fmt

*  fix test
2024-03-10 18:20:24 +00:00
Billy Chan
f3967fdaca
Upstream Changes - 1 (#2145)
* upstream changes

* universal `#[sea_orm_macros::test]`

* fix

* fix

* `ColumnTrait::into_returning_expr`

* fix

* fix

* Do not pub sqlx_common

---------

Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2024-03-10 18:14:46 +00:00
Billy Chan
b775027fee
Explicit StringLen on ColumnType::String (#2123) 2024-03-05 15:31:58 +08:00
Chris Tsang
9318a544fc
Update CHANGELOG.md 2024-02-28 20:14:44 +00:00
Forest Anderson
88fafa57d9
Add mock feature flag docs (#2109) 2024-02-28 20:04:12 +00:00
Ryan Kopf
8025199499
Fix the handling of new mod files. (#2064)
Co-authored-by: ryankopf <git@ryankopf.com>
2024-02-28 20:03:05 +00:00
Chris Tsang
94ff8881d0 Changelog 2024-02-10 11:36:35 +00:00
Chris Tsang
430f66097f Edit 2024-02-10 11:31:23 +00:00
Chris Tsang
423bfae929 Update 2024-02-10 10:57:02 +00:00
Ivan Akimov
9f6461a2e9
community showcase: templateless + barreleye (#2103) 2024-02-10 18:53:48 +08:00
Wyatt Herkamp
0adcd3b36c
Update Strum (#2088)
* Update Strum

* Change log update

* Fetch updates from upstream Strum

* build-tools/update-strum-macros.sh

* Revert "Fetch updates from upstream Strum"

This reverts commit 32cf8f7ac96f9b0431d2bde682b69ec44b4f5b2e.

* Update enum_iter.rs

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-02-06 18:33:20 +08:00
Billy Chan
3e149db180
examples: bump loco-rs to v0.2 (#2102) 2024-02-06 16:26:15 +08:00
Billy Chan
6995dd685a
CHANGELOG 2024-02-06 14:26:51 +08:00
Billy Chan
1f47deaddb
CHANGELOG 2024-02-06 14:15:14 +08:00
Billy Chan
f7f914e198
update examples 2024-02-06 14:14:10 +08:00
Billy Chan
42553b6624
1.0.0-rc.1 2024-02-06 14:14:09 +08:00
Billy Chan
94403b5659
migration: schema helper (#2099)
* Adapted loco-rs/schema.rs

* avoid `&mut ColumnDef` after upgraded to sea-query 0.31.0

* refactoring

* rewrite schema.rs

* revert

* fmt

* fix

* loco_example: pin loco-rs version

* refactor
2024-02-06 14:10:36 +08:00
Billy Chan
cef380b977
SQLite type mappings (#2077)
* sqlite: deps

* sqlite: update data type mappings

* sqlite: decimal test cases

* sqlite: try negative numbers

* fixup

* fixup

* fmt

* clippy

* fixup

* fixup

* fixup

* refactor

* fix

* Drop the use of `rust_decimal_macros` (#2078)

* sqlite: decimal -> real

* revert

* Bump dependencies

* Fixup

* Fixup

* Fixup

* Fixup

* Refactor

* Refactor

* Refactor
2024-02-05 14:42:55 +08:00
Billy Chan
7f25da3e2b
example: loco-todo-list (#2092)
* example: loco-todo-list

* fmt

* Cargo.lock

* Disabled integration test for GitHub CI

* fmt

* Update Cargo.toml
2024-02-05 14:35:37 +08:00
Billy Chan
76f73e778d
README 2024-02-02 17:01:25 +08:00
Billy Chan
ab7de834b9
README 2024-02-02 16:51:30 +08:00
Billy Chan
9cd96462e8
Gold Sponsor 2024-02-02 13:35:30 +08:00
Billy Chan
116cfebece
Gold Sponsor 2024-02-02 13:22:13 +08:00
Billy Chan
2adbf8cd22
Gold Sponsor 2024-02-02 13:21:35 +08:00
SZenglein
d79b9590b2
Happy New Year! (#2093) 2024-02-01 17:20:23 +08:00
Billy Chan
30fcdcbd5e
gitignore 2024-02-01 17:00:32 +08:00
Chris Tsang
0016eff73b Update 2024-01-28 01:50:43 +00:00
Chris Tsang
59e987453d fmt 2024-01-27 19:43:04 +00:00
Chris Tsang
8e6316c90e fmt 2024-01-27 19:32:39 +00:00
Chris Tsang
3c07c91d54 Doc #2083 2024-01-27 19:31:43 +00:00
Chris Tsang
390ca0f0f6 Edit #2083 2024-01-27 14:36:26 +00:00
Chris Tsang
387b07e1c5 Changelog 2024-01-25 10:30:52 +00:00
Andrea Corradi
c56c072f27
Enable sqlite returning with feature flag (#2070)
* Enable sqlite returning with feature flag

* Add runtime check for sqlite version

* Apply suggestions from code review

* Fix clippy

* Rename feature

* Fix tests when feature flag is not enabled

---------

Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2024-01-26 04:28:59 +08:00
Chris Tsang
1abb0b2d91 Fix #1851 2024-01-24 18:24:23 +00:00
Billy Chan
9797da1ee4
Drop the use of rust_decimal_macros (#2078) 2024-01-24 17:58:50 +08:00