Repository navigation
9.50.0
Weasel 9.50.0 moves to JasperFx 2.101.0 and makes the db-* commands available from a Native AOT binary.
JasperFx 2.101.0
JasperFx and JasperFx.Events go from 2.100.0 to 2.101.0. From Weasel's side, the changes that matter:
- Native AOT command line (JasperFx/jasperfx#1141).
- What works:
help,run,describeand every other command now run from a Native AOT binary. - How: commands, their inputs and their
[InjectService]properties are registered byJasperFx.SourceGeneratorat compile time instead of being found through reflection.
- What works:
JFXEVT1138: a new build warning fires when a pinned events source generator loses to a bundled copy and no copy reaches the compiler.- Windows assembly scanning: the scan now skips
runtimes/nativefolders on Windows too, and skips satellite resource assemblies (JasperFx/jasperfx#1143).
The db-* commands in a Native AOT binary
JasperFx's AOT support only covers commands from assemblies built with JasperFx.SourceGenerator. Weasel's weren't, so db-* was missing from help in a native Marten, Polecat, Fisher or Wolverine app.
- Change: Weasel.Core and Weasel.EntityFrameworkCore are now built with the generator.
- Result:
db-apply,db-assert,db-patch,db-dump,db-listanddb-ef-migrationare registered by a generated[ModuleInitializer]and parsed by generated input parsers. - No change for consumers: the generator is a private build-time reference, so it doesn't flow to them.
Docs
The command line section now points to the JasperFx command line documentation for the framework itself, and to its Native AOT section. There is also a new schema management guide that explains how the db-* commands relate to JasperFx's stateful resource model (#786).
What's Changed
- Docs: schema management guide, and how the db-* commands relate to the stateful resource model by @jeremydmiller in #786
- Release Weasel 9.50.0: JasperFx 2.101.0, and the db-* commands in a Native AOT binary by @jeremydmiller in #787
Full Changelog: 9.49.0...9.50.0