Release Notes
v2.4.0
February 2026
New Features
-
AccountProService.apiNameproperty - New property for REST API configuration. Defaults to'default'. -
Phone number confirmation methods - New methods for SMS-based phone verification:
import { useAccountProService } from '@abpjs/account-pro';
function PhoneVerification() {
const accountProService = useAccountProService();
const sendCode = async () => {
// Send confirmation token to user's phone
await accountProService.sendPhoneNumberConfirmationToken();
};
const confirmPhone = async (token: string) => {
// Confirm phone number with the received token
await accountProService.confirmPhoneNumber(token);
};
} -
ProfileResponse.phoneNumberConfirmedfield - New field indicating whether the user's phone number is confirmed.
Deprecations
ProfileResponse.isPhoneNumberConfirmed- Deprecated in favor ofphoneNumberConfirmed. Will be removed in a future version.
v2.2.0
February 2026
- Version alignment with @abpjs/core
v2.1.1
February 2026
- Version alignment with @abpjs/core v2.1.0
v2.0.0
January 2026
New Features
-
enableLocalLoginoption - New configuration option forAccountProProviderto control local login visibility:<AccountProProvider options={{ enableLocalLogin: false }}>
{/* Only social login providers will be available */}
</AccountProProvider> -
isSelfRegistrationEnabledprop - New prop onLoginFormandRegisterFormcomponents to control self-registration:- On
LoginForm: Whenfalse, hides the register link regardless ofshowRegisterLinksetting - On
RegisterForm: Whenfalse, displays a message and redirects to login instead of showing the form
- On
-
Component Interface Types - Added TypeScript interfaces for component inputs/outputs:
Account.TenantBoxComponentInputs/Account.TenantBoxComponentOutputsAccount.PersonalSettingsComponentInputs/Account.PersonalSettingsComponentOutputsAccount.ChangePasswordComponentInputs/Account.ChangePasswordComponentOutputs
Example
import { LoginForm, RegisterForm } from '@abpjs/account-pro';
// Login form with self-registration disabled
<LoginForm
showTenantBox={true}
showRegisterLink={true}
isSelfRegistrationEnabled={false} // Register link won't show
/>
// Register form with self-registration disabled
<RegisterForm
isSelfRegistrationEnabled={false} // Shows disabled message
/>
v1.0.0
January 2026
- Version alignment with @abpjs/core v1.0.0
v0.7.2 (Initial Release)
Features
- LoginForm - Complete login form with tenant switching, remember me, and links to register/forgot password
- RegisterForm - User registration form with validation
- TenantBox - Multi-tenant switching component
- ForgotPassword - Password recovery form with email verification
- ResetPassword - Password reset form using email token
- ChangePassword - Change password form for authenticated users
- PersonalSettings - Profile settings form for updating user information
- ManageProfile - Container component with navigation for profile management
Hooks
- usePasswordFlow - OAuth Resource Owner Password Credentials flow for login
- useAccountProService - Access AccountProService for API operations
- useAccountProOptions - Access account configuration options
Provider
- AccountProProvider - Context provider for account configuration with support for:
- Custom redirect URLs
- Custom login/register URLs
- Social logins toggle
- Two-factor authentication toggle
Services
- AccountProService with methods:
findTenant()- Lookup tenant by nameregister()- Register new usersendPasswordResetCode()- Send password reset emailresetPassword()- Reset password with tokenchangePassword()- Change password for authenticated usergetProfile()- Get current user profileupdateProfile()- Update user profile
Routes
- Pre-configured routes with
ACCOUNT_PRO_ROUTES - Route path constants with
ACCOUNT_PRO_PATHS
TypeScript
- Full TypeScript support with exported interfaces for all models and request/response types