Commit Graph

21595 Commits

Author SHA1 Message Date
Ben Newman
1a74403296 Bump package versions for 1.7.1-rc.4 release. release/METEOR@1.7.1-rc.4 2018-08-20 15:52:11 -04:00
Ben Newman
3c42552bfa Update shrinkwrap for compile-coffeescript plugin. 2018-08-20 15:52:08 -04:00
Ben Newman
43e025191f Bump @babel/runtime used by compile-coffeescript plugin to 7.0.0-rc.1.
We should wait to publish this change until after Meteor 1.7.1 has been
released (cc @GeoffreyBooth).
2018-08-20 15:32:42 -04:00
Ben Newman
41b2f76ef3 Let plugin packages import from the plugin's npmDependencies.
This should make the @babel/runtime dependency that I added to the
compile-coffeescript plugin in a52a2c28f1
actually work as intended.

Specifically, the babel-runtime package that's bundled into the
compile-coffeescript plugin will now be able to import @babel/runtime and
receive the plugin's private version of @babel/runtime, rather than the
one in dev_bundle/lib/node_modules or the application's node_modules.

cc @hwillson @abernix
2018-08-20 15:25:39 -04:00
Ben Newman
404c58dbf5 Merge branch 'devel' into release-1.7.1 2018-08-20 14:48:05 -04:00
Ben Newman
a52a2c28f1 Give compile-coffeescript plugin a reliable version of @babel/runtime.
After publishing coffeescript@2.3.1_1, I noticed that the version of
babel-runtime (1.2.5) that is bundled into the compile-coffeescript plugin
was complaining about the presence of @babel/runtime@7.0.0-rc.1 in the
node_modules directory of Meteor 1.7.1-rc.3 apps, thanks to code added
recently to work around breaking changes in @babel/runtime@7.0.0-beta.56:
4d5fff99eb

The easiest way to fix this problem in the short term is to give the
compile-coffeescript plugin its own reliable copy of the @babel/runtime
npm package, rather than delegating to the version installed in the app.

The ideal long-term way to fix this problem would be to stop precompiling
Meteor compiler plugins before publishing them, and instead treat them
like any other Meteor package, which are compiled after installation.

Another issue that could have been prevented if compiler plugins were
compiled upon installation, like other packages: #10148

cc @hwillson @abernix @GeoffreyBooth
2018-08-20 12:48:28 -04:00
Ben Newman
db194c5914 Bump package versions for 1.7.1-rc.3 release. release/METEOR@1.7.1-rc.3 2018-08-20 10:34:48 -04:00
Ben Newman
2c6e6e02a8 Merge branch 'devel' into release-1.7.1 2018-08-20 10:32:34 -04:00
Ben Newman
fab90e41f4 Merge pull request #10155 from GeoffreyBooth/coffeescript-modern-browsers
CoffeeScript 2.3.1, with support for setMinimumBrowserVersions.
2018-08-20 10:17:44 -04:00
Ben Newman
72794dff19 Warn about @babel/runtime release candidates, too. 2018-08-20 09:52:42 -04:00
Geoffrey Booth
b8b404daf3 Only run the modern test on modern browsers/environments 2018-08-16 21:16:32 -07:00
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
Geoffrey Booth
6a4ec826a3 Update CoffeeScript tests to add a test for modern browsers output; add missing import statements 2018-08-15 23:50:46 -07:00
Geoffrey Booth
f2600cc5c7 Upgrade CoffeeScript NPM version to 2.3.1 2018-08-15 23:01:36 -07:00
Geoffrey Booth
9ba3308895 Bump the versions of the Meteor core packages that the coffeescript package depends on to their latest versions as of Meteor 1.7.0.4; this enables modern browsers JavaScript output 2018-08-15 23:00:19 -07:00
Geoffrey Booth
b2919e5f45 Fix spelling 2018-08-15 22:51:20 -07: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