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;
    • RuntimeLayeris added which merges the following layers:
      • Configuration
      • DependencyInjection
      • Monitoring
    • Oracle implementation of Database feature is now added
    • Cors feature is now added with AspNetCore implementation
    • Reporting feature is introduced with three implenmentations NativeSql for production, Mock and Fake for development
    • DataSource recipe is available which includes minimal features for a web application that only reads data from given database
    • RichTransient coding style feature is now added
    • NamespaceAsRoute coding style is introduced where namespaces are directly reflected to the endpoints routes

Improvements

  • MockConfiguration feature now clears FakeSettings list on teardown
  • MockMe.TheClient helper now provides optional parameter to clear previous invocations
  • ConfigureAction and OverrideAction helpers are now added to configure RestApi.ActionModel before and after conventions
  • Enum<T> helper class is added to use enum values within ValueSource attribute
  • DataAccess layer now exposes FluentConfiguration as configuration target
  • DataAccess layer now introduces IDatabaseInitializerCollection configuration target for registering database initialization actions
  • IServiceProvider now has UseCurrentScope extensions to resolve services using the scope provided by IServiceProviderAccessor implementations
  • TestRun now creates and disposes a scope for each test run to
  • Runtime layer now provides IFileProvidercomponent with CompositeFileProvider implementation
  • ReadAsString and ReadAsStringAsync helper extensions are now added for IFileProvider
  • DomainAssemblies feature now have options to auto add embedded file providers for give assemblies
  • Dotnet feature now adds embedded and physical file providers for given entry assembly
  • Async overloads for ShouldPass and ShouldFail are now available
  • Default exception handler is renamed as ProblemDetails
  • ITextTransformer is introduced in Core feature to allow business to make use of Humanizer methods without depending on it

Library Upgrades

PackageOld VersionNew Version
Oracle.ManagedDataAccess.Corenew23.6.0
Microsoft.AspNetCore.Mvc.NewtonsoftJson8.0.88.0.10
Microsoft.AspNetCore.Mvc.Testing8.0.88.0.10
Microsoft.Data.Sqlite.Core8.0.88.0.10
Microsoft.Extensions.Logging.Abstractions8.0.18.0.2
Microsoft.Extensions.TimeProvider.Testing8.9.18.10.0
MySql.Data9.0.09.1.0
NHibernate.Extensions.Sqlite8.0.138.0.14
Npgsql8.0.48.0.5
Swashbuckle.AspNetCore6.8.06.9.0
Swashbuckle.AspNetCore.Annotations6.8.06.9.0