Release Notes
v2.4.0
February 2026
New Features
-
ThemeSharedAppendContentContext- New React context for appending scripts or stylesheets to the document. This is the React equivalent of Angular'sTHEME_SHARED_APPEND_CONTENTinjection token:import { ThemeSharedAppendContentContext } from '@abpjs/theme-shared';
function App() {
const appendContent = async () => {
// Custom logic to append scripts/styles to the document
};
return (
<ThemeSharedAppendContentContext.Provider value={appendContent}>
<YourApp />
</ThemeSharedAppendContentContext.Provider>
);
} -
THEME_SHARED_APPEND_CONTENTconstant - Token name constant matching Angular's InjectionToken name
Deprecation Updates
Toaster.Statusremoval postponed - Now scheduled for removal in v3.0 (previously v2.2). Continue usingConfirmation.Statusfor new code.appendScriptfunction deprecated - Will be removed in v2.6. UseThemeSharedAppendContentContextinstead.
v2.2.0
February 2026
- Version alignment with @abpjs/core
v2.1.0
February 2026
New Types
Confirmation.Statusenum - New confirmation-specific status enum, replacing usage ofToaster.Statusfor confirmation dialogs:import { Confirmation } from '@abpjs/theme-shared';
const status = await confirmation.info('Are you sure?');
if (status === Confirmation.Status.confirm) {
// User confirmed
} else if (status === Confirmation.Status.reject) {
// User rejected
} else if (status === Confirmation.Status.dismiss) {
// User dismissed (escape key, click outside)
}
API Changes
- Confirmation service return type - All confirmation methods (
info,success,warn,error,show) now returnPromise<Confirmation.Status>instead ofPromise<Toaster.Status> confirmation.clear(status?)parameter - Now acceptsConfirmation.Statusinstead ofToaster.StatususeConfirmationState().respond()- Now acceptsConfirmation.Statusinstead ofToaster.Status
Deprecations
Toaster.Statusdeprecated - UseConfirmation.Statusfor confirmation dialogs.Toaster.Statuswill be removed in v2.2.0.
Migration
// Before (v2.0.0)
import { Toaster } from '@abpjs/theme-shared';
const status = await confirmation.info('Are you sure?');
if (status === Toaster.Status.confirm) { /* ... */ }
// After (v2.1.0)
import { Confirmation } from '@abpjs/theme-shared';
const status = await confirmation.info('Are you sure?');
if (status === Confirmation.Status.confirm) { /* ... */ }
v2.0.0
January 2026
Breaking Changes
- ToasterService return type - Methods (
info,success,warn,error) now returnnumber(toast ID) instead ofPromise<Toaster.Status> toaster.remove(id)- Now takesnumberinstead ofstringtoaster.addAll()removed - Useshow()method insteadToaster.Optionsrenamed - UseToaster.ToastOptions(old interface kept for compatibility, deprecated)Toaster.Severitychanged -'warn'renamed to'warning', added'neutral'Confirmation.Options- RemovedyesCopyandcancelCopy(useyesTextandcancelText)Confirmation.Options- No longer extendsToaster.Options
New Features
toaster.show(message, title?, severity?, options)- Create toast with specified severitytoaster.subscribe(callback)- Subscribe to toast state changes (observable pattern)toaster.clear(containerKey?)- Clear toasts by container keyToastContainercontainerKeyprop - Filter toasts to specific containers- Toast positions - New
'top','top-left','bottom','bottom-left'positions confirmation.show(message, title?, severity?, options)- Create with specified severityconfirmation.listenToEscape()- Enable escape key dismissalconfirmation.subscribe(callback)- Subscribe to confirmation changesConfirmation.Options.closable- Control dismiss behaviorConfirmation.Severitytype - Separate from Toaster, includes'neutral'- Sorting icon CSS classes -
.sorting,.sorting_asc,.sorting_desc
Style Updates
- Updated animation timing (0.4s → 0.2s for fade effects)
- Added table scrollbar styling
- Added collapse/expand height transition classes
v1.1.0
January 2026
New Features
- ToasterService localization support -
info(),success(),warn(),error()now acceptConfig.LocalizationParamfor message and title - LoaderBar customization - New
intervalPeriodandstopDelayprops for animation control - HttpErrorConfig - New types for custom error screen configuration (
RootParams,HttpErrorConfig,ErrorScreenErrorCodes)
Deprecations
- Confirmation.Options -
cancelCopyandyesCopydeprecated in favor ofcancelTextandyesText(which acceptConfig.LocalizationParam)
v1.0.0
January 2026
Version alignment with ABP Framework v1.0.0. No new features or breaking changes.
v0.9.0
January 2026
New Features
- Modal enhancements - New
busy,height,minHeight, andonInitprops - Profile component - Moved from
@abpjs/theme-basic(see Profile docs) - ChangePassword component - Moved from
@abpjs/theme-basic(see Profile docs) - SettingTab model - Interface for settings management tabs
- Statistics models -
Statistics.Response,Statistics.Data,Statistics.Filter
v0.8.0
January 2026
New Features
- LoaderBar - Progress bar that shows during HTTP requests
- ErrorComponent - Full-page error display (404, 500, etc.)
- DEFAULT_STYLES - Global CSS styles constant
- useErrorHandler enhancements -
createErrorComponent,clearErrorComponentmethods
v0.7.6
January 2026 - Initial Release
- Toaster service (success, error, warning, info)
- Confirmation service with promise-based dialogs
- Global error handler for ABP errors
- Light and dark mode support