V16: Upgrade Login dependencies to Umbraco 16 #19433
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
We can upgrade to a public Umbraco 16 RC version on the login screen because we only need to match the typings
This pull request introduces several updates to the
Umbraco.Web.UI.Login
project, focusing on dependency upgrades, improved error handling, and code consistency. The most important changes include upgrading dependencies inpackage.json
, enhancing error handling in various components, and improving code readability and consistency by updating imports and formatting.Dependency Upgrades:
@umbraco-cms/backoffice
to version16.0.0-rc3
,@hey-api/openapi-ts
to^0.67.3
,typescript
to^5.8.3
, andvite
to^6.3.5
inpackage.json
for compatibility with the latest features and bug fixes.Error Handling Improvements:
authContext
availability inUmbNewPasswordLayoutElement
andUmbResetPasswordPageElement
to prevent potential runtime errors when the authentication context is unavailable. [1] [2]UmbSlimBackofficeController
by adding acatch
block forregisterPublicExtensions
to gracefully handle errors during extension registration.Code Consistency and Cleanup:
reset-password.page.element.ts
,auth.context.ts
,auth.repository.ts
,slim-backoffice-initializer.ts
) by using single quotes and consistent ordering. [1] [2] [3] [4]