Commit Graph

21973 Commits

Author SHA1 Message Date
wildhart
97b2ef8b86 Updated History.md with #10469 improvements
including new Meteor.user() options parameter and Accounts.config({defaultFieldSelector...})
2019-12-19 01:46:52 +13:00
wildhart
c7df650064 Improved docs of new API #10469 2019-12-18 20:12:44 +12:00
Chris Morison
0b1925404c Make server onLogOut hook only fetch user if required #10469 2019-12-18 03:46:36 +12:00
Chris Morison
3b9cda3c78 improved _addDefaultFieldSelector(); added tests; #10469 2019-12-16 19:46:25 +12:00
Chris Morison
2ddec43bef Added field selector and defaultFieldSelector to many user queries 2019-12-16 11:51:44 +12:00
Chris Morison
21c1ca052d Added defaultFieldSelector and used it in Accounts callbacks. #10469 2019-12-15 08:46:04 +12:00
Chris Morison
eba872966d accounts-base: limit finds to required fields #10469 (non-breaking, no new api) 2019-12-14 05:56:02 +12:00
Luigi Pinca
efc8a3525d Fix variable scope (#10526)
Currenlty the `v` variable is only visible in the `if` block but it is
also used in the outer scope. Move the declaration to the outer scope.
2019-04-26 17:40:53 -04:00
Ben Newman
36c4ae0a73 Bump accounts-base package version to 1.4.4.
This should have been done when PR #10299 was first merged. Thankfully,
@macrozone discovered the problem while diagnosing issue #10530.

Should fix #10530.
2019-04-23 16:59:24 -04:00
Ben Newman
5e24494e01 Update dynamic import test app to Meteor 1.8.1 and meteor-node-stubs@1.0.0. 2019-04-10 19:18:36 -04:00
Ben Newman
07815583f1 Update modules test app to Meteor 1.8.1 and meteor-node-stubs@1.0.0. 2019-04-10 19:18:36 -04:00
Ben Newman
b3807831e4 Update cordova-plugin-meteor-webapp to version 1.7.0 (#10520)
* Update cordova-plugin-meteor-webapp to version 1.7.0.

Fixes #10516.

* Bump meteor-tool and webapp to a temporary 1.8.1-issue-10516.0 version.

I attempted to publish webapp@1.7.4-rc.0 with @rj-david's changes from
https://github.com/meteor/cordova-plugin-meteor-webapp/pull/78 to verify
that they fix #10516, but prerelease versions like 1.7.4-rc.0 are not
compatible with non-prerelease core package constraints like ~1.7.3 (which
desugars to >=1.7.3 <1.8.0), as explained by this comment in the semver
source code: 5fb517b290/semver.js (L1246-L1250)

While this behavior was somewhat surprising to me, I haven't come up with
a way to fix it without accidentally allowing any prerelease version of
core Meteor packages to be installed in applications using an official
(non-prerelease) version of Meteor.

Instead, we can just cut a temporary prerelease version of Meteor itself.
If that fixes the problem, then we can publish webapp@1.7.4 safely,
without actually publishing a Meteor 1.8.1.1 release just for this.

* Update webapp to version 1.7.4 (without -issue-10516.0 suffix).
2019-04-09 17:17:13 -04:00
Seba Kerckhof
deaf8825b5 fix typo ie11 -> ie12 (#10519) 2019-04-09 15:24:59 -04:00
Ben Newman
456314f002 Bump ecmascript version to 0.12.7.
This version was published specifically using Meteor 1.8.1, so that it
includes babel-compiler@7.3.4 instead of 7.2.4.
2019-04-02 20:32:17 -04:00
Ben Newman
5dcd0b2eb9 Merge branch 'master' into devel 2019-04-02 20:21:59 -04:00
Ben Newman
aa686bfafb Merge pull request #10248 from meteor/release-1.8.1
Release 1.8.1
2019-04-02 20:20:50 -04:00
Ben Newman
d376276158 Bump package versions for the official 1.8.1 release. release/METEOR@1.8.1 2019-04-02 18:51:59 -04:00
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