GetLatestVersionFromMyGet dereferenced Packages and Versions without null checks, so an empty or unexpected response from the MyGet package list endpoint threw ArgumentNullException (source) and aborted abp update, even though the nightly version is only needed for preview updates. Treat a missing response, package list or version list as no version available.
MultiTenantUrlProvider always appended "." to the tenant name or id. It
removed the dot from the template only when the placeholder was
followed by one, so a placeholder used outside a subdomain produced a
stray dot. For example, "https://abp.io/{0}/login" became
"https://abp.io/TenantA./login".
Replace "{placeholder}." with "value." (or remove it for the host), then
replace any remaining "{placeholder}" with the value alone. Subdomain
templates keep their current output.
AbpEnumLocalizer used Type.GetEnumName as the member name. GetEnumName
returns null for a value that has no named member, such as (BookType)42
or a combination of [Flags] members. The null key then reached the
string localizer and GetString threw an ArgumentNullException.
Fall back to the enum's ToString() result, such as "42" or "Read, Write",
when the value has no named member.
- Add NavigationManager.ResolveBrandingUrl and ResolveBrandingCssUrl
- Move the url rules to Volo.Abp.Ui.Branding.BrandingUrlHelper, shared with the mvc themes
ASP.NET Core's ValidationAttributeAdapterProvider has no adapter for
EnumDataTypeAttribute, so its ErrorMessage is never passed through the
IStringLocalizer and the raw localization key is returned to the client,
unlike every other common validation attribute.
Add EnumDataTypeAttributeAdapter and return it from
AbpValidationAttributeAdapterProvider.
ChildUnitOfWork subscribed a lambda to the parent's Failed and Disposed
events in its constructor and never unsubscribed, so every nested unit of
work left two delegates on the parent for the parent's whole lifetime.
Each delegate also captured the child, keeping disposed child instances
alive.
Forward the Failed and Disposed events straight to the parent with event
accessors instead, so nothing accumulates on the parent.
Handlers attached to a child still receive the parent's events with the
same sender and arguments, but their relative order can change: a handler
subscribed through a child now runs at the position where it was
subscribed, rather than where the child was constructed.