Commit Graph

21892 Commits

Author SHA1 Message Date
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
Ben Newman
232e1ae8fe Move meteor-{babel,promise} updates into v1.8.0.2 section of History.md.
While these updates were technically available to Meteor 1.8.0.1 apps, the
Meteor release version did not enforce the updates, and the old versions
were still included in the Meteor 1.8.0.1 dev bundle. In other words,
Meteor 1.8.0.2 is the release where these updates were fully enforced.
2019-01-06 15:32:57 -05:00
Ben Newman
e8612e59ec Bump $BUNDLE_VERSION to 8.11.4.8 before rebuilding dev bundle. 2019-01-06 15:29:27 -05:00
Ben Newman
5f503976f5 Mention meteor-promise@0.8.7 update in History.md. 2019-01-06 15:27:05 -05:00
Ben Newman
b736b43b49 Bump meteor-promise version to 0.8.7.
Should help with #10359, as this version includes @VeselyT's commit
bbe4f0d20b
2019-01-06 15:26:56 -05:00
Ben Newman
2673facd0a Update meteor-babel to version 7.2.0. 2019-01-06 15:26:50 -05:00
Ben Newman
e36bd6b4ff Fix 1.8.1-beta.n upgrade instructions in History.md.
Closes #10356.
2019-01-06 15:25:55 -05:00
Ben Newman
0d88efa615 Set release date for Meteor 1.8.0.2 in History.md. 2019-01-06 15:21:08 -05:00
Ben Newman
f04de1cd0e Bump package versions for 1.8.0.2-rc.1 release. release/METEOR@1.8.0.2-rc.1 2019-01-06 15:15:52 -05:00
Ben Newman
0ae61411ce Stop excluding test modules when meteor.testModule found in package.json. (#10402)
New Meteor apps have the following meteor.testModule in their package.json
files by default

  "meteor": {
    "testModule": "tests/main.js"
  }

When meteor.testModule is defined, it determines the test entry point when
running the `meteor test` command, ignoring legacy file naming conventions
like *.tests.js or *.app-tests.js.

The package-source.js code changed by this commit was incorrect because it
ignored those specially-named test files even when running tests, which
was a problem if the meteor.testModule tried to import them explicitly,
because they would not be properly compiled.

If you're using meteor.testModule, the distinction between `meteor test`
and `meteor test --full-app` matters a bit less, since the test entry
point will be the same for both modes, though you can still check
Meteor.isTest and Meteor.isAppTest at runtime to control test behavior.
2019-01-06 15:15:19 -05:00
Ben Newman
fb2146cb3b Stop excluding test modules when meteor.testModule found in package.json. (#10402)
New Meteor apps have the following meteor.testModule in their package.json
files by default

  "meteor": {
    "testModule": "tests/main.js"
  }

When meteor.testModule is defined, it determines the test entry point when
running the `meteor test` command, ignoring legacy file naming conventions
like *.tests.js or *.app-tests.js.

The package-source.js code changed by this commit was incorrect because it
ignored those specially-named test files even when running tests, which
was a problem if the meteor.testModule tried to import them explicitly,
because they would not be properly compiled.

If you're using meteor.testModule, the distinction between `meteor test`
and `meteor test --full-app` matters a bit less, since the test entry
point will be the same for both modes, though you can still check
Meteor.isTest and Meteor.isAppTest at runtime to control test behavior.
2019-01-06 15:02:48 -05:00
Ben Newman
5d88d9a1a4 Improve stack traces for self-test failures. 2019-01-05 16:54:38 -05:00