2478 Commits

Author SHA1 Message Date
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
Chris Tsang
b5804551eb update examples 2024-01-22 09:48:29 +00:00
Chris Tsang
70d4278598 0.12.12 2024-01-22 09:48:29 +00:00
Chris Tsang
f16bac9a9f Edit 2024-01-21 17:17:17 +00:00
Chris Tsang
9b53db99c3 Edit 2024-01-21 17:17:09 +00:00
Chris Tsang
00eba94c4f Bump sea-orm-rocket 2024-01-21 16:22:48 +00:00
Chris Tsang
c2e6e54a50 Update Rocket 2024-01-21 16:17:23 +00:00
Chris Tsang
4690bafcbd Edit 2024-01-20 22:08:35 +00:00
Chris Tsang
59afbd4cdf Changelog 2024-01-20 22:06:28 +00:00
Chris Tsang
382ffa3054 Add ConnectOptions::test_before_acquire #2066 2024-01-20 22:05:16 +00:00
Billy Chan
c6e1a84a12
codegen: testing entity generation of composite foreign key (#2071) 2024-01-19 18:47:49 +08:00
Chris Tsang
f2bda8a4c2 Changelog 2024-01-17 20:55:21 +00:00
Zhang Yao
d8582c30ab
Fix problems in #1819 (#1821)
* Fix problems in #1819

* Add test cases

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-01-19 18:39:57 +08:00
Chris Tsang
131f9f1123 Changelog 2024-01-14 16:15:21 +00:00
Chris Tsang
ca6f381d28 update examples 2024-01-14 16:10:33 +00:00
Chris Tsang
260b8a4076 0.12.11 2024-01-14 16:10:33 +00:00
Chris Tsang
361924336d clippy 2024-01-14 15:55:08 +00:00
Chris Tsang
f27526b79d Changelog 2024-01-14 15:43:57 +00:00
Francis Le Roy
7eb3e12294
Updated the 'QuerySelect' trait to expose 'lock_with_behavior' (#1867) 2024-01-14 23:51:51 +08:00
Chris Tsang
3b0896b527 Changelog 2024-01-14 15:17:27 +00:00
Maksim Zaborovskiy
c5adb9d1d1
Add cursor pagination desc order (#2037)
* feat: add cursor pagination desc order

* feat: add cursor pagination desc order

* test: add cursor integration tests

* test: add cursor integration tests

* test: add query cursor_by tests

* test: add query cursor_by tests

* test: add query cursor_by tests

* test: add query cursor_by tests

* test: add query cursor_by tests

* test: add query cursor_by sort tests

* chore: remove unused import
2024-01-14 23:23:55 +08:00
Chris Tsang
5f9c450027 Changelog 2024-01-14 15:05:14 +00:00
bobogei81123
13d383e43c
fix: fully qualify types in DeriveValueType macro (#2054)
`DeriveValueType` proc macro relies on several sea-orm types to be
imported. This is partially fixed in #1855 by fully qualifying
`sea_orm::QueryResult`, but others like `sea_orm::Value` is still not
being qualified. Also, if use defined a type alias on
`std::result::Result`, it can cause the proc macro to generate code that
won't compile.

- Fully qualify `sea_orm::Value`, `std::string::String`, and
  `std::result::Result` in `DeriveValueType` proc macro.
- Add some simple integration tests for this.
- Add doc and doc test in `sea_orm_macro::derive_value_type`.
2024-01-14 23:06:40 +08:00
Dmitrii Aleksandrov
e3c94a7708
Export main() of sea-orm-cli (#1889) (#2034)
* Export main() of sea-orm-cli (#1889)

* Fix compile error: require "codegen" feature for main()
2024-01-12 22:43:13 +08:00