Commit a6fb30b
committed
Release v0.9.19: remove unused public API and collapse duplication
Bump crate and macro versions to 0.9.19 and refresh the changelog, README,
and mdBook docs. Remove public API that carried no behavior and had no
implementors, constructors, or call sites: the Collection, CommaSeparated,
DbEnum, WithDefault, Accessor, Mutator, and AttributeCaster items from
tideorm::types, RelationLoader from tideorm::relations, CacheWarmer from
tideorm::cache, and CacheOptions::tags with its with_tag/with_tags builders
(tags were stored but never read, and no tag-based invalidation exists). The
live CastType::Collection and CastType::CommaSeparated variants are unchanged.
Collapse duplicated code with no behavior change: the 17-method where_* family
shared by OrGroup and OrBranch now comes from one declarative macro, and
QueryBuilder::or_where_* delegate to OrGroup. In the macro crate, the
relation-wrapper init/refresh pair, entity relation-def key resolution, the
generated Model::find/find_with bodies, and the entity-manager should_persist
check are each single-source; save_with_one reuses apply_foreign_key. Drop
dead inert plumbing (six never-read auto_* attribute options, a discarded
JSON-path predicate parameter, redundant allow(unused_imports) markers,
self-restating comments), simplify the SeaORM-facade re-exports, and remove
abandoned scratch (wip/, objsafe/) plus the stale wip/** package exclude.
Verified with clippy --workspace --all-targets --all-features -D warnings,
fmt --check, the lib test matrix across postgres/sqlite/mysql, the macro-crate
tests, the trybuild UI suites, cargo package -p tideorm-macros, mdbook build,
and the full example suite against live PostgreSQL and MySQL.1 parent 326e2cd commit a6fb30b
43 files changed
Lines changed: 3313 additions & 4789 deletions
File tree
- docs
- src
- cache
- internal
- model
- query
- advanced
- db_sql
- filters
- sql/condition_builders
- relations
- types
- tests/unit_tests
- cache_and_seeding
- relations_and_types
- tideorm-macros
- src
- model_trait
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
10 | 23 | | |
11 | 24 | | |
12 | 25 | | |
| |||
965 | 978 | | |
966 | 979 | | |
967 | 980 | | |
968 | | - | |
| 981 | + | |
| 982 | + | |
969 | 983 | | |
970 | 984 | | |
971 | 985 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments