Releases: pdevito3/craftsman
Releases · pdevito3/craftsman
v0.22.0
What's Changed
- Revamped Relationships to a new model
- Integration and Functional tests use the latest versions and implementations of
testcontainers
- Removed
Sieve
in favor ofQueryKit
- Removed
CanFilter
andCanSort
properties. These can still be set in your code, but will no longer pollute your entities. - Use top level routing for health checks and controllers
- Update OTel to latest with newer syntax
- Remove other base specification things from generic repo
- Commands/Queries use records for input
- DTOs are records
- Additional validation exception extension method for
MustNot
Fixed
- Sql server setups can handle dateonly
- Duplicate usings
- Remove bad serilog enricher and update logger for env name
MigrationHostedService
will not conflict with dbcontext when adding entities- fix: get endpoint when name == plural
- Bugfix, Change AddProducerCommand to AddMessageCommand by @Ken1Nil in #118
New Contributors
Full Changelog: v0.21.1...v0.22.0
v0.21.1
v0.21.0
Added
- New
bool
option ofUseCustomErrorHandler
onApiTemplate
that defaults to a new error handler usingHellang.ProblemDetails
. If you don't want a dependency, you can use the existing custom one, but the hellang one is richer and I didn't want to reinvent the wheel
Updated
- Major MediatR update to 12.x
- Features returning bool will now have no return value
- Mapster -> Mapperly
- Missing test projects won't cause failure
Fixed
- Can better handle unneccessary
I
on messages - Mapper scaffolding
v0.20.0
Added
- Specification support in repositories
- Support for array property types
Updates
- No more manipulation DTO
- No default new guid on DTO
- Tests use builder methods
- No more autofaker for domain entity, only a builder
- Entity properties not virtualized anymore
IProjectService
renamed toIProjectScopedService
v0.19.4
v0.19.3
v0.19.2
v0.19.1
v0.19.0
Updates
- Craftsman uses .NET 7
- Scaffolding uses .NET 7
- Test projects updated to use XUnit
- Integration tests have better service collection scoping and now have a service collection per test. This makes service mocking possible without clashing with other tests
- RMQ container setup for integration and functional tests
- Use
IConfiguration
instead of customEnvironmentService
- Move parameters from
launchsetting
toappsettings
UserPolicyHandler
refactor- Unit tests no longer have redundant directory
- Added optional unit test to check protection of all endpoints
- Tweaked unit test assembly helper utility
- Bump nuget packages
Removed
- No more event handler test scaffolding
v0.18.0
Added
- New
MigrationHostedService
to automatically apply migrations when starting your project - New
EnvironmentService
for easy access to environment variables
Updates
- Removed
Validators
and in favor of direct validation in entiy factories and methods. - Additional helper methods on
ValidationException
- Additional OTel config
- Cleaner functional test helpers
- Bump HeimGuard
- Update
UserPolicyHandler
to include aHasPermission()
implementation - Json attribute refactor
- Simplify swagger comments
Fixes
- RMQ Password var
- Email guards for whitespace
- Minor spacing items