- Return type of onMigrate callback should be an array.
- onMigrate callback can be invoked many times until all components
are ready to migrate.
- DDP negotiation failures should always migrate immediately.
The changes made in 8bbfd531c1 prevent
JSDoc (used to generate docs for https://docs.meteor.com via the
https://github.com/meteor/docs repository) from associating the
convenience methods which are exposed on the `Meteor` namespace
(e.g. `Meteor.call`, `Meteor.apply`, `Meteor.reconnect,` etc.) as they are
being identified as members of the `Connection` class. While this is
techincally true, and all of these are also available on
`Meteor.connection` (e.g. `Meteor.connection.status`), we have
historically exposed them in the docs using their (preferred) `Meteor.*`
aliases.
Hopefully, this at least partially resolves
8f7ceb5de5.
May help prevent the problem that occurred in this Circle CI test run,
since lolex was the package with hash sha1-LycSsbwYDendzF06epbvPAuxYq0=:
https://circleci.com/gh/meteor/meteor/12641
* Change error suppressing property in livedata_connection.js
Fixes#6912
Switched the property from `expected` to `_expectedByTest`
* Update History.md and bump package patch versions
For a while the livedata `reconnect to a different server` test
was failing since the `reverse.meteor.com` host and application
were taken down, but nobody noticed. This is because even
though the test was still enabled, it was configured to swallow
the failure if the connection failed. `reverse.meteor.com` has
been brought back up, so this commit adjusts the test to make
sure it will properly fail if `reverse.meteor.com` goes down
again.
Fixes https://github.com/meteor/meteor/issues/8092.
Fixes the error reported in the 1.6.1 pull request. (Thanks, @yorrd!)
It's worth nothing that the `DDP._allSubscriptionsReady` function which
was broken is used by the deprecated `spiderable` package. Since
`spiderable` is deprecated, it's advisable to look into ways to stop
depending on it.
Refs: https://github.com/meteor/meteor/pull/9274#issuecomment-345358178.