Skip to content

Commit 293a061

Browse files
committed
Updated version and documentation.
1 parent 4a34ee2 commit 293a061

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# ChangeLog
22

3-
### v1.3.0
3+
### v1.2.12
4+
6-January-2017
45

5-
* #49 - Support for inline field validation message?
6+
* #49 - Support for inline field validation message
7+
* Added missing deprecation notices.
8+
9+
### v1.2.11
10+
18-December-2016
11+
12+
* #61 - BUG: Error «Need to set a username or email» when email is set
13+
* Solved #61 by adding functionality to remember entered values in localStorage, which also makes it possible to remember values between routes (i.e. when switching between /login and /register).
614

715
### v1.2.10
816
14-December-2016

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# React Accounts UI
22

3-
Current version 1.3.0
3+
Current version 1.2.12
44

55
## Features
66

@@ -513,7 +513,7 @@ Accounts.onCreateUser(function (options, user) {
513513

514514
## Deprecations
515515

516-
### v1.3.0
516+
### v1.2.11
517517
* The use of FormMessage in Form has been deprecated in favor of using
518518
FormMessages that handles multiple messages and errors.
519519
See example: [Form.jsx#L43](imports/ui/components/Form.jsx#L43)

imports/ui/components/FormMessage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export class FormMessage extends React.Component {
77
// XXX Check for deprecations.
88
if (deprecated) {
99
// Found backwords compatibility issue.
10-
console.warn('You are overriding Accounts.ui.Form and using FormMessage, the use of FormMessage in Form has been depreacted in v1.3.0, update your implementation to use FormMessages: https://github.com/studiointeract/accounts-ui/#deprecations');
10+
console.warn('You are overriding Accounts.ui.Form and using FormMessage, the use of FormMessage in Form has been depreacted in v1.2.11, update your implementation to use FormMessages: https://github.com/studiointeract/accounts-ui/#deprecations');
1111
}
1212
message = _.isObject(message) ? message.message : message; // If message is object, then try to get message from it
1313
return message ? (

imports/ui/components/LoginForm.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ export class LoginForm extends Tracker.Component {
910910
ReactDOM.render(<Accounts.ui.Field message="test" />, container);
911911
if (container.getElementsByClassName('message').length == 0) {
912912
// Found backwards compatibility issue with 1.3.x
913-
console.warn(`Implementations of Accounts.ui.Field must render message in v1.3.0.
913+
console.warn(`Implementations of Accounts.ui.Field must render message in v1.2.11.
914914
https://github.com/studiointeract/accounts-ui/#deprecations`);
915915
}
916916
}

package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
name: 'std:accounts-ui',
3-
version: '1.3.0',
3+
version: '1.2.12',
44
summary: 'Accounts UI for React in Meteor 1.3+',
55
git: 'https://github.com/studiointeract/accounts-ui',
66
documentation: 'README.md'

0 commit comments

Comments
 (0)