v1.3

v1.3.3

Bugfixes

  • DataTable wasn't apply column style, fixed
  • Setting the contentContainer property of the DataPanel to block in version v1.1.2 was causing animation issues, fixed
  • DataPanels on the same row now collapse independently

v1.3.2

Improvements

  • DataPanel now removes padding when its content is DataTable
  • DataTable now provides wider label columns for large screens to support full width
    • To make adjustment per page, .b-label-column--wide, .b-label-column--narrow css classes are provided
  • Default value for showUnhandled is now set to false for all environments including Staging

v1.3.1

Improvements

  • Baked.targets now support SkipGenerate build flag which allows skipping generate post-build phase when set to true

Bugfixes

  • Select component wasn't filtering anything, fixed
  • Microsoft Test Platform was failing due to generate phase run, fixed

v1.3.0

.NET Upgrade

Baked now supports .NET 10! Below you can find a task list to upgrade your projects.

- [ ] install dotnet 10
- [ ] upgrade dotnet version to `10`
  `Directory.Build.props`, `github actions`, `Dockerfile`, `.vimspector`
- [ ] upgrade c# version to `14`
- [ ] make sure packages fine with dotnet 10
- [ ] upgrade github actions
  - `checkout@v6`
  - `setup-dotnet@v5`
  - `setup-node@v6`
  - `upload-artifact@v7`
  - `download-artifact@v8`
  - `danielpalme/[email protected]`
- Opportunistic Improvements
  - [ ] Use `CompareOptions.NumericOrdering` property of the `StringComparer`
  object if it will make things easier
  - [ ] At first glance, it didn't seem necessary, but if needed, it looks like
  description support has been added to `ProducesAttribute`,
  `ProducesResponseTypeAttribute`, and `ProducesDefaultResponseTypeAttribute`
  - [ ] Use `RedirectHttpResult.IsLocalUrl` in places that check whether the URL
  redirects to the locale or externally
  - [ ] Use if necessary, the `field` keyword in properties
  - [ ] Now allows `nameof` for unbound generics. If there were different
  approaches previously because it wasn't allowed, these can be simplified
  - [ ] The partial constructor feature now supported. Use it if we need to
  - probably, the analyzer will already warn you, but just in case;
    - [ ] use implicit `Span` conversions to array
    - [ ] use simple lambda parameters with modifiers
    - [ ] use Null-Conditional assignment
- Required Migrations
  - [ ] use `.slnx` instead of `.sln`. To migrate: `dotnet sln migrate`
  - [ ] use extension members
    - Property extensions will be used for those that do not take parameters and
    for specifying layer builders. exp: `configure.Ui.ComponentPresets(...)`
    - [ ] Move all extensions to the newly introduced `extension` block
  - [ ] use `Microsoft Testing Platform` for testing
    - [ ] add `<OutputType>Exe</OutputType>` to all test projects
    - [ ] add `<EnableNUnitRunner>true</EnableNUnitRunner>` to `Directory.Build.Props`
    - [ ] some test flag changed. check [here](https://learn.microsoft.com/en-us/dotnet/core/testing/migrating-vstest-microsoft-testing-platform#update-dotnet-test-invocations)
    - [ ] add `global.json`
    - [ ] make scripts
- Troubleshooting & Pitfalls(You should also test the tasks that can be checked
  to be sure)
  - `HttpContent` now returns `BrowserHttpReadStream` instead of `MemoryStream`
  - The warning level for audits has been raised in `dotnet restore`. If the
  error encountered cannot be resolved, the warning level can be lowered in
  `Directory.Build.props` or the relevant warning can be ignored
  - Validation APIs moved to `Microsoft.Extensions.Validation`
  - If you encounter any issues with OpenAPI, check [here](https://github.com/microsoft/OpenAPI.NET/blob/main/docs/upgrade-guide-2.md)
    - `Microsoft.OpenApi.Models` no more exist. use `Microsoft.OpenApi`
    - The default initialization has been removed from some collections.
    If null, initialization is required.
    - `OpenApiSecurityRequirement` now takes, `OpenApiSecuritySchemeReference`
    and `List<string>`
    - now also in `ISchemaFilter`;
      - `OpenApiSchema` is now `IOpenApiSchema`
      - `schema.Type` is now `JsonSchemaType`
      - `schema.Properties` now nullable
      - `schema.Example` is now `JsonNode`
  - It may throw an error for `Microsoft.AspNetCore.Localization`
  There is no longer a need to import this package separately
  - [ ] If `dotnet restore` is waiting for user input, it should be set to
  `--interactive false`
  - [ ] If you encounter an error or receive incorrect results when obtaining
  coverage, you may need to set `EnableDynamicNativeInstrumentation` to `true`
  - [ ] Now, in form post actions, `nullable` fields are automatically set to
  null when they receive an empty string

Improvements

  • Bindings and CodingStyles can now be overridden from recipes

Breaking Changes

  • LayerConfigurator extensions are now grouped under layer specific configurators like configurator.Domain.ConfigureDomainModelBuilder
  • Monolith and DataSource configuration is now grouped under recipe callbacks in BakeExtensions and *Spec helpers
    • Individual parameters such as database: are now configured through options: mr => mr.Database(...)
  • The following extensions are now properties:
    • IsPublicInstanceWithNoSpecialName
    • IsApiInput
    • XmlNode.GetSummary() -> XmlNode.Summary
    • XmlNode.GetRemarks() -> XmlNode.Remarks
    • XmlNode.GetReturns() -> XmlNode.Returns
    • IsNfr, IsDevelopment, IsStaging, IsProduction
  • MonolithNfr and MonolithSpec moved to Bake.Monolith namespace
  • DataSourceNfr and DataSourceSpec moved to Bake.DataSource namespace
  • Binding feature now has become a multiple feature, e.g., .AddBindings([c => c.Rest()])

Library Upgrades

NuGet PackageOld VersionNew Version
Humanizer.Core3.0.13.0.10
Microsoft.AspNetCore.Authentication.JwtBearer9.0.1110.0.5
Microsoft.AspNetCore.Mvc.NewtonsoftJson9.0.1110.0.5
Microsoft.AspNetCore.Mvc.Testing9.0.1110.0.5
Microsoft.CodeAnalysis.CSharp5.0.05.4.0
Microsoft.Data.Sqlite.Core10.0.110.0.5
Microsoft.Extensions.Caching.Abstractions10.0.110.0.5
Microsoft.Extensions.Configuration.Abstractions10.0.110.0.5
Microsoft.Extensions.Configuration.Binder10.0.110.0.5
Microsoft.Extensions.FileProviders.Abstractions10.0.110.0.5
Microsoft.Extensions.Localization10.0.1removed
Microsoft.Extensions.Localization.Abstractions10.0.110.0.5
Microsoft.Extensions.Logging.Abstractions10.0.110.0.5
Microsoft.Extensions.TimeProvider.Testing10.1.010.4.0
Microsoft.NET.Test.Sdk18.0.118.3.0
MySql.Data9.5.09.6.0
NHibernate.Extensions.Sqlite9.0.1110.0.0
NHibernate.Extensions.Sqlite9.0.1110.0.0
NUnit4.4.04.5.1
NUnit3TestAdapter6.0.16.1.0
Oracle.ManagedDataAccess.Core23.26.023.26.100
Swashbuckle.AspNetCore9.0.610.1.5
Swashbuckle.AspNetCore.Annotations9.0.610.1.5