Commit Graph

21624 Commits

Author SHA1 Message Date
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
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