From 653d4db712db1c112ffe070f0922558b6c868fdf Mon Sep 17 00:00:00 2001 From: Gabriel Andretta Date: Mon, 4 Jul 2016 12:09:01 -0300 Subject: [PATCH] Release: 10.0.0-rc.2 --- CHANGELOG.md | 12 ++++++++++-- bower.json | 2 +- examples/bundling/browserify/README.md | 4 ++++ examples/bundling/browserify/package.json | 2 +- examples/bundling/webpack/README.md | 4 ++++ examples/bundling/webpack/package.json | 2 +- package.json | 2 +- src/field/index.js | 1 + 8 files changed, 23 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a18d063bd..e460eec43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ -## unreleased +## [10.0.0-rc.2] - 2016-07-05 ### Fixed -- Fix issue with the blueimp library when bundling with webpack. +- Fixed issue with the blueimp library when bundling with webpack. +- Stopped fetching SSO data when SSO is disabled. +- The location hash is no longer cleared every time Lock is + initialized. + +### Added + +- The validator function for additional sign up fields now allows to + specify a hint that will be displayed when the field is invalid. ## [10.0.0-rc.1] - 2016-06-22 diff --git a/bower.json b/bower.json index f5610e5c9..3ae988dcb 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "auth0-lock", - "version": "10.0.0-rc.1", + "version": "10.0.0-rc.2", "main": "build/lock.js", "ignore": [ "lib-cov", diff --git a/examples/bundling/browserify/README.md b/examples/bundling/browserify/README.md index b00424a9c..a5de5cf74 100644 --- a/examples/bundling/browserify/README.md +++ b/examples/bundling/browserify/README.md @@ -3,3 +3,7 @@ This example shows how to bundle the `auth0-lock` npm package with [browserify](https://browserify.org). It uses [Babel](https://babeljs.io/) to support the new [ES2015 syntax](https://babeljs.io/docs/learn-es2015/), but it is not a requirement. First, ensure you have [node](https://nodejs.org/) installed on your system. Then, run `npm install` to install the project's dependencies and `npm run build` to build the bundle. Finally, open `index.html` in your favorite browser. + +## Warning + +Having multiple copies of [React](https://facebook.github.io/react) in your bundle can cause problems. Lock was built using React, and if your project, or any other dependency, also depends on React, you might en up with two different versions in your bundle. In such scenarios, you should see a warning when doing `npm install`. Also, you can check with `npm ls react` at any time. diff --git a/examples/bundling/browserify/package.json b/examples/bundling/browserify/package.json index 3fc2493d0..a2d08e7fc 100644 --- a/examples/bundling/browserify/package.json +++ b/examples/bundling/browserify/package.json @@ -15,7 +15,7 @@ ] }, "dependencies": { - "auth0-lock": "10.0.0-rc.1" + "auth0-lock": "10.0.0-rc.2" }, "devDependencies": { "babel-preset-es2015": "^6.3.13", diff --git a/examples/bundling/webpack/README.md b/examples/bundling/webpack/README.md index 8d857d522..96f2b19db 100644 --- a/examples/bundling/webpack/README.md +++ b/examples/bundling/webpack/README.md @@ -3,3 +3,7 @@ This example shows how to bundle the `auth0-lock` npm package with [webpack](https://webpack.github.io/). It uses [Babel](https://babeljs.io/) to support the new [ES2015 syntax](https://babeljs.io/docs/learn-es2015/), but it is not a requirement. First, ensure you have [node](https://nodejs.org/) installed on your system. Then, run `npm install` to install the project's dependencies and `npm run build` to build the bundle. Finally, open `index.html` in your favorite browser. + +## Warning + +Having multiple copies of [React](https://facebook.github.io/react) in your bundle can cause problems. Lock was built using React, and if your project, or any other dependency, also depends on React, you might en up with two different versions in your bundle. In such scenarios, you should see a warning when doing `npm install`. Also, you can check with `npm ls react` at any time. diff --git a/examples/bundling/webpack/package.json b/examples/bundling/webpack/package.json index 6bc59b54c..8eb644ee1 100644 --- a/examples/bundling/webpack/package.json +++ b/examples/bundling/webpack/package.json @@ -10,7 +10,7 @@ "author": "", "license": "MIT", "dependencies": { - "auth0-lock": "10.0.0-rc.1" + "auth0-lock": "10.0.0-rc.2" }, "devDependencies": { "babel-core": "^6.4.0", diff --git a/package.json b/package.json index 4d49980b9..0d412c00a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "auth0-lock", - "version": "10.0.0-rc.1", + "version": "10.0.0-rc.2", "description": "Auth0 Lock", "author": "Auth0 (http://auth0.com)", "license": "MIT", diff --git a/src/field/index.js b/src/field/index.js index 134670d52..0c74b96ab 100644 --- a/src/field/index.js +++ b/src/field/index.js @@ -1,3 +1,4 @@ +import React from 'react'; import { Map } from 'immutable'; import trim from 'trim'; import OptionSelectionPane from './option_selection_pane';