v0.12
v0.12.1
Improvements
- Fake reporting wasn't working without registering a
ReportOptions
, fixed - Fake reporting now allows to provide a base path
- Data source spec was throwing missing
ISession
error, fixed - Add query not found option to report context mocking
- Rich transient wasn't added to data source recipe, fixed
- Rich transient group names are now plural, making it similar to rich entity
- Domain assemblies feature now accepts one assembly when it accepts one base namespace, to avoid confusion
- File provider wasn't working without providing a base namespace in domain assemblies, fixed
v0.12.0
Features
- Beta features are available in Baked.Recipe.Service package;
RuntimeLayer
is added which merges the following layers:Configuration
DependencyInjection
Monitoring
Oracle
implementation ofDatabase
feature is now addedCors
feature is now added withAspNetCore
implementationReporting
feature is introduced with three implenmentationsNativeSql
for production,Mock
andFake
for developmentDataSource
recipe is available which includes minimal features for a web application that only reads data from given databaseRichTransient
coding style feature is now addedNamespaceAsRoute
coding style is introduced where namespaces are directly reflected to the endpoints routes
Improvements
MockConfiguration
feature now clearsFakeSettings
list on teardownMockMe.TheClient
helper now provides optional parameter to clear previous invocationsConfigureAction
andOverrideAction
helpers are now added to configureRestApi.ActionModel
before and after conventionsEnum<T>
helper class is added to use enum values withinValueSource
attributeDataAccess
layer now exposesFluentConfiguration
as configuration targetDataAccess
layer now introducesIDatabaseInitializerCollection
configuration target for registering database initialization actionsIServiceProvider
now hasUseCurrentScope
extensions to resolve services using the scope provided byIServiceProviderAccessor
implementationsTestRun
now creates and disposes a scope for each test run toRuntime
layer now providesIFileProvider
component withCompositeFileProvider
implementationReadAsString
andReadAsStringAsync
helper extensions are now added forIFileProvider
DomainAssemblies
feature now have options to auto add embedded file providers for give assembliesDotnet
feature now adds embedded and physical file providers for given entry assembly- Async overloads for
ShouldPass
andShouldFail
are now available Default
exception handler is renamed asProblemDetails
ITextTransformer
is introduced inCore
feature to allow business to make use ofHumanizer
methods without depending on it
Library Upgrades
Package | Old Version | New Version |
---|---|---|
Oracle.ManagedDataAccess.Core | new | 23.6.0 |
Microsoft.AspNetCore.Mvc.NewtonsoftJson | 8.0.8 | 8.0.10 |
Microsoft.AspNetCore.Mvc.Testing | 8.0.8 | 8.0.10 |
Microsoft.Data.Sqlite.Core | 8.0.8 | 8.0.10 |
Microsoft.Extensions.Logging.Abstractions | 8.0.1 | 8.0.2 |
Microsoft.Extensions.TimeProvider.Testing | 8.9.1 | 8.10.0 |
MySql.Data | 9.0.0 | 9.1.0 |
NHibernate.Extensions.Sqlite | 8.0.13 | 8.0.14 |
Npgsql | 8.0.4 | 8.0.5 |
Swashbuckle.AspNetCore | 6.8.0 | 6.9.0 |
Swashbuckle.AspNetCore.Annotations | 6.8.0 | 6.9.0 |