Commit Graph

798 Commits

Author SHA1 Message Date
Ben Newman
97e1bba384 Bump package versions for the official 1.8.2 release. 2019-11-14 15:12:21 -05:00
Ben Newman
44d0f1f408 Bump package versions for 1.8.2-rc.10 release. 2019-11-12 18:06:25 -05:00
Ben Newman
c9904c3ed7 Bump package versions for 1.8.2-rc.9 release.
Note that publishing 1.8.2-rc.8 failed on all platforms due to EMFILE (too
many open files) errors, which necessitated reverting PR #10771.
2019-11-11 19:38:24 -05:00
Ben Newman
a367c9aef5 Bump package versions for 1.8.2-rc.8 release. 2019-11-11 19:12:13 -05:00
Ben Newman
aec3bc76e3 Bump package versions for 1.8.2-rc.7 release. 2019-11-08 16:33:29 -05:00
Ben Newman
00564ac2ad Bump package versions for 1.8.2-rc.6 release.
I made a small mistake publishing rc.5 (forgot to bump
meteor-release-experimental.json), so it seemed simpler to skip straight
to rc.6.
2019-11-05 17:27:36 -05:00
Ben Newman
19f00eef81 Bump package versions for 1.8.2-rc.4 release. 2019-10-24 19:36:39 -04:00
Ben Newman
354c65e7aa Bump webapp package patch version to 1.7.5 after PR #10711. 2019-10-24 18:55:44 -04:00
Florian Kaiser
11ef927252 Remove qs-middleware from webapp package to avoid license issues (#10711)
Closes #10707.
2019-10-24 18:33:34 -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
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
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
d3ccc4ef73 Bump package versions for 1.8.1-beta.20 release. 2019-02-28 16:18:39 -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
987c7b99b9 Bump package versions for 1.8.1-beta.17 release. 2019-02-04 16:58:15 -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
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
56c9062533 Bump webapp package version to 1.7.2. 2018-11-23 14:12:34 -05:00
Ben Newman
f4ebac54ae Merge pull request #10309 from nathan-muir/webapp-runtime-override-is-modern
Fix Meteor.isModern when inline scripts are disabled.
2018-11-23 12:22:03 -06:00
Ben Newman
40ac2de412 Use object ...spread syntax rather than _.extend. 2018-11-21 11:34:01 -05:00
Ben Newman
65e44f6da6 Bump webapp and modern-browsers package versions for #10334. 2018-11-15 11:44:25 -05:00
Jesse Rosenberger
ea28a34a2c Update webapp's useragent npm to v2.3.0 to support HeadlessChrome.
Previously, while the `useragent` package was able to parse the User-Agent
for so-called "Headless Chrome" and generate a family of "HeadlessChrome",
it was unable to parse out the individual portions of the version number
(e.g. major, minor, patch).

For example, the following User-Agent (herein referred to as `userAgentAbove`):

```
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/69.0.3497.100 Safari/537.36
```

Previously resulted in:

```
> require('useragent').lookup(userAgentAbove);

{
  family: 'HeadlessChrome',
  major: '0',
  minor: '0',
  patch: '0',
  /* ... */
}
```

With the newer version of `useragent`, these are now properly extracted and
set which will enable Meteor to treat Headless Chrome the same as Chrome in
a follow-up commit.  Now:

```
> require('useragent').lookup(userAgentAbove);

{
  family: 'HeadlessChrome',
  major: '69',
  minor: '0',
  patch: '3497'
  /* ... */
}
```
2018-11-15 11:44:24 -05:00
Nathan Muir
2e428c8ef3 webapp: add runtime config overrides when inline scripts are disabled
When generating boilerplate, meteor runtime config includes additional
options based on the arch.

However, these additional options were not present when generating
the response to `/meteor_runtime_config.js`, which is used when
inline scripts are disabled.

This change fixes Meteor.isModern in those circumstances.
2018-10-30 17:41:47 +10:00
Ben Newman
37eb174612 Bump package versions for the official 1.8 release. :feelsgood: 2018-10-05 17:29:17 -04:00
Ben Newman
8ddd2f3eae Bump package versions for 1.8-rc.17 release. 2018-10-03 15:15:55 -04:00
Ben Newman
24e1c9f2e7 Bump package versions for 1.8-rc.16 release. 2018-09-18 17:27:34 -04:00
Ben Newman
6020a7c181 Bump package versions for 1.8-rc.15 release. 2018-09-18 14:47:52 -04:00
Ben Newman
1320cdb455 Bump package versions for 1.8-rc.14 release. 2018-09-13 12:46:10 -04:00
Ben Newman
bb72ba969f Bump package versions for 1.8-rc.13 release. 2018-09-13 12:04:36 -04:00
Ben Newman
b5208c7786 Bump package versions for 1.7.1-rc.12 release. 2018-09-12 12:56:21 -04:00
Ben Newman
210d1ac514 Bump package versions for 1.7.1-rc.11 release. 2018-09-11 14:02:00 -04:00
Ben Newman
3d4fb7a8ad Bump package versions for 1.7.1-rc.10 release. 2018-09-11 10:24:58 -04:00
Ben Newman
203829c4f8 Bump package versions for 1.7.1-rc.9 release. 2018-09-10 17:05:14 -04:00
Ben Newman
6134251621 Bump package versions for 1.7.1-rc.8 release. 2018-09-07 10:51:48 -04:00
Ben Newman
b1e44642fe Bump package versions for 1.7.1-rc.7 release. 2018-09-05 21:37:38 -04:00
Ben Newman
5906bb9c1e Bump package versions for 1.7.1-rc.6 release. 2018-09-05 13:28:12 -04:00
Ben Newman
cfa96534bc Bump package versions for 1.7.1-rc.5 release. 2018-08-21 20:53:08 -04:00
Ben Newman
1a74403296 Bump package versions for 1.7.1-rc.4 release. 2018-08-20 15:52:11 -04:00
Ben Newman
db194c5914 Bump package versions for 1.7.1-rc.3 release. 2018-08-20 10:34:48 -04:00
Ben Newman
86030c1001 Bump package versions for 1.7.1-rc.2 release. 2018-08-16 19:03:51 -04:00