Official instructions & scripts are available to deploy to Kubernetes (and how to setup the Kubernetes cluster). It's now a recommended way to deploy the app.
To use the new version please increase the length of SignUrl__Secret
to be at least 32 symbols.
Added [FromJsonQuery]
attribute, so that request Query parameters could contain complex object serialized as JSON. This is supported in both Model-binder and Swagger (so autogenerated clients are ok)
convertToErrorString
is renamed toerrorToString
and moved toerror-helper.ts
(so you'd need to update that)- Remove
<PackageReference Include="NSwag.AspNetCore" Version="13.18.0" />
from App project - Replace
<script id="import-meta-env"></script>
withglobalThis.import_meta_env = JSON.parse('"import_meta_env_placeholder"');
inindex.html
- Adjust
ENTRYPOINT
in Dockerfile according to the latest version in template (the way to call import-meta-env was changed)
Added e2e tests that run against the real stage (dev stage or local docker). Each test resets the DB to initial state before start, so each test works against the clean state.
-
Add
"TestApiEnabled": false
to appsettings.json,"TestApiEnabled": true
to appsettings.Development.json and to Development stage (if you plan to run e2e tests over the stage) -
Add OAuth redirect URLs to
https://localhost
:"RedirectUris": [ ... "https://localhost/auth/signout-callback"]
"PostLogoutRedirectUris": [ ... "https://localhost/auth/signout-callback",]
Added an ability to configure CI via Variables. Now you could enable/disable certain stages of the build via _settings/base.partial.yml. Technically main CI build and PullRequest builds are the same except for variable values.
End-to-end tests using Playwright were introduced to the project (check out e2e folder). These tests also include screenshot testing for all Storybook stories.
Storybook was added to the project, giving the ability to play with ui-kit components in an isolated environment
Implement logging of starting/finishing the method with AOP [Log]
attribute.
Support multi-tenant out of the box
Upgrade to .NET 7
Manual steps (you need to do that if manually updating from previous versions via yarn pull-changes-from-template
)
- Replace
<TargetFramework>net6.0</TargetFramework>
with<TargetFramework>net7.0</TargetFramework>
- Remove
NJsonSchema
from .App.csproj, .ComponentTests.csproj - Remove
NSwag.Generation
,NSwag.CodeGeneration
from ComponentTests.csproj - Change first line of your Dockerfile to
FROM mcr.microsoft.com/dotnet/aspnet:7.0
Use System.Text.Json for everything (the only references to Newtonsoft.Json are in tests and via NSwag)
Web Hooks functionality. See further documentation.
Manual steps (you need to do that if manually updating from previous versions via yarn pull-changes-from-template
)
- Call
builder.Services.AddWebHooks();
from Program.cs - Call
builder.AddWebHookEntities(this.GetType());
fromOnModelCreating
method of your DbContext
StyledAutocomplete updates to better handle FreeSolo and Search scenarios
Simplify inheritance hierarchy for tests (i.e. there's a single common TestBase in MccSoft.Lib.Testing
, and project-specific base classes AppServiceTestBase and ComponentTestBase)