Commit Graph

21903 Commits

Author SHA1 Message Date
Ben Newman
987c7b99b9 Bump package versions for 1.8.1-beta.17 release. release/METEOR@1.8.1-beta.17 2019-02-04 16:58:15 -05:00
Ben Newman
808d78dc44 Merge pull request #10442 from meteor/add-gitRevision-to-star.json-and-runtime-config
Expose Git commit hash in star.json and via Meteor.gitCommitHash.
2019-02-04 16:26:56 -05:00
Ben Newman
0f4802883a 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-02-04 15:46:19 -05:00
Ben Newman
1e5863af69 Update Meteor.gitRevision to Meteor.gitCommitHash in History.md. 2019-02-04 14:33:16 -05:00
Ben Newman
a96241911a Address review feedback from @glasser. 2019-02-04 14:22:29 -05:00
Ben Newman
c4e6cdb96e Mention Meteor.gitRevision in History.md. 2019-02-04 13:21:06 -05:00
Ben Newman
2486743aab Expose Meteor.gitRevision for even easier access. 2019-02-04 13:21:06 -05:00
Ben Newman
ccab56380a Add a self-test of gitRevision extraction. 2019-02-04 12:06:45 -05:00
Ben Newman
312d06a90a Add gitRevision property to star.json and __meteor_runtime_config__.
This information is useful when you need a unique identifier for the
current version of the application (and you're using Git).

If the current Git HEAD revision can't be found for any reason, the
gitRevision property simply will not appear in star.json or
__meteor_runtime_config__.
2019-02-04 11:51:38 -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
0a08d59a22 Update meteor/circleci Docker image to Android API v27.
Should fix Circle CI tests that have been failing because the Android
license was not accepted: https://circleci.com/gh/meteor/meteor/30908
2019-01-31 12:47:12 -05:00
Ben Newman
985892c658 Bump package versions for 1.8.1-beta.16 release. release/METEOR@1.8.1-beta.16 2019-01-31 12:07:51 -05:00
Ben Newman
419ff7ce92 Merge pull request #10399 from zodern/windows-build-performance
Windows build performance
2019-01-31 12:02:41 -05:00
zodern
ead0a6de1f Fix indentation 2019-01-17 16:12:15 -06:00
zodern
31dfb0cc06 Remove timeout for starting delayed build 2019-01-17 16:09:21 -06:00
zodern
f9d17aaf0f Fix delaying render 2019-01-16 22:17:28 -06:00
zodern
285e1b50c3 Clean up code 2019-01-16 22:16:51 -06:00
zodern
65bc2b0100 Fix reusing symlinks from initial build 2019-01-16 20:21:00 -06:00
Ben Newman
3e060059d6 Bump package versions for 1.8.1-beta.15 release. release/METEOR@1.8.1-beta.15 2019-01-14 21:16:43 -05:00
Ben Newman
f144e2e162 Merge pull request #10416 from meteor/more-cordova-improvements-for-1.8.1
More Cordova improvements for Meteor 1.8.1
2019-01-14 21:14:48 -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
5e26ebb6a9 Update cordova-{android,ios} to latest versions.
This version of cordova-android includes the PR that previously required
us to fork the package: https://github.com/apache/cordova-android/pull/417

The cordova-ios update is just 4.5.4 => 4.5.5, so hopefully entirely
backwards compatible. :crossed-fingers:
2019-01-14 15:58:10 -05:00
Ben Newman
adaf653757 Bump package versions for 1.8.1-beta.14 release. release/METEOR@1.8.1-beta.14 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
20da99c219 Do not treat client and server directories specially in packages. (#10414)
Fixes #10393.

Bumping compiler.BUILT_BY and LINKER_CACHE_SALT because
PR #10414 changes the behavior of the build system in a subtle way that
does not automatically trigger recompilation.
2019-01-11 16:52:23 -05:00
skirunman
5b3e8bc3fb Fix duplicate entry about meteor-promise in History.md (#10410) 2019-01-11 16:45:16 -05:00
Ben Newman
bbc2fb636e Bump package versions for 1.8.1-beta.13 release. release/METEOR@1.8.1-beta.13 2019-01-11 13:08:45 -05:00
Ben Newman
4890fbe4b1 Mention Cordova fixes (#10339) in History.md. 2019-01-11 13:06:33 -05:00
Ben Newman
178a4bec1e Merge pull request #10339 from meteor/cordova-improvements-for-meteor-1.8.1
Cordova improvements for Meteor 1.8.1
2019-01-11 12:55:23 -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
f4485fe807 Use build.json to opt out of incompatible Xcode 10 build system.
https://github.com/apache/cordova-ios/issues/407
2019-01-11 12:14:51 -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. release/METEOR@1.8.1-beta.12 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
dea96ecac6 Fix #10409 by ignoring self-referential browser aliases in package.json. 2019-01-10 11:31:49 -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. release/METEOR@1.8.1-beta.11 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
Ben Newman
7acf030110 Merge branch 'master' into devel 2019-01-06 19:06:03 -05:00
Ben Newman
38c1e5c7d6 Merge pull request #10403 from meteor/release-1.8.0.2
Release 1.8.0.2
2019-01-06 19:04:07 -05:00
Ben Newman
be6e529a73 Bump package versions for the official 1.8.0.2 release. release/METEOR@1.8.0.2 2019-01-06 17:26:28 -05:00
Ben Newman
44b83efeab Mention React tutorial update in History.md. 2019-01-06 17:14:49 -05:00
Ben Newman
68742a5fc0 Bump package versions for 1.8.0.2-rc.2 release. release/METEOR@1.8.0.2-rc.2 2019-01-06 15:56:00 -05:00