Commit Graph

21639 Commits

Author SHA1 Message Date
Ben Newman
3d4fb7a8ad Bump package versions for 1.7.1-rc.10 release. release/METEOR@1.7.1-rc.10 2018-09-11 10:24:58 -04:00
Ben Newman
1bff089920 Bump $BUNDLE_VERSION to 8.12.0.0 before rebuilding dev bundle. 2018-09-11 09:54:10 -04:00
Ben Newman
44e906e94f Update npm to version 6.4.1. 2018-09-11 09:52:02 -04:00
Ben Newman
8492415073 Update Node to version 8.12.0.
Closes #10090.
2018-09-11 09:49:06 -04:00
Ben Newman
34fb07b4c0 Style tweaks and clarifications to History.md following #10209. 2018-09-11 09:43:23 -04:00
Filipe Névola
0f6a856232 Adding 'Breaking changes' and 'Migration steps' sections to History.md (#10209) 2018-09-11 09:24:10 -04:00
Ben Newman
4b9805fc75 Merge branch 'devel' into release-1.7.1 2018-09-11 09:21:46 -04:00
Seba Kerckhof
b8cbe5a7b2 Make minimongo array field sorting compatible with mongo 3.6+ behavior (#10214) 2018-09-11 09:19:48 -04:00
Ben Newman
203829c4f8 Bump package versions for 1.7.1-rc.9 release. release/METEOR@1.7.1-rc.9 2018-09-10 17:05:14 -04:00
Ben Newman
881390c553 Avoid trying resolve.extensions unless parent directory exists.
This change dramatically reduces the number of attempted files.stat calls
during module resolution, especially for apps that use a large number of
compiler plugins, and thus have many different file extensions to try.
2018-09-10 16:43:35 -04:00
Ben Newman
c632912c43 Make sure meteor shell commands are compiled for Node 8. 2018-09-07 14:31:48 -04:00
Ben Newman
419fee1e02 Update shrinkwraps for compiler plugins now depending on @babel/runtime. 2018-09-07 14:00:45 -04:00
Ben Newman
38e7ea63af Add @babel/runtime dependency to all build plugins that use ecmascript.
Previously: a52a2c28f1
2018-09-07 12:37:49 -04:00
Ben Newman
f4957c3bb6 Merge branch 'devel' into release-1.7.1 2018-09-07 11:13:29 -04:00
Ben Newman
de6717da66 Update packages/non-core/blaze submodule to latest master, again. 2018-09-07 11:12:19 -04:00
Ben Newman
6134251621 Bump package versions for 1.7.1-rc.8 release. release/METEOR@1.7.1-rc.8 2018-09-07 10:51:48 -04:00
Ben Newman
2ad049a52d Merge pull request #10201 from meteor/implement-oplog-transaction-handling
Implement MongoDB 4.0 transaction handling in oplog_tailing.js
2018-09-07 10:47:31 -04:00
Christian Klaussner
c62bc402aa Add test for MongoDB 4.0 oplog transaction processing (#10206) 2018-09-07 10:46:31 -04:00
Ben Newman
964909fc3f Allow only admin.$cmd in admin.* oplog doc.ns strings. 2018-09-07 10:44:02 -04:00
Ben Newman
039cb60a85 Apply transaction only if doc.o.applyOps is defined. 2018-09-07 10:44:02 -04:00
Ben Newman
bb3a7fc814 Support MongoDB 4.0 transactions in oplog_tailing.js.
My attempt at fixing #10195.

@klaussner Feel free to submit your PR if it's ready, or just review this
one if you prefer. It's important to get this right, so it's not a
terrible idea for both of us to attempt it independently.
2018-09-07 10:44:01 -04:00
Ben Newman
1198046de7 Merge branch 'devel' into release-1.7.1 2018-09-07 10:42:34 -04:00
Ben Newman
7e7963534d Update packages/non-core/blaze submodule to latest master revision. 2018-09-07 10:41:10 -04:00
Mark
b5081deb5f Note potential breaking change introduced in PR #9444 in Release 1.6.1 (#10204) 2018-09-07 10:23:51 -04:00
Ben Newman
b0d0dd16b3 Mention delayed build of legacy bundle in History.md. 2018-09-06 11:53:19 -04:00
Ben Newman
b1e44642fe Bump package versions for 1.7.1-rc.7 release. release/METEOR@1.7.1-rc.7 2018-09-05 21:37:38 -04:00
Ben Newman
1a472a4161 Simplify external symlink handling in Builder#copyDirectory.
Follow-up to af51b816, which fixed #8005 by copying symlinks to external
directories as directories rather than trying to preserve the symlinks.

Issue #10177 revealed a flaw in this strategy: the filter function that we
use to strip development npm packages always rejects external paths, even
if the original symlink was found in a valid production npm package, and
thus its contents should be included in the production bundle.

In the process of fixing this problem, I realized that the only important
part of af51b816 was this code:

  // Update fileStatus to match the actual file rather than the
  // symbolic link, thus forcing the file to be copied below.
  fileStatus = optimisticLStatOrNull(externalPath);

and the code for manipulating thisAbsFrom and _currentRealRootDirectory
could be removed.
2018-09-05 21:30:27 -04:00
Ben Newman
05dd6095a0 Merge pull request #10193 from wojtkowiak/cordova_consistency_fix
Cordova plugin handling algorithm consistency improvements
2018-09-05 21:59:04 +00:00
Ben Newman
4a688d7ca9 Show web.browser.legacy rebuild time only when METEOR_PROFILE enabled.
In theory, these delayed rebuilds should not even be noticed, so it
doesn't make sense to draw attention to them.
2018-09-05 17:56:57 -04:00
Ben Newman
6bf22e668f Set cache directory correctly for meteor shell compilation.
Fixes #10189.
2018-09-05 14:32:08 -04:00
Ben Newman
5906bb9c1e Bump package versions for 1.7.1-rc.6 release. release/METEOR@1.7.1-rc.6 2018-09-05 13:28:12 -04:00
Ben Newman
5f22236f67 Bump $BUNDLE_VERSION to 8.11.4.3 before rebuilding dev bundle. 2018-09-05 13:26:07 -04:00
Ben Newman
6e2ac530ce Use TLS 1.2 on Windows to download MongoDB via HTTPS.
https://stackoverflow.com/questions/49800534/powershell-could-not-create-ssl-tsl-secure
2018-09-05 13:26:07 -04:00
Ben Newman
d02fa2c6a0 Update dev bundle MongoDB version to 4.0.2.
Still waiting on a fix for this issue in 4.0.3:
https://jira.mongodb.org/browse/SERVER-36474
2018-09-05 13:26:07 -04:00
Ben Newman
dc8f4ffb13 Update meteor-babel to version 7.0.0. 🎉 2018-09-05 12:08:17 -04:00
Bartosz Wojtkowiak
1f8ffbf56a Improvements to cordova plugin set change detection algorithm
Fixes several cases causing cordova plugins reinstall on every build:
- proper handling of scoped npm cordova plugins
- proper detection of plugin removal (previously a cordova plugin containing a dependency would make the algorithm think a package was removed from cordova-plugins)
- proper handling of plugins which have plugin.xml id different than the npm package name
Additionally rechecks the build integrity verifying if packages were really installed and perform a retry if needed.
Allows to override a meteor package cordova dependency with scoped package i.e. @scope/cordova-dummy-plugin will now override a cordova-dummy-plugin dependency.
2018-09-04 12:58:21 +02:00
zhadzlik
5558e50b88 Validating Cordova plugins installation (#9548) 2018-09-04 11:10:18 +02:00
Jesse Rosenberger
543d4d3d51 Merge branch 'devel' into release-1.7.1 2018-09-03 12:13:20 +03:00
Jesse Rosenberger
1e34acadc0 Enforce specific @babel/runtime versions on babel-runtime@1.2.x.
Meteor 1.6.x through 1.7.0.x use the `babel-runtime@1.2.x` packages, and
this change is only intended to affect those versions.

This will no longer be necessary in Meteor 1.7.1, since we account for
the changes to `@babel/runtime` through changes to the `meteor/babel`
package, but this ensures that anyone who updates to `@babel/runtime@7` (the
final, latest release), or anything newer, isn't surprised by their broken
application.
2018-08-31 16:56:43 +03:00
Jesse Rosenberger
09cb1f8941 Fix conditional grouping which resulted in failure on official Babel 7.
Follows-up: 72794dff19.

cc @benjamn @hwillson
2018-08-31 14:19:15 +03:00
Christian Klaussner
8b85410ed1 Remove duplicate mongodb package update entry from history (#10184) 2018-08-31 12:17:39 +03:00
Ben Newman
cfa96534bc Bump package versions for 1.7.1-rc.5 release. release/METEOR@1.7.1-rc.5 2018-08-21 20:53:08 -04:00
Ben Newman
68e755c647 Bump $BUNDLE_VERSION to 8.11.4.2 before rebuilding dev bundle. 2018-08-21 20:50:32 -04:00
Ben Newman
b983f9718d Update meteor-babel to version 7.0.0-rc.2. 2018-08-21 20:22:02 -04:00
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