v1.0.0-alpha
What's Changed
✨ Implemented enhancements
- Introduce non-generic IStructId for string-backed ids by @kzu in #6
- Add Newstonsoft.Json converter support by @kzu in #8
- Add support for EF Core by @kzu in #10
- Rename package to StrucTId, TValue > TId by @kzu in #11
- Add support for Dapper by @kzu in #12
- Add TId.New() for guid-based ids, implicit and explicit conversions to underlying type by @kzu in #13
- Add ISpanParsable implementation by @kzu in #17
- Refactor ctor and implicit conversions as template-based by @kzu in #19
- Initial user templates support by @kzu in #21
- Showcase generic templates applying to all struct ids by @kzu in #22
- Introduce first built-in compiled template implementation, ISpanFormattable by @kzu in #24
- Add IUtf8SpanFormattable template by @kzu in #27
- Make IComparable a compiled template by @kzu in #29
- Remove unused
[TStructId<T>]
attribute by @kzu in #30 - Turn implicit conversion into compiled templates by @kzu in #31
- Fix improper type names in sample templates by @kzu in #32
- Split SpanFormattable from Formattable by @kzu in #34
- Create analyzer and codefix for templates by @kzu in #35
- Report and fix ALL partials of template without file-local modifier by @kzu in #37
- Preserve trivia when applying code templates by @kzu in #38
- Showcase extensibility by leveraging Ulid by @kzu in #39
- Generalize value templates too, automatically adding Ulid to Dapper by @kzu in #40
- Add built-in support for parsable/formattable values for EF by @kzu in #43
- Make feature-dependent templates conditional by @kzu in #46
🐛 Fixed bugs
- Test and fix custom StructId namespace support by @kzu in #23
- Add tests for dapper and fix generation of unsupported type by @kzu in #28
📝 Documentation updates
- Add new compiled templates documentation by @kzu in #36
- Rename TId > TValue by @kzu in #44
- Add sample showcasing no namespace is required for ids by @kzu in #47
- Add simple dapper+sqlite console app demo by @kzu in #48
- Document diagnostics and additional features by @kzu in #50
🔨 Other
- Rename base class for generators for better semantics by @kzu in #20
- Improve usage of common namespace, more flexible TId processing by @kzu in #26
- Refactor code templates processing, move more to compiled by @kzu in #33
- Switch to lighter handler type detection in dapper by @kzu in #45
Full Changelog: https://github.com/devlooped/StructId/commits/v1.0.0-alpha