Commit Graph

9521 Commits

Author SHA1 Message Date
Ben Newman
af7f3d7ede Bump package versions for 1.6.2-beta.20 release.
I made a mistake while publishing 1.6.2-beta.16 that means it's easier to
just skip that version.
2018-04-06 11:10:18 -04:00
Christian Klaussner
c0bce716fc Update MongoDB driver to 3.0.5 (#9790)
* Update MongoDB driver to 3.0.5

* Use `MongoClient` instead of `Db` in Meteor Tool

* Update `mongo-livedata` test for new MongoDB driver version

* Consider `BulkWriteError` when checking MongoDB errors
2018-04-06 10:28:25 -04:00
Ben Newman
e6ba875bcc Bump package versions for 1.6.2-beta.19 release.
I made a mistake while publishing 1.6.2-beta.16 that means it's easier to
just skip that version.
2018-04-05 20:29:27 -04:00
Ben Newman
5fbb99ce5b Merge branch 'devel' into release-1.6.2 2018-04-05 20:29:02 -04:00
Ben Newman
b534f92c80 Relax jquery constraints in test-{in-browser,helpers} packages.
Since jquery used to be a core package, and the most recent Meteor release
(1.6.1.1) imposed the ~1.11.11 constraint (note the ~), jquery@1.12.1
won't be usable with Meteor 1.6.x until it is republished after the next
Meteor release, which will no longer constrain the jquery version, because
jquery is no longer a core package (#9607).

In order to publish these two packages sooner rather than later, we need
to relax their jquery version constraints, because we don't want to
publish jquery@1.12.1 yet. The relaxed @1.11.11 constraints in these
package.js files will remain compatible with jquery@1.12.1, so this change
should be safe for the forseeable future.
2018-04-05 20:11:47 -04:00
Ben Newman
e197f5de3f Decompose applyAliases helper from setMinimumBrowserVersions.
Follow-up to #9793.
2018-04-04 12:11:21 -04:00
Jesse Rosenberger
4ab6c11f08 Bump mongo version to 1.4.7 prior to publishing.
This reverts the changes for meteor/meteor#9739 which were temporarily in
place for testing.

Reverts: 41520db1a0.
Ref: 76ac0ca6ee.
2018-04-04 19:10:17 +03:00
Jesse Rosenberger
7cad0f5fe1 Revert "mongo: restart underlying oplog tail every 30 seconds without a doc"
This reverts commit 76ac0ca6ee.
2018-04-04 19:10:17 +03:00
Jesse Rosenberger
a150be0431 Bump mongo version to 1.4.6 prior to publishing.
This includes the changes for meteor/meteor#9739 for testing, but we will
immediately publish 1.4.7 with this commit reverted.
2018-04-04 19:10:17 +03:00
David Glasser
e241a6cc64 mongo: restart underlying oplog tail every 30 seconds without a doc
Workaround for #8598: the Node Mongo driver has at least one bug that can lead
to query callbacks never getting called (even with an error) when leadership
failover occur.
2018-04-04 19:10:17 +03:00
Valentin Uhrmeister
a738fc9999 Alias "chromeMobile" to "chrome" for isModern test (#9793) 2018-04-04 11:49:17 -04:00
Ben Newman
56ac765779 Move jquery package into packages/non-core.
This move will mean the next release of Meteor will not impose any
constraints on the version of the Meteor jquery package.
2018-04-03 09:06:14 -04:00
Ben Newman
934c97f4bd Bump package versions for 1.6.2-beta.18 release.
I made a mistake while publishing 1.6.2-beta.16 that means it's easier to
just skip that version.
2018-04-02 19:48:43 -04:00
Ben Newman
f73fbf7a0b Merge branch 'devel' into release-1.6.2 2018-04-02 19:44:53 -04:00
Ben Newman
2a524dcfd1 Update meteor-babel to 7.0.0-beta.44 and reify to 0.15.1. 2018-04-02 18:54:00 -04:00
Ben Newman
4e1bcb0043 Bump package versions for 1.6.2-beta.17 release.
I made a mistake while publishing 1.6.2-beta.16 that means it's easier to
just skip that version.
2018-04-02 17:35:54 -04:00
Ben Newman
e6a0e9089d Merge branch 'master' into devel 2018-04-02 13:08:43 -04:00
Ben Newman
7cd4947780 Bump package versions for the official 1.6.1.1 release. 2018-04-02 10:21:56 -04:00
Ben Newman
84d776ecb8 Bump package versions for 1.6.1.1-rc.0 release. 2018-03-31 14:33:22 -04:00
Ben Newman
4c0e583249 Update meteor-babel to version 7.0.0-beta.42.
https://github.com/babel/babel/releases/tag/v7.0.0-beta.41
https://github.com/babel/babel/releases/tag/v7.0.0-beta.42

Also updated various @babel/... plugin versions in package.json files.
2018-03-31 13:10:12 -04:00
Ben Newman
9221228919 Bump package versions for 1.6.2-beta.15 release. 2018-03-29 17:41:22 -04:00
Ben Newman
2179096387 Merge branch 'devel' into release-1.6.2 2018-03-29 10:25:28 -04:00
Michał Powaga
7b2aba09a0 Print nicer error message for missing Meteor package (#9719) 2018-03-29 09:51:18 -04:00
Ben Newman
7b06c6043a Downgrade uglify-es to version 3.3.9 (latest published version). (#9774)
* Downgrade uglify-es from 3.3.10 to 3.3.9 (latest published).

PR #9652 by @klaussner upgraded `uglify-es` from 3.2.2 to 3.3.10 to fix
issue #9647, but 3.3.9 is the latest version published to npm, and 3.3.10
seems to suffer from this bug: https://github.com/mishoo/UglifyJS2/issues/2896

For that reason, I think it might be best to downgrade `uglify-es` to
3.3.9, at least until 3.3.11 is published.

Since this bug causes `uglify-es` to throw during minification, the
`meteorJsMinify` function falls back to Babel's minifier, which is known
to use massive amounts of memory, and may be contributing to OOM problems
such as #9568. In other words, there's a chance that this downgrade will
help with #9568.

* Also bump standard-minifier-js package version.
2018-03-28 09:37:54 -04:00
Ben Newman
b4af69796c Make bundle-visualizer depend on webapp, since it imports meteor/webapp. 2018-03-27 18:35:35 -04:00
Ben Newman
05d62dbf9e Bump package versions for 1.6.2-beta.14 release. 2018-03-27 12:41:58 -04:00
Ben Newman
efdc66d614 Merge branch 'devel' into release-1.6.2 2018-03-27 12:15:11 -04:00
Cyrille Colin
cb525f37ae update cordova-plugin-meteor-webapp dependency to 1.6.0 (#9761) 2018-03-27 12:06:09 -04:00
Ben Newman
9c95b78d9e Upgrade install.js package to avoid calling Module.prototype.useNode.
f69158f0a1
2018-03-26 12:04:13 -04:00
Ben Newman
e50da2f367 Merge branch 'devel' into release-1.6.2 2018-03-23 21:17:53 -04:00
Matt
e0c800587c Bump oauth Meteor package version to 1.2.3. 2018-03-22 17:19:24 -04:00
Matt
42983d7063 Removed Fiber import from oauth package.
With commit 857edc2, Fiber is no longer used in oauth server so it is no longer necessary to import.
2018-03-22 17:18:34 -04:00
Ben Newman
eead9c100d Bump package versions for 1.6.2-beta.13 release. 2018-03-21 15:29:53 -04:00
Ben Newman
339f128bd4 Merge branch 'devel' into release-1.6.2 2018-03-21 15:23:01 -04:00
Jesse Rosenberger
b7ea617838 Bump minimongo package version to 1.4.4. 2018-03-21 21:11:44 +02:00
Jesse Rosenberger
39030204a9 Merge branch 'hwillson-mongo-3.6-upgrade-with-test-fix' into devel 2018-03-21 20:24:37 +02:00
Hugh Willson
7eaed1b43a Add $v operator to fix issue #9623 2018-03-21 19:27:04 +02:00
Hugh Willson
824d2d613b Adjust accounts connection close delay for tests
The accounts system `logoutOtherClients` method is using
a connection close delay to make sure clients have a chance
to get updated tokens, before older tokens are removed.
Certain tests are setting this delay to 0, to help speed
things up. The Meteor Mongo 3.6 changes have brought back in
the need to use Mongo journaling, since the ability to disable
journaling has been deprecated by Mongo. This means there is
now a slight performance hit on certain Mongo operations,
due to the increased time needed to cover the write to disk.
This slight performance hit is causing the tests that use the
0 connection close delay to fail, since they are not waiting
long enough for clients to get updated tokens, before they're
removed. These changes increase the test connection close
delay, to fix the failing tests.
2018-03-21 19:27:03 +02:00
Hugh Willson
542ad06b75 Revert the revert of "Upgrade to Mongo 3.6 (#9533)"
This reverts commit 85d74f8d2b.
2018-03-21 19:27:03 +02:00
MKRazz
857edc2079 Removed fiber wrapper around OAuth middleware. (#9740)
* Removed fiber wrapper around OAuth middleware.

With commit 3b18863, connect handlers are guaranteed to run in a fiber, making the fiber wrapper in the OAuth middleware superfluous. Additionally, because it manually wraps the middleware in a Fiber directly, it is losing access to the properties stored in the existing fiber (meteor/meteor-feature-requests#156).

* Bump oauth Meteor package version to 1.2.2.
2018-03-21 12:05:13 -04:00
Ben Newman
f9050936fa Merge pull request #9756 from meteor/update-meteor-babel-to-7.0.0-beta.42
Update meteor-babel to 7.0.0-beta.42.
2018-03-21 12:01:05 -04:00
Hugh Willson
d2db339087 Move markdown and showdown to packages/deprecated (#9737) 2018-03-21 11:52:01 -04:00
Pravdomil
ecf726ebf3 Make _debug reporting more consistent (#9678) 2018-03-21 11:43:48 -04:00
Ben Newman
4b2d6c22bc Update meteor-babel to version 7.0.0-beta.42.
https://github.com/babel/babel/releases/tag/v7.0.0-beta.41
https://github.com/babel/babel/releases/tag/v7.0.0-beta.42
2018-03-20 19:57:00 -04:00
Ben Newman
5fba1fd3e2 Bump meteor package version to 1.8.6 to publish with Meteor 1.6.0.1.
cc @abernix
2018-03-17 12:11:07 -04:00
Ben Newman
39ff1f413c Revert "Allow EnvironmentVariable#withValue callbacks to return Promises." (#9750)
This reverts commit 573f14f171.

As discussed with @glasser, this change may have been more disruptive than
helpful (e.g. #9730) and could also have negative performance
consequences. Since we don't actually rely on `withValue` awaiting the
result of the callback (yet), it seems safest to revert this change, and
possibly add a different method called something like `withAwaitedValue`
at some later time, if necessary.

Fixes #9730.
2018-03-17 02:59:28 -04:00
Ben Newman
3ee4b61b1d Bump package versions for 1.6.2-beta.12 release. 2018-03-07 14:39:22 -05:00
Ben Newman
cc77e963c5 Merge branch 'devel' into release-1.6.2 2018-03-07 12:31:43 -05:00
David Glasser
e5a4306b63 webapp: allow overriding httpServer.listen (#9720) 2018-03-07 12:04:54 -05:00
Timo Horstschäfer
aee0c15b06 Preserve error.stack in method callback (#9707) 2018-03-07 11:53:52 -05:00