Commit Graph

21559 Commits

Author SHA1 Message Date
Ben Newman
af40e4c2c7 Bump package versions for 1.7.1-beta.33 release. release/METEOR@1.7.1-beta.33 2018-08-14 20:39:21 -04:00
Ben Newman
8da7804726 Don't allow overriding the meteor-tool package version. 2018-08-14 20:39:17 -04:00
Ben Newman
4a70b12edd Allow package-name@x.y.z! override syntax in .meteor/packages.
With this commit, if a top-level package version constraint in
.meteor/packages ends with a '!' character, any other (non-!) constraints
on that package elsewhere in the application will be weakened to accept
any version of the package that is not less than the constraint,
regardless of whether the major/minor versions actually match.

This functionality is extremely useful in cases where an unmaintained
package was last published with api.versionsFrom(<some ancient version>),
thus constraining the major version of any Meteor core package it depended
on, but you really want to upgrade that core package anyway. Just put a
'!' after the core package's version constraint in your .meteor/packages
file, and you will almost certainly get your way. The fact that minimum
versions are still enforced is good/fine because the constraints you want
to override are typically ancient, so they easily match any recent version
of the package.

Your only recourse before this @x.y.z! syntax was to find a replacement
for the unmaintained package, or fork and modify it locally, or somehow
persuade the package author to publish a new version with a more
reasonable api.versionsFrom. None of these options were easy.

Many thanks to @GeoffreyBooth, long-time maintainer of the `coffeescript`
package, for originally suggesting a ! syntax similar to this one:
https://github.com/meteor/meteor-feature-requests/issues/208#issuecomment-400154209

The limitation of this syntax to .meteor/packages is deliberate, since
overriding package version constraints is a power-tool that should be used
sparingly by application developers, and never abused by package authors.
Also, limiting the scope of this syntax reduces the risk of an arms race
between overrides, a la the infamous CSS !important modifier.
2018-08-14 20:27:23 -04:00
Geoffrey Challen
8dd3ce5028 Parse URL query parameters before it's destroyed (#10152)
The inline middleware that strips the ROOT_URL_PATH_PREFIX destroys req.url. If this happens before the query parameters are parsed by use(query()) the query parameters are always missing. This causes OAuth authentication to fail when ROOT_URL_PATH_PREFIX is set.

A better fix would be to fix the path stripping logic so that it preserves the URL parameters, since other things may try to rely on them later. But this works for now.
2018-08-14 15:25:55 -04:00
Ben Newman
554936cff3 Bump package versions for 1.7.1-beta.32 release. release/METEOR@1.7.1-beta.32 2018-08-13 18:47:20 -04:00
Ben Newman
cfb6a45ab5 Compute static manifest.json lazily in webapp_server.js.
Should fix #10088.
2018-08-13 18:43:24 -04:00
Ben Newman
5c4cad6a19 Update packages/non-core/blaze submodule to latest master. 2018-08-13 16:33:33 -04:00
Ben Newman
44eeebf146 Bump $BUNDLE_VERSION to 8.11.3.15 before rebuilding dev bundle. 2018-08-13 14:16:19 -04:00
Ben Newman
ccea994043 Continue supporting deprecated module.watch API for now.
Short-term fix for #10148.

Unfortunately, unlike most Meteor package and application code, which is
compiled after installation, Meteor compiler plugins are compiled before
they are published, so it's possible for a compiler plugin that uses the
ecmascript package to contain generated code that still uses the
module.watch API, instead of the new and improved module.link API.

A better long-term fix for this problem would be to compile compiler
plugins like any other Meteor code, using whatever version of the
ecmascript plugin the rest of the application is using.
2018-08-13 14:15:12 -04:00
Ben Newman
f058e59c56 Update shrinkwrap for json5 dependency of babel-compiler. 2018-08-12 15:23:47 -04:00
Lukas Strassel
c5eae1e050 Allow JSON5 in .babelrc files (#10098) 2018-08-12 15:10:58 -04:00
Ben Newman
4b1fc2e145 Bump mongo-decimal package version to 0.1.0 before initial publish. 2018-08-10 18:09:21 -04:00
Ben Newman
62fa9927ce Bump package versions for 1.7.1-beta.31 release. release/METEOR@1.7.1-beta.31 2018-08-10 12:59:17 -04:00
Ben Newman
7ee26d43bd Bump minor version of mongo package to force useNewUrlParser fix. 2018-08-10 12:51:36 -04:00
Ben Newman
c958c982d6 Use ecmascript in srp package.
Follow-up to #10136.
Fixes #10143.
2018-08-10 11:48:24 -04:00
Ben Newman
bcef1447e7 Merge branch 'devel' into release-1.7.1 2018-08-10 11:48:19 -04:00
James Burgess
73a7ab6540 Remove underscore from facts-base and add tests (#10138) 2018-08-09 19:26:06 -04:00
Ben Newman
36d9bc12bb Fix a few Object.prototype.hasOwnProperty misuses.
As reported by @leosco:
https://github.com/meteor/meteor/pull/9942#issuecomment-411902381
2018-08-09 18:19:35 -04:00
Ben Newman
2ffea7b476 Bump package versions for 1.7.1-beta.30 release. release/METEOR@1.7.1-beta.30 2018-08-09 16:52:13 -04:00
Ben Newman
e80f92bef2 Remove deprecated ecmaFeatures option from .eslintrc. 2018-08-09 16:52:12 -04:00
Ben Newman
cb4541df22 Bump $BUNDLE_VERSION to 8.11.3.14 before rebuilding dev bundle. 2018-08-09 16:48:31 -04:00
Ben Newman
b29ed0d133 Update meteor-babel to version 7.0.0-rc.1. 2018-08-09 16:35:10 -04:00
Christian Klaussner
340c7d9ab5 Update mongo test to match MongoDB 4.0 output (#10058)
The `mongo` shell is run with the `--quiet` option (7f7a987251), so there's no more output to match.
2018-08-09 16:09:35 -04:00
Ben Newman
a875ac5547 Bump $BUNDLE_VERSION to 8.11.3.13 before rebuilding dev bundle. 2018-08-08 21:26:05 -04:00
Christian Klaussner
7f7a987251 Use --quiet option when running mongo shell 2018-08-08 18:23:33 -04:00
Christian Klaussner
b6574915fc Use protocol version 1 when initiating replica set
Protocol version 0 (used by default) is deprecated in MongoDB 4.0 (https://docs.mongodb.com/manual/release-notes/4.0/#remove-pv0-for-replica-sets).
2018-08-08 18:23:33 -04:00
Christian Klaussner
48075f4fd3 Update regular expression to match MongoDB 4.0 output 2018-08-08 18:23:32 -04:00
Christian Klaussner
22289e0bcd Update MongoDB to 4.0 2018-08-08 18:23:29 -04:00
Ben Newman
8baffaf090 Bump package versions for 1.7.1-beta.29 release. release/METEOR@1.7.1-beta.29 2018-08-07 13:59:29 -04:00
Ben Newman
29ce8f2142 Adjust @babel/runtime version constraints in test app package.json files.
According to the plan described in #10134, whereas we had to pin these
versions to exactly 7.0.0-beta.55 for Meteor 1.7.0.4, we must now require
at least 7.0.0-beta.56 for Meteor 1.7.1, since other @babel/... packages
used by babel-compiler and meteor-babel are currently at beta.56.
2018-08-07 13:49:32 -04:00
Ben Newman
da784cbcfa Make babel-runtime require at least @babel/runtime@7.0.0-beta.56.
https://github.com/meteor/meteor/pull/10134#issue-206446005
2018-08-07 13:35:46 -04:00
Ben Newman
defbf6d6eb Merge branch 'devel' into release-1.7.1 2018-08-07 13:30:16 -04:00
Ben Newman
aba03743ad Update dynamic-import test app to Meteor 1.7.0.4.
Unit tests will still run the app from a checkout of the devel branch, but
it's worth noting that Meteor 1.7.0.4 also works for this app.
2018-08-07 12:33:15 -04:00
Ben Newman
228688cb8c Update vulnerable moment dependency of modules test app. 2018-08-07 12:28:44 -04:00
Ben Newman
619a8b6924 Merge branch 'master' into devel 2018-08-07 11:49:34 -04:00
Ben Newman
f033e492a0 Merge pull request #10134 from meteor/release-1.7.0.4
Release 1.7.0.4
2018-08-07 11:28:48 -04:00
Ben Newman
47e36c562f Bump package versions for the official 1.7.0.4 release. release/METEOR@1.7.0.4 2018-08-07 10:13:46 -04:00
Joachim Achtzehnter
31aa1238de Request less than 4GB on 32-bit platforms (#10081)
A recent commit added a flag to request 4GB space for node, which
causes an immediate segmentation fault on 32-bit Linux.
2018-08-07 10:11:44 -04:00
James Burgess
5b664d7444 Remove underscore from reactive-dict and session packages (#10131) 2018-08-07 08:58:55 -04:00
Chris Hearn
a8af2ba590 Fix typo in ImportScanner#_readFile (#10132) 2018-08-07 08:57:38 -04:00
James Burgess
8221bb31f9 Remove underscore from srp package (#10136) 2018-08-07 08:53:15 -04:00
Ben Newman
461b7217a8 Update projected release date for Meteor 1.7.0.4 (tomorrow). 2018-08-06 19:41:23 -04:00
Ben Newman
ec6716ce7e Pin another @babel/runtime dependency in an old test app. 2018-08-06 18:42:13 -04:00
Ben Newman
4a5b915ac6 Bump package versions for 1.7.0.4-rc.1 release. release/METEOR@1.7.0.4-rc.1 2018-08-06 13:34:43 -04:00
Ben Newman
d84f190b4f Regenerate eslint/package-lock.json with current npm version. 2018-08-06 13:26:21 -04:00
Ben Newman
a95efc1f17 Bump $BUNDLE_VERSION to 8.11.3.0-meteor-1.7.0.4-rc.1 before rebuilding dev bundle. 2018-08-06 13:11:10 -04:00
Ben Newman
3ef1314921 Update reify npm package to version 0.16.4. 2018-08-06 13:10:27 -04:00
Ben Newman
bc606db969 Update npm to version 6.3.0 and pacote to version 8.1.6.
Cherry-picking this change from the release-1.7.1 branch, where it has
been well-validated by our beta testers.

Fixes #9940.
2018-08-06 12:43:22 -04:00
Ben Newman
7593c74a7b Pin test app @babel/... dependencies to version 7.0.0-beta.55.
Also updated the dynamic-import test app to Meteor 1.7.0.3.
2018-08-06 12:35:23 -04:00
Ben Newman
08f55904c9 Avoid String#startsWith in babel-runtime package. 2018-08-06 12:24:24 -04:00