Commit Graph

10066 Commits

Author SHA1 Message Date
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
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
d376276158 Bump package versions for the official 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. 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
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
2019-03-19 14:24:56 -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
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
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
Andrew Felchak
0513143374 Fix typo in oauth package (#10474) 2019-03-15 10:58:44 -04:00
Ben Newman
d3ccc4ef73 Bump package versions for 1.8.1-beta.20 release. 2019-02-28 16:18:39 -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
0981817a30 Update Mongo to latest version(s). 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
7ea14024bf Bump package versions for 1.8.1-beta.18 release. 2019-02-26 21:55:12 -05:00
Ben Newman
83ec5e9ff8 Update meteor-babel to version 7.3.4. 2019-02-26 19:09:43 -05:00
Ben Newman
c842d216a3 Merge branch 'devel' into release-1.8.1 2019-02-08 11:44:54 -05:00
Ben Newman
f04160aea8 Bump autoupdate patch version to 1.5.1. 2019-02-08 11:41:26 -05:00
Ben Newman
987c7b99b9 Bump package versions for 1.8.1-beta.17 release. 2019-02-04 16:58:15 -05:00
Ben Newman
a96241911a Address review feedback from @glasser. 2019-02-04 14:22:29 -05:00
Ben Newman
2486743aab Expose Meteor.gitRevision for even easier access. 2019-02-04 13:21:06 -05:00
Ben Newman
f1b736ec24 Bump cordova-plugin-meteor-webapp version to 1.6.5.
Includes https://github.com/meteor/cordova-plugin-meteor-webapp/pull/73
which fixes https://github.com/meteor/cordova-plugin-meteor-webapp/issue/72.
2019-02-04 10:58:42 -05:00
Ben Newman
985892c658 Bump package versions for 1.8.1-beta.16 release. 2019-01-31 12:07:51 -05:00
Ben Newman
3e060059d6 Bump package versions for 1.8.1-beta.15 release. 2019-01-14 21:16:43 -05:00
Ben Newman
a89b34c4c2 Remove hash of minimum modern browser versions from client hash.
This partially reverts commit 99b79dc00f,
which was added as part of PR #10055 in an effort to trigger hot reloads
on the client when/if the definition of a "modern" browser happened to
change, due to server code calling setMinimumBrowserVersions. Although
changes in the minimum modern browser versions are pretty rare, it seemed
important to incorporate this information into the client hash, because
code sent to the client tends to be dramatically different depending on
whether the client is considered modern.

However, this change was made without updating the corresponding version
calculations in CordovaBuilder#appendVersion in tools/cordova/builder.js,
so the versions in program.json for Cordova apps disagreed with the
versions served in manifest.json by the web server, leading to the
problems described by @lorensr in this cordova-plugin-meteor-webapp issue:
https://github.com/meteor/cordova-plugin-meteor-webapp/issues/69

It would be nice to include the minimum versions hash in program.json for
Cordova builds, but unfortunately these versions are not known at build
time, because they are determined by calls to setMinimumBrowserVersions
during server startup. In other words, if we wanted to access that
information during Cordova builds, we would have to start the web server
and run all server-side application initialization code just to find out
if setMinimumBrowserVersions was called anywhere.

In the future, we could consider including the minimum versions hash in
manifest.json, so cordova-plugin-meteor-webapp could compare the current
version to the new version whenever it fetches manifest.json. However, I
think simply removing the minimum versions hash from the client version
calculation is a fine solution in the meantime. If a developer needs to
trigger a hot reload because they changed their minimum modern versions,
they should just be sure to change their client code at the same time.
Any change that would normally trigger a client reload will work.
2019-01-14 20:41:16 -05:00
Ben Newman
2afe477016 Bump cordova-plugin-meteor-webapp version to 1.6.4.
Includes https://github.com/meteor/cordova-plugin-meteor-webapp/pull/71
2019-01-14 18:46:03 -05:00
Ben Newman
adaf653757 Bump package versions for 1.8.1-beta.14 release. 2019-01-14 10:45:43 -05:00
Ben Newman
6beef66717 Bump minor version of reload package following PR #10219. 2019-01-14 10:44:07 -05:00
Ben Newman
cdb5854662 Merge branch 'devel' into release-1.8.1 2019-01-14 10:42:51 -05:00
Bartosz Wojtkowiak
e5c6d2ab4c Use new WebAppLocalServer.switchToPendingVersion before reload (#10219) 2019-01-14 10:35:18 -05:00
Hieu Lam
e0763170e9 Modernize ddp-client package (#10413)
Use `const` and `let` instead of `var`, Object.create(null) instead of {}, and native functions instead of `lodash` utilities.
2019-01-12 10:57:35 -05:00
James Burgess
37abeef9a1 Improve css @import warning text (#10375) 2019-01-11 17:13:17 -05:00
Kevin Newman
7a872b630a Rewrite/simplify appcache size limit debug message. (#10355) 2019-01-11 17:10:55 -05:00
georgyberdyshev
5d43d2c2b2 Selectively disable compression based on the incoming request (#10378)
Setting the x-no-compression request header disables compression.

Closes #10377.
2019-01-11 17:08:53 -05:00
Ben Newman
bbc2fb636e Bump package versions for 1.8.1-beta.13 release. 2019-01-11 13:08:45 -05:00
Ben Newman
6e262d4218 Update cordova-plugin-meteor-webapp to version 1.6.3.
This update includes the following PRs:
https://github.com/meteor/cordova-plugin-meteor-webapp/pull/59
https://github.com/meteor/cordova-plugin-meteor-webapp/pull/65
https://github.com/meteor/cordova-plugin-meteor-webapp/pull/67
2019-01-11 12:17:15 -05:00
Ben Newman
435d265027 Update cordova-plugin-* dependencies of webapp package. 2019-01-11 12:14:50 -05:00
Ben Newman
fbf463c6e3 Bump package versions for 1.8.1-beta.12 release. 2019-01-10 11:33:33 -05:00
Ben Newman
991ff6d620 Merge branch 'devel' into release-1.8.1 2019-01-10 11:32:02 -05:00
Ben Newman
be4cc2bd36 Refactor accounts-ui-unstyled/accounts_ui.js to fix bugs.
Besides helping with readability, this refactor fixes a number of bugs,
most notably the assumption that options.passwordSignupFields is an array,
though previously this package accepted a string; and the accidental use
of options.forceApprovalPrompt in code blocks that were supposed to be
handling the other options.

As a side note, I have yet to see a use of Array.prototype.reduce that
actually improved readability or performance, relative to any simpler
alternatives. Don't drink the functional programming kool-aid, y'all.
2019-01-07 15:37:31 -05:00
Ben Newman
68fc39af73 Bump package versions for 1.8.1-beta.11 release. 2019-01-06 19:12:05 -05:00
Ben Newman
e25415927f Merge branch 'devel' into release-1.8.1 2019-01-06 19:10:45 -05:00