Commit Graph

21580 Commits

Author SHA1 Message Date
Ben Newman
86030c1001 Bump package versions for 1.7.1-rc.2 release. release/METEOR@1.7.1-rc.2 2018-08-16 19:03:51 -04:00
Ben Newman
3f0a6f097e Bump $BUNDLE_VERSION to 8.11.4.1 before rebuilding dev bundle. 2018-08-16 18:41:47 -04:00
Ben Newman
b154a58f0c Merge branch 'devel' into release-1.7.1 2018-08-16 18:30:41 -04:00
Ben Newman
7b23f66251 Bump $BUNDLE_VERSION to 8.11.4.0 before rebuilding dev bundle. 2018-08-16 18:28:52 -04:00
Ben Newman
9d75b0976e Merge branch 'master' into devel 2018-08-16 18:02:22 -04:00
Ben Newman
4294869c13 Merge pull request #10158 from meteor/release-1.7.0.5
Release 1.7.0.5
2018-08-16 18:00:18 -04:00
Ben Newman
5748d0d72b Bump package versions for the official 1.7.0.5 release. release/METEOR@1.7.0.5 2018-08-16 16:01:10 -04:00
Ben Newman
dd254a545b Set release date for Meteor 1.7.0.5 in History.md. 2018-08-16 15:03:32 -04:00
Ben Newman
c74f2f46cb Update Blaze submodule to latest master version. 2018-08-16 15:02:53 -04:00
Ben Newman
05916ee337 Update meteor-babel npm package to version 7.0.0-rc.1-1. 2018-08-16 14:59:45 -04:00
Ben Newman
02a2f88432 Bump package versions for 1.7.0.5-rc.0 release. release/METEOR@1.7.0.5-rc.0 2018-08-16 13:21:43 -04:00
Ben Newman
09194e86e8 Merge branch 'dynamic-import-0.4.2' into release-1.7.0.5 2018-08-16 13:20:05 -04:00
Ben Newman
0e20906444 Bump $BUNDLE_VERSION to 8.11.4-meteor-1.7.0.5-1 before rebuilding dev bundle. 2018-08-16 13:18:14 -04:00
Ben Newman
199aefbaac Pin all Babel dev_bundle dependencies to 7.0.0-beta.51 exactly. 2018-08-16 13:18:13 -04:00
Ben Newman
8eb081336b Ignore bad POST requests in dynamic-import request handler.
Should help mitigate #10147.
2018-08-16 13:14:23 -04:00
Ben Newman
842e2e3d82 Bump $BUNDLE_VERSION to 8.11.4-meteor-1.7.0.5 before rebuilding dev bundle. 2018-08-16 12:49:17 -04:00
Ben Newman
1621ee1cd4 Update Node to version 8.11.4.
https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/
2018-08-16 12:49:17 -04:00
Ben Newman
1cc5661f15 Ignore bad POST requests in dynamic-import request handler.
Should help mitigate #10147.
2018-08-16 10:10:00 -04:00
Ben Newman
b14624aba4 Bump package versions for 1.7.1-rc.0 release. release/METEOR@1.7.1-rc.0 2018-08-15 14:40:49 -04:00
Ben Newman
a966efd09f Mention @x.y.z! override syntax in History.md. 2018-08-15 14:31:44 -04:00
Ben Newman
9872a3a71d Tests for @x.y.z! package version constraint override syntax.
Following up on this promise:
https://github.com/meteor/meteor/pull/9942#commitcomment-30080110
2018-08-15 14:05:12 -04:00
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