Release Notes
v2.7.0
February 2026
New Features
Component Replacement Keys
New constants for replacing account components:
import { eAccountComponents } from '@abpjs/account';
// Available component keys:
// eAccountComponents.Login = 'Account.LoginComponent'
// eAccountComponents.Register = 'Account.RegisterComponent'
// eAccountComponents.ManageProfile = 'Account.ManageProfileComponent'
// eAccountComponents.TenantBox = 'Account.TenantBoxComponent'
// eAccountComponents.AuthWrapper = 'Account.AuthWrapperComponent'
// eAccountComponents.ChangePassword = 'Account.ChangePasswordComponent'
// eAccountComponents.PersonalSettings = 'Account.PersonalSettingsComponent'
Route Names
New constants for account route names (localization keys):
import { eAccountRouteNames } from '@abpjs/account';
// Available route names:
// eAccountRouteNames.Account = 'AbpAccount::Menu:Account'
// eAccountRouteNames.Login = 'AbpAccount::Login'
// eAccountRouteNames.Register = 'AbpAccount::Register'
// eAccountRouteNames.ManageProfile = 'AbpAccount::ManageYourProfile'
TenantIdResponse Enhancement
The TenantIdResponse interface now includes the tenant name:
interface TenantIdResponse {
success: boolean;
tenantId: string;
name?: string; // New in v2.7.0
}
New Exports
eAccountComponents- Constants for component replacement keyseAccountRouteNames- Constants for route names (localization keys)
v2.4.0
February 2026
New Features
-
AuthWrapper.isMultiTenancyEnabledprop - Control whether the tenant box is displayed in authentication forms:import { AuthWrapper, LoginForm } from '@abpjs/account';
function LoginPage() {
return (
<AuthWrapper
mainContent={<LoginForm onSuccess={() => {}} />}
isMultiTenancyEnabled={true} // Show tenant switching (default)
/>
);
}This corresponds to Angular's
isMultiTenancyEnabled$observable. Defaults totrue. -
AccountService.apiNameproperty - New property for REST API configuration. Defaults to'default':import { useAccountService } from '@abpjs/account';
function MyComponent() {
const accountService = useAccountService();
console.log(accountService.apiName); // 'default'
}
v2.2.0
February 2026
- Version alignment with @abpjs/core
v2.1.0
February 2026
- Version alignment with @abpjs/core
v2.0.0
January 2026
Breaking Changes
ACCOUNT_ROUTESremoved - This deprecated export has been removed. UseAccountProviderto configure routes.
New Features
-
useSelfRegistrationEnabledhook - Check if self-registration is enabled from ABP settings:import { useSelfRegistrationEnabled } from '@abpjs/account';
function RegisterLink() {
const isEnabled = useSelfRegistrationEnabled();
if (!isEnabled) return null;
return <Link to="/register">Register</Link>;
} -
AuthWrapper.enableLocalLoginprop - Control visibility of local login forms:<AuthWrapper enableLocalLogin={false}>
{/* Shows disabled message instead of form */}
</AuthWrapper>Reads from
Abp.Account.EnableLocalLoginsetting by default. -
LoginFormrespects self-registration setting - Register link is automatically hidden whenAbp.Account.IsSelfRegistrationEnabledisfalse -
RegisterFormrespects self-registration setting - Automatically redirects to login if self-registration is disabled -
Accountnamespace - New TypeScript namespace with component interface types for type-safe customization
ABP Settings Support
The following ABP settings are now respected:
| Setting | Effect |
|---|---|
Abp.Account.EnableLocalLogin | Hides username/password login when false |
Abp.Account.IsSelfRegistrationEnabled | Hides register link/page when false |
v1.1.0
January 2026
New Components
AuthWrapper- Wrapper component for authentication forms providing consistent layoutManageProfile- Tabbed profile management interface with personal settings and password changeChangePasswordForm- Password change form with validationPersonalSettingsForm- User profile information editing form
See Manage Profile for usage details.
v1.0.0
January 2026
- Version alignment with @abpjs/core
Deprecations
ACCOUNT_ROUTESdeprecated - Routes are now configured viaAccountProvider. Direct use ofACCOUNT_ROUTESis deprecated and will be removed in a future version.
v0.9.0
January 2026
Breaking Changes
ACCOUNT_ROUTESformat changed - Now returns{ routes: ABP.FullRoute[] }instead ofABP.FullRoute[]
New Features
- AccountService - New service with
findTenant()andregister()methods - useAccountService hook - Access AccountService in components
- RegisterForm now functional - Makes actual API calls and auto-logs in users
- TenantBox API integration - Validates tenant names via API, updates Redux session
New Types
RegisterRequest,RegisterResponse,TenantIdResponse
v0.8.0
January 2026
- Version alignment with @abpjs/core
v0.7.6
January 2026 - Initial Release
- LoginForm component
- RegisterForm component
- TenantBox component
- OAuth2 resource owner password flow