0.23.0
What's Changed
Highlights
Struct Deduplication
During analysis, kopium now detects and depuplicates identical structs from different hierarchies to allow better code reuse and cleaner generated apis. See #298 for background. Initial solution in #375
Library Usage
kopium now has initial support for library use via #376.
Examples for various generation modes available in new examples.
Selectable Fields
Support for selectable fields via #434 + #445
Changes
- refactor: make kopium usable as a library by @the-wondersmith in #376
- Build script examples by @clux in #380
- Fix derive applicability ignoring top level derive struct by @FrankSpitulski in #422
- Support Selectable Fields by @nitishkumar71 in #434
- use to_upper_camel_case for root type names by @aharbis in #444
- Quote selectable expressions by @sebhoss in #445
- Deduplicate and disambiguate containers by PartialEq by @clux in #375
Internal
Better, and fasting testing using Danil's envtest.
- Simplify test runner and clippy by @clux in #429
- Replace k3d with envtest by @Danil-Grigorev in #426
- Bump envtest to 0.2.0 by @Danil-Grigorev in #446
Dependencies
click to see dependabot spam.
- Bump the core group with 3 updates by @dependabot[bot] in #374
- Bump the core group with 2 updates by @dependabot[bot] in #377
- Bump libc from 0.2.175 to 0.2.176 by @dependabot[bot] in #378
- Bump the core group with 2 updates by @dependabot[bot] in #382
- Bump regex from 1.11.3 to 1.12.2 by @dependabot[bot] in #383
- Bump the core group with 4 updates by @dependabot[bot] in #384
- Bump syn from 2.0.107 to 2.0.108 in the core group by @dependabot[bot] in #385
- Bump schemars from 1.0.4 to 1.0.5 in the kube group by @dependabot[bot] in #388
- Bump the core group with 2 updates by @dependabot[bot] in #389
- Bump schemars from 1.0.5 to 1.1.0 in the kube group by @dependabot[bot] in #390
- Bump the core group with 2 updates by @dependabot[bot] in #391
- Bump the core group with 2 updates by @dependabot[bot] in #392
- Bump the core group with 4 updates by @dependabot[bot] in #394
- Bump trycmd from 0.15.10 to 0.15.11 by @dependabot[bot] in #395
- Bump log from 0.4.28 to 0.4.29 in the core group by @dependabot[bot] in #396
- Bump libc from 0.2.177 to 0.2.178 by @dependabot[bot] in #397
- Bump k8s-openapi from 0.26.0 to 0.26.1 in the kube group by @dependabot[bot] in #401
- Bump the core group with 2 updates by @dependabot[bot] in #402
- Bump schemars from 1.1.0 to 1.2.0 in the kube group by @dependabot[bot] in #403
- Bump the core group with 2 updates by @dependabot[bot] in #404
- Bump the core group with 4 updates by @dependabot[bot] in #405
- Bump libc from 0.2.178 to 0.2.179 by @dependabot[bot] in #406
- Bump the core group with 3 updates by @dependabot[bot] in #407
- Bump clap_complete from 4.5.64 to 4.5.65 in the core group by @dependabot[bot] in #409
- Bump libc from 0.2.179 to 0.2.180 by @dependabot[bot] in #410
- Bump quote from 1.0.43 to 1.0.44 in the core group by @dependabot[bot] in #412
- Bump clap from 4.5.54 to 4.5.56 in the core group by @dependabot[bot] in #413
- Bump libc from 0.2.180 to 0.2.181 by @dependabot[bot] in #416
- Bump regex from 1.12.2 to 1.12.3 by @dependabot[bot] in #417
- Bump the core group with 2 updates by @dependabot[bot] in #415
- Bump strum from 0.27.2 to 0.28.0 by @dependabot[bot] in #427
- Bump the core group across 1 directory with 5 updates by @dependabot[bot] in #428
- Bump trycmd from 0.15.11 to 1.0.0 by @dependabot[bot] in #420
- Bump libc from 0.2.181 to 0.2.182 by @dependabot[bot] in #419
- Bump k8s-openapi from 0.27.0 to 0.27.1 in the kube group by @dependabot[bot] in #435
- Bump trycmd from 1.0.0 to 1.0.1 by @dependabot[bot] in #437
- Bump libc from 0.2.182 to 0.2.183 by @dependabot[bot] in #438
- Bump the core group with 2 updates by @dependabot[bot] in #436
- Bump trycmd from 1.0.1 to 1.1.1 by @dependabot[bot] in #440
- Bump the core group with 2 updates by @dependabot[bot] in #439
- Bump env_logger from 0.11.9 to 0.11.10 in the core group by @dependabot[bot] in #442
- Bump trycmd from 1.1.1 to 1.2.0 by @dependabot[bot] in #443
- Bump kube from 3.0.1 to 3.1.0 in the kube group by @dependabot[bot] in #441
New Contributors
- @the-wondersmith made their first contribution in #376
- @FrankSpitulski made their first contribution in #422
- @nitishkumar71 made their first contribution in #434
- @aharbis made their first contribution in #444
Full Changelog: 0.22.5...0.23.0