diff --git a/History.md b/History.md index 587dbd676a..7201fe49d0 100644 --- a/History.md +++ b/History.md @@ -1,6 +1,49 @@ ## vNEXT +* This release introduces Meteor Accounts, a full-featured auth system that supports + - fine-grained user-based control over database reads and writes + - federated login with Facebook, GitHub, Google, Twitter, and Weibo + - secure password login + - email validation and password recovery + - an optional set of UI widgets implementing standard login/signup/password + change/logout flows + + When you upgrade to Meteor 0.5.0, existing apps will lose the ability to write + to the database from the client. To restore this, either: + - configure each of your collections with + [`collection.allow`](http://docs.meteor.com/#allow) and + [`collection.deny`](http://docs.meteor.com/#deny) calls to specify which + users can perform which write operations, or + - add the `insecure` smart package (which is included in new apps by default) + to restore the old behavior where anyone can write to any collection which + has not been configured with `allow` or `deny` + + For more information on Meteor Accounts, see http://docs.meteor.com/#accounts + +* Arrays and objects can now be stored in the `Session`; mutating the value you + retrieve with `Session.get` does not affect the value in the session. + +* On the client, `Meteor.apply` takes a new `wait` option, which ensures that no + further method calls are sent to the server until this method is finished; it + is used for login and logout methods in order to keep the user ID + well-defined. You can also specifiy an `onReconnect` handler which is run when + re-establishing a connection; Meteor Accounts uses this to log back in on + reconnect. + +* Meteor now provides a compatible replacement for the DOM `localStorage` + facility that works in IE7, in the `localstorage-polyfill` smart package. + +* `Meteor.Collection` now takes its optional `manager` argument (used to + associate a collection with a server you've connected to with + `Meteor.connect`) as a named option. (The old call syntax continues to work + for now.) + +* Fix a bug where trying to immediately resubscribe to a record set after + unsubscribing could fail silently. + +* Better error handling for failed Mongo writes from inside methods; previously, + errors here could cause clients to stop processing data from the server. ## v0.4.2 diff --git a/examples/unfinished/accounts-ui-viewer/.meteor/.gitignore b/examples/unfinished/accounts-ui-viewer/.meteor/.gitignore new file mode 100644 index 0000000000..4083037423 --- /dev/null +++ b/examples/unfinished/accounts-ui-viewer/.meteor/.gitignore @@ -0,0 +1 @@ +local diff --git a/examples/unfinished/accounts-ui-viewer/.meteor/packages b/examples/unfinished/accounts-ui-viewer/.meteor/packages new file mode 100644 index 0000000000..634f653e55 --- /dev/null +++ b/examples/unfinished/accounts-ui-viewer/.meteor/packages @@ -0,0 +1,15 @@ +# Meteor packages used by this project, one per line. +# +# 'meteor add' and 'meteor remove' will edit this file for you, +# but you can also edit it by hand. + +autopublish +insecure +preserve-inputs +accounts-ui +less +accounts-google +accounts-github +accounts-password +underscore +accounts-facebook diff --git a/examples/unfinished/accounts-ui-viewer/accounts-ui-viewer.html b/examples/unfinished/accounts-ui-viewer/accounts-ui-viewer.html new file mode 100644 index 0000000000..9189a5972e --- /dev/null +++ b/examples/unfinished/accounts-ui-viewer/accounts-ui-viewer.html @@ -0,0 +1,112 @@ +
+