Releases: auth0/lock
Releases · auth0/lock
10.0.0-rc.1
10.0.0-beta.5
Fixed
- Fixed bug that prevented custom sign up fields from being
validated.
Changed
- Upgraded to React v15.
- Upgraded auth0.js to v7.0.3.
Added
- Added the
language
option. Translations forit
,pt-br
,ru
andes
are provided out of the box. Thanks @yvonnewilson, @dirceu,
@lilapustovoyt and @darkyen! - Lock now will emit the following events.
show
: emitted when Lock is shown. Has no arguments.hide
: emitted when Lock is hidden. Has no arguments.unrecoverable_error
: emitted when there is an unrecoverable
error, for instance when no connection is available. Has the error
as the only argument.authenticated
: emitted after a successful authentication. Has
the authentication result as the only argument.authorization_error
: emitted when authorization fails. Has the
error as the only argument.
Note theauthenticated
andauthorization_error
events replace
the callback in the constructor.
- Display a tooltip on invalid inputs with a hint on how to fix the
error.
10.0.0-beta.4
Fixed
- A proper error message is shown when no connection is available.
Changed
- Removed JSONP support.
Added
- Support for the new Bitbucket and Dropbox social connections.
- Additional sign up fields can now be prefilled and have a
select
type, which allows the user to choose the value from a predefined
list of options.
10.0.0-beta.3
Fixed
- Allow to translate password strength messages.
Changed
- Don't fetch profile automatically after a successful login.
- Display just an email input in the forgot password screen. Before,
an username input was displayed when the connection required an
username.
10.0.0-beta.2
Fixed
- Fetch bigger gravatars, so they look better on high-density screens.
- Don't fetch SSO data when SSO is disabled.
- Bunch of small UI issues.
- NPM package require. Now
require('auth0-lock')
will work (previously you had to dorequire('auth0-lock/lib/classic')
).
Changed
- Renamed
close
method tohide
. - Renamed
connections
option toallowedConnections
. - Renamed
signUp.footerText
dict key tosignUp.terms
.
Added
- Support for enterprise connections.
- Allow to specify the the default datbase connection via the
defaultDatabaseConnection
option. - Optionally request users to agree to terms and conditions before
signing up via themustAcceptTerms
option.
10.0.0-beta.1
First preview release, see https://auth0.com/docs/libraries/lock/v10 for details.