Commit Graph

21750 Commits

Author SHA1 Message Date
Ben Newman
c8628e5109 Bump package versions for 1.8.1-beta.4 release. release/METEOR@1.8.1-beta.4 2018-11-12 21:07:05 -05:00
Ben Newman
1b1ab41435 Bump $BUNDLE_VERSION to 8.12.0.4 before rebuilding dev bundle. 2018-11-12 20:52:55 -05:00
Ben Newman
d19ac6a5dd Merge branch 'devel' into release-1.8.1 2018-11-12 20:52:26 -05:00
Ben Newman
f7bd8e9f37 Merge pull request #10330 from meteor/fix-findImportedModuleIdentifiers-hash-collision
Ensure file.hash is always computed from sha1(file.data).
2018-11-12 20:48:49 -05:00
Ben Newman
152879c093 Bump diff-sequence package version to fix #10320. (#10331)
After @nathan-muir's PR #10053, we did not publish a new version of the
diff-sequence package, which would have contained DiffSequence.diffMaps.

I honestly have no idea why #10320 did not manifest before now, but
publishing these changes seems to fix it.
2018-11-12 20:44:49 -05:00
Ben Newman
253213c24f Bump ecmascript package version after bumping babel-compiler version. 2018-11-12 19:35:50 -05:00
Ben Newman
4294414506 Update meteor-babel to version 7.1.5. 2018-11-12 19:35:47 -05:00
Ben Newman
44e713f046 Ensure file.hash is always computed from sha1(file.data).
With the introduction of lazy compilation in Meteor 1.8, calling

  inputFile.addJavaScript({
    ...
    hash: inputFile.getSourceHash(),
    ...
  }, function () {
    return compiler.processFilesForTarget(inputFile);
  });

becomes problematic, since inputFile.getSourceHash() is usually different
from compiler.processFilesForTarget(inputFile).hash, because the latter is
computed from the compiled code, whereas the former is computed from the
source code.

For example, when we use file.hash to cache imported module identifiers in
ImportScanner#_findImportedModuleIdentifiers, we really need to be using
the hash of the compiled code, since a single source module can be
compiled in different ways. If we cache based on the source hash, there's
a risk of reusing the scanned imports from the web.browser version for the
web.browser.legacy version, which can lead to all sorts of problems that
are only apparent in legacy browsers.

The quick fix is easy enough: BabelCompiler can simply stop including a
hash in the eager options to inputFile.addJavaScript. This fix can be
published as a minor update to the babel-compiler and ecmascript packages.

The remaining changes in this commit add another layer of defense against
this problem, by ignoring any hash options provided by compiler plugins,
in favor of simply computing the hash from the compiled data buffer.
These additional changes will become available in the next release of
Meteor (likely 1.8.1).
2018-11-12 18:57:06 -05:00
Ben Newman
903bdea790 Bump package versions for 1.8.1-beta.3 release. release/METEOR@1.8.1-beta.3 2018-11-03 16:38:45 -04:00
Ben Newman
f94b29b5c7 Merge branch 'devel' into release-1.8.1 2018-11-03 16:21:58 -04:00
Ben Newman
13388b4955 Bump session package version. 2018-11-03 16:21:32 -04:00
Ben Newman
6a18c7a2bf Bump caching-compiler package version. 2018-11-03 16:21:16 -04:00
Seba Kerckhof
05ae386b79 Sanitize compiler name for environment variables (#10270)
While strictly speaking more characters are allowed, they are not usable in a shell except for uppercase / digits / underscore.
( https://stackoverflow.com/a/2821183 )
2018-11-03 16:14:47 -04:00
Seba Kerckhof
f8e59735f6 Modernize session package (#10228) 2018-11-03 16:12:06 -04:00
Ben Newman
3a881a444f Bump package versions after autodupate revamp (#10238). 2018-11-03 16:07:54 -04:00
Ben Newman
c960a862df Merge branch 'devel' into release-1.8.1 2018-11-03 16:07:44 -04:00
Ben Newman
249f31707a Bump [standard-]minifier-css package versions. 2018-11-03 16:06:41 -04:00
lukas strassel
689ae3dfa7 Update postcss and cssnano to latest non breaking versions (#10260) 2018-11-03 16:04:42 -04:00
Geoffrey Challen
c5b51b0fc2 user.services is not an array. (#10299) 2018-11-03 15:48:29 -04:00
Lars Gleim
a54c9261ad Fix uncaught TypeError in autoupdate_client.js (#10281)
This fixes an issue (c.f. https://github.com/Urigo/meteor-client-bundler/issues/87) where when the __meteor_runtime_config__ does not contain a proper autoupdate configuration object, the client would fail to load properly.
2018-11-03 15:45:47 -04:00
Ben Newman
d177085acc Bump $BUNDLE_VERSION to 8.12.0.3 before rebuilding dev bundle. 2018-11-03 13:59:19 -04:00
Ben Newman
3a18f67ac2 Rely on native Node.js Promise implementation.
There's no reason to use a Promise polyfill in Node.js at this point.
2018-11-03 13:58:48 -04:00
Ben Newman
6cf87f2b72 Update pathwatcher npm package to version 8.0.2. 2018-11-03 13:49:04 -04:00
Ben Newman
dfa236ce10 Update fibers npm package to version 3.0.0. 2018-11-03 13:46:42 -04:00
Ben Newman
865eacbf3e Update optimism npm package to version 0.6.8. 2018-11-03 13:43:39 -04:00
Ben Newman
e24c4f782f Update dev bundle request package to version 2.88.0 as well. 2018-11-03 13:41:15 -04:00
lukas strassel
970ac2100d update request to latest version (drop a few dependencies) 2018-11-03 13:40:29 -04:00
Christian Klaussner
0e9660097d Update self-tests for mongo-free autoupdate 2018-11-03 13:32:01 -04:00
Christian Klaussner
e8c2a6a50b Remove minimongo dependency from ddp-server 2018-11-03 13:32:00 -04:00
Christian Klaussner
02dcbb9e2a Add missing weak dependencies on reload package
`autoupdate` and `reactive-dict` are using the `reload` package if it's available. To ensure that all packages are loaded in the correct order, these dependencies must be explicit.
2018-11-03 13:32:00 -04:00
Christian Klaussner
13308cf341 Remove mongo dependency from autoupdate package 2018-11-03 13:32:00 -04:00
Ben Newman
675b5a15e0 Bump package versions for 1.8.1-beta.2 release. release/METEOR@1.8.1-beta.2 2018-10-31 13:44:50 -04:00
Ben Newman
05a0eeffd7 Merge branch 'devel' into release-1.8.1 2018-10-31 13:43:24 -04:00
Jan Dvorak
c622e51cd8 Fix #10305 (#10310) 2018-10-31 11:33:49 -04:00
Ben Newman
0e983deb69 Update coffeescript-compiler constraint in coffeescript/package.js. 2018-10-31 11:14:59 -04:00
Ben Newman
d7339dd3db Bump oauth1 patch version to 1.2.2. 2018-10-31 11:12:39 -04:00
Ben Newman
b04485c777 Merge pull request #10312 from meteor/lazy-coffeescript-compilation
Bump CoffeeScript to version 2.3.2 and enable lazy compilation.
2018-10-31 11:10:02 -04:00
Thomas Spiesser
eb4ae8b8fa [oauth1] Add default value for whitelistedQueryParams. (#10301) 2018-10-31 11:03:53 -04:00
Ben Newman
c96278700d Fix compiler plugins self-tests by waiting for lazy compilation to finish. 2018-10-31 10:41:31 -04:00
Ben Newman
ea173640f2 Bump CoffeeScript to version 2.3.2 and enable lazy compilation.
The introduction of lazy compilation should help with #10298.
2018-10-30 14:24:40 -04:00
Nathan Muir
8f86f19cd0 ddp-client: fix usage of reload package (#10286)
- Return type of onMigrate callback should be an array.
- onMigrate callback can be invoked many times until all components
  are ready to migrate.
- DDP negotiation failures should always migrate immediately.
2018-10-23 10:38:08 -04:00
Jan Dvorak
2cc8db1dd8 Fix #10290 (#10295) 2018-10-23 10:32:28 -04:00
Ben Newman
18762f97a2 Update modules test app to Meteor 1.8. 2018-10-13 19:32:10 -04:00
Ben Newman
94771d233e Update dynamic-import test app to Meteor 1.8. 2018-10-13 19:27:48 -04:00
Ben Newman
8e302da10d Update install npm package to v0.12.2 to fix #10182.
Thanks to PR https://github.com/benjamn/install/pull/50 by @Gariest.
2018-10-13 19:22:49 -04:00
Frederick Stark
cc3d5e08ae Add jsdoc comments to reactive-dict to fix meteor/docs#52 (#10273) 2018-10-13 19:06:10 -04:00
Ben Newman
07b45f6dde Bump package versions for 1.8.1-beta.1 release. release/METEOR@1.8.1-beta.1 2018-10-11 12:59:34 -04:00
Ben Newman
e15dd0e19d Bump $BUNDLE_VERSION to 8.12.0.2 before rebuilding dev bundle. 2018-10-11 12:39:37 -04:00
Ben Newman
b84afccfa8 Merge branch 'devel' into release-1.8.1 2018-10-11 12:38:46 -04:00
Ben Newman
308b4f1306 Bump ecmascript package version to 0.12.1.
This is necessary whenever we bump the babel-compiler version.
2018-10-11 12:29:33 -04:00