Commit Graph

22356 Commits

Author SHA1 Message Date
Ben Newman
8b0256e4e7 Update History.md before final Meteor 1.8.1 release. 2019-04-02 18:51:59 -04:00
Ben Newman
8e16365ea6 Bump package versions for 1.8.1-rc.1 release. release/METEOR@1.8.1-rc.1 2019-03-20 11:06:12 -04:00
Ben Newman
0cfd170d40 Ensure op.ts is defined before calling handleDoc.
Fixes #10420.
2019-03-20 10:35:35 -04:00
Christian Klaussner
238f995cca Mention isMaster command (#10500) in History.md (#10502) 2019-03-20 09:54:06 -04:00
Christian Klaussner
2b21a901a5 Wait until Mongo primary node is writable (#10500)
Using the `isMaster` command instead of checking the replica set member state is more reliable because a node can be a primary without being writable.

Fixes #10381 and #9026.
2019-03-19 19:12:12 -04:00
Ben Newman
7f7545c850 Bump package versions for 1.8.1-rc.0 release.
Now that we've moved into the release candidate phase, there will be no
more new features added to Meteor 1.8.1, and all remaining effort will be
focused on fixing bugs.

Please test the release candidate if you have time, by running the
following command in any application directory:

  meteor update --release 1.8.1-rc.0
release/METEOR@1.8.1-rc.0
2019-03-19 14:24:56 -04:00
Ben Newman
038e35357e Apply reasoning from PR #10402 to package code as well.
Follow-up to fb2146cb3b.

Should fix #10481.
2019-03-19 14:02:03 -04:00
Ben Newman
cc4645ba5a Bump $BUNDLE_VERSION to 8.15.1.1 before rebuilding dev bundle. 2019-03-19 13:24:26 -04:00
Ben Newman
128b7ffa4f Update optimism dependency to latest version (0.8.3). 2019-03-19 13:17:34 -04:00
Ben Newman
5125da518d Update npm to 6.9.0 and pacote to 9.5.0. 2019-03-19 13:16:34 -04:00
Ben Newman
44e293b741 Merge branch 'devel' into release-1.8.1 2019-03-19 13:10:35 -04:00
Ben Newman
30a1913943 Bump versions of recently PR'd core packages.
The PRs in question: #10313, #10429, #10474
2019-03-19 12:58:13 -04:00
Ben Newman
55d1ffa3f2 Revert "Skip regenerating main bundle when only a dynamic file changed." (#10497)
This reverts commit 95a1f54cce.

Although at first this commit seemed like a nice optimization, after
digging into #10496 I was reminded that the main bundle includes the paths
and hashes of available dynamic modules, so rebuilding the main bundle is
important even when only dynamic modules have changed.

Many thanks to @arggh for testing 1.8.1-beta.20 and putting together the
https://github.com/arggh/meteor-bundler-issue reproduction.

Should fix #10496 and #10494.
2019-03-19 12:22:54 -04:00
Filipe Névola
61960a01da Add more information on logs when Mongo and Meteor query disagree (#10313)
Report the full cursor description when query disagree on how many documents match your query.
2019-03-15 11:35:25 -04:00
georgyberdyshev
65747fc29f Updated meteor create --list Angular boilerplate name and URL. (#10363) 2019-03-15 11:23:46 -04:00
Jan Dvorak
ae397a3632 Fix #10428 facebook permissions (#10429)
* Fix #10428 facebook permissions 🛂

* Add missing semicolon in tools/upgraders.js
2019-03-15 11:08:01 -04:00
Simon Schick
40e8da227e Added an environment variable to determine if Meteor will restart automatically (#10465) 2019-03-15 11:01:13 -04:00
Andrew Felchak
0513143374 Fix typo in oauth package (#10474) 2019-03-15 10:58:44 -04:00
Ben Newman
86b6086be0 Update CONTRIBUTING.md, adding @zodern as a collaborator. (#10485)
Adding @zodern as a collaborator with write access (including
triage/review), based on contributions that demonstrate deep understanding
of the meteor/meteor codebase: #9887, #10399, #10452, #10453, #10454

Also updated other parts of CHANGELOG.md to reflect 2019 realities.
2019-03-13 10:35:54 -04:00
Ben Newman
642be6dc38 Attempt to fix tests by reverting puppeteer from 1.12.1 to 1.6.2.
Tests have started failing for reasons that may be related to puppeteer's
Meteor process management: https://circleci.com/gh/meteor/meteor/31035

Since I can't identify any other possible causes, using the same version
of puppeteer that other tests use (e.g. modules, dynamic-import) seems
like a reasonable first step.

Also updated puppeteer in tests/apps/app-config/package-lock.json to
version 1.6.2 (was 1.3.0), in an attempt to fix some unhandled promise
rejection warnings: https://circleci.com/gh/meteor/meteor/31063
2019-03-04 14:28:12 -05:00
Ben Newman
d3ccc4ef73 Bump package versions for 1.8.1-beta.20 release. release/METEOR@1.8.1-beta.20 2019-02-28 16:18:39 -05:00
Ben Newman
ea86f86cbd Merge pull request #10453 from zodern/linker-performance
Improve linker performance for dynamic files, and avoid rebuilding main
bundle when only dynamic files have changed.
2019-02-28 15:16:13 -05:00
Ben Newman
bb564dd93f Address my own (minor) review feedback. 2019-02-28 14:55:38 -05:00
zodern
95a1f54cce Skip regenerating main bundle when only a dynamic file changed. 2019-02-28 14:55:38 -05:00
zodern
7b2adcb9da Cache stringified prelinked output for dynamic files. 2019-02-28 14:55:38 -05:00
zodern
358f4541d9 Update source-map to 0.5.7. 2019-02-28 14:55:38 -05:00
Ben Newman
986e0a3e84 Merge pull request #10448 from sakulstra/update-deps-again 2019-02-28 14:52:51 -05:00
Ben Newman
eda0146266 Merge pull request #10454 from zodern/write-performance 2019-02-28 14:52:05 -05:00
Ben Newman
7c7dea58a7 Double-check isDirectory before calling copyNpmPackageWithSymlinkedNodeModules. 2019-02-28 14:47:44 -05:00
Ben Newman
61ee90ef2d Begin garbage directory names with a '.' character. 2019-02-28 14:34:37 -05:00
Ben Newman
cd9ace9434 Bump package versions after updating npm dependencies in #10448. 2019-02-28 14:11:22 -05:00
Ben Newman
3348d708aa Update shrinkwrap files for npm dependencies bumped in #10448. 2019-02-28 14:09:40 -05:00
lukas strassel
2edc15a055 fix(deps): update terser, fetch, decimaljs, postcss, nanocss 2019-02-28 14:05:27 -05:00
Ben Newman
01f515e6b2 Inconsequential style tweaks. 2019-02-28 14:02:59 -05:00
zodern
aadbbfbd2b Clean up code. 2019-02-28 14:02:57 -05:00
zodern
c34a61a3f9 Simplify deciding when to not calculate SRI. 2019-02-28 14:02:52 -05:00
zodern
29b6ca6483 Avoid unnecessary work if the file was already written. 2019-02-28 14:02:48 -05:00
zodern
b48715d804 Improve performance of minifying dynamic files.
Avoids converting file contents to and from buffers and strings. The
conversion had been done for dynamic files before minifying them, and all
files after they were minified.
2019-02-28 14:02:41 -05:00
zodern
79d643574a Skip calculating SRI for assets from the public/ folder.
Saves on average ~2ms per file in one app, which adds up when there are
hundreds. SRI is currently only supported for js and css files, and Meteor
only uses it for the main bundles.
2019-02-28 14:02:27 -05:00
Ben Newman
367572f27d Bump $BUNDLE_VERSION to 8.15.1.0 before rebuilding dev bundle. 2019-02-28 13:50:08 -05:00
Ben Newman
0981817a30 Update Mongo to latest version(s). 2019-02-28 13:50:08 -05:00
Ben Newman
b2d7df5704 Update Node to version 8.15.1.
Release blog post: https://nodejs.org/en/blog/release/v8.15.1/
Security details: https://nodejs.org/en/blog/vulnerability/february-2019-security-releases/
2019-02-28 13:50:08 -05:00
Ben Newman
05e5cb9105 Avoid global staticFilesByArch variable in webapp_server.js. 2019-02-28 13:50:08 -05:00
Ben Newman
24e8d1d6f9 Merge pull request #10452 from zodern/cache-assets
Use optimistic functions with assets
2019-02-27 11:07:36 -05:00
Ben Newman
7ea14024bf Bump package versions for 1.8.1-beta.18 release. release/METEOR@1.8.1-beta.18 2019-02-26 21:55:12 -05:00
Ben Newman
743bfb6f43 Update RegExp for detecting non-existent npm packages.
Should fix failures like https://circleci.com/gh/meteor/meteor/31259.
2019-02-26 20:49:01 -05:00
Ben Newman
ae9bab7d35 Bump $BUNDLE_VERSION to 8.15.0.1 before rebuilding dev bundle. 2019-02-26 20:30:25 -05:00
Ben Newman
5ff5881804 Prevent strange EISDIR error when building dev bundle. 2019-02-26 20:05:53 -05:00
Ben Newman
83ec5e9ff8 Update meteor-babel to version 7.3.4. 2019-02-26 19:09:43 -05:00
Ben Newman
ba3e33380b Update npm to version 6.8.0 and pacote to version 9.4.1. 2019-02-26 18:28:48 -05:00