Skip to content

Releases: pdevito3/craftsman

v0.22.0

13 Aug 01:02
Compare
Choose a tag to compare

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 of QueryKit
  • Removed CanFilter and CanSort 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

20 Jul 12:07
Compare
Choose a tag to compare

Fixed

  • Remove lingering mapper from empty feature
  • Fix connection string prop in dev app settings
  • Fix using statement for interop

v0.21.0

17 Jul 12:28
Compare
Choose a tag to compare

Added

  • New bool option of UseCustomErrorHandler on ApiTemplate that defaults to a new error handler using Hellang.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

08 Apr 15:48
Compare
Choose a tag to compare

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 to IProjectScopedService

v0.19.4

05 Mar 17:38
Compare
Choose a tag to compare

Updates

  • Removed extra db call on Add feature

v0.19.3

05 Mar 16:55
Compare
Choose a tag to compare

Fixed

  • Fix bracket on DTOs

v0.19.2

05 Mar 15:59
Compare
Choose a tag to compare

Fixed

  • DTO indentations

v0.19.1

04 Feb 20:30
Compare
Choose a tag to compare

Updates

  • Removed custom dateonly and timeonly json converters in facor of built in .net 7 options

v0.19.0

04 Feb 20:11
Compare
Choose a tag to compare

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 custom EnvironmentService
  • Move parameters from launchsetting to appsettings
  • 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

07 Jan 18:06
Compare
Choose a tag to compare

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 a HasPermission() implementation
  • Json attribute refactor
  • Simplify swagger comments

Fixes

  • RMQ Password var
  • Email guards for whitespace
  • Minor spacing items