Commit Graph

17501 Commits

Author SHA1 Message Date
Ben Newman
f419899ce7 Bump package versions for the official 1.4.1.3 release. release/METEOR@1.4.1.3 2016-10-21 20:15:28 -04:00
Ben Newman
247fa7b8ae Bump package versions for 1.4.1.3-rc.1 release. release/METEOR@1.4.1.3-rc.1 2016-10-21 12:38:09 -04:00
Ben Newman
c6975d8eb7 Upgrade mongodb npm package to version 2.2.11. 2016-10-21 12:28:34 -04:00
Ben Newman
dc91fee73f Remove version constraints from packages/accounts-base/package.js.
Version constraints are unnecessary when publishing a release, and tend to
complicate things when the constraints are out of date with packages that
are updated by the release.
2016-10-21 12:27:50 -04:00
Christian Klaussner
f9b0f2f60d Update links to MongoDB driver docs 2016-10-21 11:25:18 -04:00
Ben Newman
47d3546b3a Fix problems in request callback that broke getUrlWithResuming tests. 2016-10-21 11:25:17 -04:00
Ben Newman
545493b34a Report an error when HTTP request body is incomplete.
When a download aborts prematurely, the status code is often 200 OK, even
though we probably should not proceed with any further processing of the
downloaded information.

This silent failure leads to problems like the dreaded "Error: ENOENT: no
such file or directory, open... os.json" (#7806 and others), which were
hard to diagnose properly because the failure occurred only later, when
extracting a buffer that downloaded incompletely.

The getUrlWithResuming helper should be able to retry after this error is
thrown, which will result in a more helpful warning, even if in the most
common case, i.e. MaxCDN failure, it will never actually succeed.

Note that this change will not help until Meteor 1.4.2 is officially
released and becomes the implementation used to download later releases.

Mitigates #7806.
2016-10-21 11:25:17 -04:00
Ben Newman
aa68060445 Protect against null return values from getDevBundleForRelease. (#7841)
Fixes #7838.
2016-10-21 11:25:17 -04:00
Ben Newman
c167309e7f Support meteor <command> for any dev_bundle/bin/<command> executable.
This will make it easier to use tools like https://yarnpkg.com/ with the
right version of Node, etc.

With this commit, here's all you have to do:

  meteor npm install -g yarnpkg

Then test that it works:

  meteor yarn info

Note that any commands registered by Meteor itself will not be honored.
2016-10-21 11:12:55 -04:00
Ben Newman
5d3e2bd884 Bump mongo package version to 1.1.12_5. 2016-10-21 11:12:54 -04:00
Ben Newman
0344f58b06 Set mongoOptions.server.reconnectTries = Infinity.
Setting mongoOptions.server.auto_reconnect was removed by #7880 via commit
0ffb9ac824, though it seems the Server
options still respect autoReconnect, even in version 2.2 of the driver:
http://mongodb.github.io/node-mongodb-native/2.2/api/Server.html

That said, having inspected the code of the `mongodb` package, I do not
believe this change is really critical, since the default value for
autoReconnect appears to be true.

More importantly, I can't find any support in the code of the `mongodb`
npm package or its dependencies for the claim that setting
mongoOptions.server.reconnectTries to 0 is the same as making it infinite,
so this commit sets it to Infinity.
2016-10-21 11:12:54 -04:00
Ben Newman
037e9b8820 Use npm-mongo@2.2.10_1 in mongo@1.1.12_4. 2016-10-21 11:12:54 -04:00
Ben Newman
ef4f547a94 Make npm-mongo package version match npm mongodb package. 2016-10-21 11:12:53 -04:00
Tom Coleman
554eb628eb Reconnect to mongo indefinitely. (#7880)
* Reconnect to mongo indefinitely.

A fix for https://github.com/meteor/meteor/issues/7822

It seems the driver now always autoReconnects, but only for 30s.

To get the old (sensible) behavior of endlessly reconnecting, we set `reconnectTries` to 0.

* Releasing an rc of mongo package
2016-10-21 11:12:53 -04:00
Ben Newman
738f7560b4 Add note about killing mongod on shutdown to History.md. 2016-10-21 11:12:50 -04:00
Ben Newman
c20609022f Kill mongo when server process exits.
We try to kill any mongod processes before starting new ones, but this
change kills it when the development server shuts down, too.

Killing mongo on shutdown is particularly important for tests that run
meteor multiple times in a row, and for whatever reason fail to find and
kill running mongod processes on startup, e.g. because the --port has
changed (#7563).

This comment by @glasser seems to suggest this is a reasonable idea:
https://github.com/meteor/meteor/issues/2182#issuecomment-45685614

Fixes #2182 and possibly other related bugs.
2016-10-21 11:12:32 -04:00
Ben Newman
b8d872fa77 Automatically reconfigure Mongo replication set when --port differs.
Fixes #7563.
2016-10-21 11:12:26 -04:00
Ben Newman
61d647f9f7 Don't try to use native tar command on Windows.
Fixes #7689.
2016-10-21 10:56:46 -04:00
Ben Newman
0f7d725ebe Bump package versions for 1.4.1.3-rc.0 release. release/METEOR@1.4.1.3-rc.0 2016-10-20 13:56:00 -04:00
Ben Newman
cfb8a572c8 Bump $BUNDLE_VERSION to 4.4.1 before rebuilding dev bundle. 2016-10-20 13:53:01 -04:00
Ben Newman
982853e727 Update Node to version 4.6.1.
https://nodejs.org/en/blog/release/v4.6.1/
2016-10-20 13:38:48 -04:00
Ben Newman
0168065d17 Fix shrink_fibers function in generate-dev-bundle.sh.
This logic needs to agree with the following expression:
https://github.com/laverdet/node-fibers/blob/8d7e4ffeb5151ade/build.js#L31
2016-10-20 13:37:14 -04:00
Ben Newman
ba7f0169f7 Upgrade the fibers npm package to version 1.0.15.
This should hopefully improve performance in the rare event that a large
number of fibers get created simultaneously.
2016-10-20 13:20:00 -04:00
Ben Newman
06e583c9f0 Merge pull request #7866 from meteor/release-1.4.1.2
Release 1.4.1.2
2016-10-04 14:47:10 -04:00
Ben Newman
1d74c0ce5e Bump package versions for the official 1.4.1.2 release. release/METEOR@1.4.1.2 2016-10-04 12:44:28 -04:00
Ben Newman
2937403be0 Bump package versions for 1.4.1.2-rc.0 release. release/METEOR@1.4.1.2-rc.0 2016-10-04 12:34:01 -04:00
Ben Newman
595f67fda8 Bump $BUNDLE_VERSION to 4.3.0 before rebuilding dev bundle. 2016-10-04 11:58:35 -04:00
Ben Newman
9ecf3f2b50 Upgrade Node to 4.6.0 and npm to 3.10.8. 2016-10-04 11:58:35 -04:00
Tom Coleman
a7c04581a0 Merge branch 'release-1.4.1.1' 2016-08-24 17:14:18 +10:00
Tom Coleman
e9a57a9bad Bumped node module version again for 1.4.1.1 release release/METEOR@1.4.1.1 2016-08-24 14:54:37 +10:00
Tom Coleman
6eec080025 Preparing the 1.4.1.1 release 2016-08-24 12:23:42 +10:00
Tom Coleman
d1edbebbf5 Set a minimum version for npm-mongo package in mongo package
So when we do a release, the constraint will force users to get the
new npm-mongo package. We likely will seek a better solution to
this kind of problem in the future
2016-08-24 11:48:31 +10:00
Tom Coleman
5fa59d2b8b Bumping version of the npm-mongo package for #7594
This was a fairly serious issue with the mongo driver
2016-08-23 11:44:21 +10:00
Ben Newman
ed649b8a0a Merge branch 'release-1.4.1' 2016-08-18 15:53:16 -04:00
Ben Newman
365c765971 Bump package versions for the official 1.4.1 release. release/METEOR@1.4.1 2016-08-18 11:37:18 -04:00
Ben Newman
e90c638c9f Bump package versions for 1.4.1-rc.7 release. release/METEOR@1.4.1-rc.7 2016-08-17 18:18:21 -04:00
Ben Newman
4c1fe8ff22 Convert options.npmDir only if it's a string. 2016-08-17 18:18:07 -04:00
Ben Newman
61c1ab0cac Avoid colons in .npm/plugin/... paths.
Fixes #7661.
2016-08-17 18:08:29 -04:00
Ben Newman
16fdc9f2c8 Merge branch 'devel' into release-1.4.1 2016-08-17 15:28:41 -04:00
Ben Newman
ff0f9fe7b6 Update History.md with recent changes in 1.4.1. 2016-08-17 15:27:39 -04:00
Ben Newman
c51ca73575 Bump package versions for 1.4.1-rc.6 release. release/METEOR@1.4.1-rc.6 2016-08-17 14:53:29 -04:00
Ben Newman
61012963a5 Fix test description to say --all-packages instead of --update-all. 2016-08-17 14:53:28 -04:00
Ben Newman
d6ffff50b5 Recommend meteor update --all-packages after partial update. 2016-08-17 14:53:28 -04:00
Ben Newman
9249985875 Filter --all-packages package names through isIsobuildFeaturePackage. 2016-08-17 14:53:28 -04:00
Yo-An Lin
e326fddafb Add option to skip release check (#7445)
* Add --no-release-check option to skip release check

* Add METEOR_NO_RELEASE_CHECK environment variable
2016-08-17 14:53:27 -04:00
Tom Coleman
2290911723 Added meteor update --all-packages to update indirect dependencies
See #7495. Still some decisions to be made:

 - Should we make --all-packages the default?
 - How should we deal with *new* indirect dependencies?
 - Should we do anything about underpinning indirect dependencies when updating?
2016-08-17 14:53:27 -04:00
Ben Newman
0693c84d87 Merge pull request #7653 from meteor/7495-update-indirect-dependencies
Added `meteor update --all-packages` to update indirect dependencies.
2016-08-17 14:50:29 -04:00
Ben Newman
2d40f2c592 Recommend meteor update --all-packages after partial update. 2016-08-17 10:56:25 -04:00
Ben Newman
f006d98e8d Filter --all-packages package names through isIsobuildFeaturePackage. 2016-08-17 10:55:52 -04:00
Yo-An Lin
1a8a1177e0 Add option to skip release check (#7445)
* Add --no-release-check option to skip release check

* Add METEOR_NO_RELEASE_CHECK environment variable
2016-08-17 10:00:15 -04:00