Skip to content

v0.9.0

Compare
Choose a tag to compare
@pdevito3 pdevito3 released this 10 Apr 17:07

Release Notes

🚀 Additions and Updates

  • Added a new vertical slice architecture
    • Projects have been consolidated and will now have a prefix of the solution name before each project type. For example, the api project with a solution name of ordering is ordering.webapi
  • Added a new:domain command to create a ddd based domain with various bounded contexts inside of it. this is recommended for long term maintainability
  • Added the add:bc command which will add a new bounded context to your ddd project
  • Testing completely rebuilt from the ground up. Now has unit, integration, and functional tests. Integration and Functional Tests can spin up their own docker db on their own to run against a real database.
  • Moved 'addGit' property from the api template to the domain template
  • Added a version or -v command to get the craftsman version
  • Added an initial db migration to run automatically on project creation
  • Added verbosity option to new domain and add bc
  • Added a version checker to make sure you are alerted if out of date
  • Added an add:prop alias
  • Added explicit add entity template with auth policies available to add
  • Added a production app settings by default
  • Changed the startup marker for dynamic services to a comment instead of a region
  • Readme will now be generated in the domain directory
  • Updated environment to have production as a reserved word instead of startup to be consistent with dotnet process
    • Will use startup and appsettings.production
    • Normal appsettings will be empty, but have all the config keys required to make migrations and builds possible
  • Updated the default Cors policy name
  • Consolidated launchsettings to have the same setup for all environments as it is just a setting for the IDE and not used for the release package
  • Removed micro command to consolidate and reduce complexity. if you still want to build a microservice, you can build a domain and deploy each bounded context as a microservice
    • Gateways were removed and may be added back with better integration in a future release
  • Removed the new:api command to focus on the DDD driven style
  • Removed ClientSecret to promote code+PKCE flow

🐛 Pest Control

  • Existing auth policies will now be skipped for registration when adding a new entity
  • Fixed documented response codes for delete, put, and patch from 201 > 204
  • Foreign keys will no longer be automatically included in features or DTOs for better performance (#2)

🧹 Housekeeping

  • Upgraded craftsman to net 5