Commit Graph

10036 Commits

Author SHA1 Message Date
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
Ben Newman
7acf030110 Merge branch 'master' into devel 2019-01-06 19:06:03 -05:00
Ben Newman
be6e529a73 Bump package versions for the official 1.8.0.2 release. 2019-01-06 17:26:28 -05:00
Ben Newman
68742a5fc0 Bump package versions for 1.8.0.2-rc.2 release. 2019-01-06 15:56:00 -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
f04de1cd0e Bump package versions for 1.8.0.2-rc.1 release. 2019-01-06 15:15:52 -05:00
Ben Newman
a51a0cfb9b Bump meetup-oauth package version and avoid some repetition. 2019-01-05 15:37:51 -05:00
Jan Dvorak
8f2c2b5805 Get more data from Meetup API
I needed at least a name, but after checking the Meetup API I've added other data that I think might be useful.
https://www.meetup.com/meetup_api/docs/2/members/
2019-01-05 15:34:04 -05:00
Ben Newman
b42524ba52 Bump package versions for 1.8.1-beta.10 release. 2019-01-04 13:27:16 -05:00
Ben Newman
57a55ac0d6 Bump package versions for 1.8.1-beta.9 release. 2018-12-19 14:08:49 -05:00
Ben Newman
ff72595fd8 Move the less package into packages/non-core.
This will enable us to update the less npm package in future versions of
Meteor without worrying about minor version constraints imposed by the
Meteor release.
2018-12-13 11:13:55 -05:00
Ben Newman
502d84e7e9 Bump package versions for 1.8.1-beta.8 release. 2018-12-06 12:42:45 -05:00
Ben Newman
40d0fc5dfe Merge branch 'devel' into release-1.8.1 2018-12-06 12:21:52 -05:00
Ben Newman
ad2d715367 Bump meteor-promise version to 0.8.7.
Should help with #10359, as this version includes @VeselyT's commit
bbe4f0d20b
2018-12-06 12:17:19 -05:00
Ben Newman
237d026f6e Update meteor-babel to version 7.2.0. 2018-12-06 10:59:58 -05:00
Ben Newman
1a721df3e1 Bump package versions for 1.8.1-beta.7 release. 2018-11-28 12:02:07 -05:00
Ben Newman
29db9cbd44 Update to latest Mongo server and driver patch versions. 2018-11-28 11:33:53 -05:00
Ben Newman
2de35f4d29 Merge branch 'devel' into release-1.8.1 2018-11-28 11:16:44 -05:00
Ben Newman
47e0046c96 Revert "Remove Blaze dependencies from static-html (#10267)"
This reverts commit 4aad077a9f.

@hwillson Travis CI tests were failing after I merged this, and now
they're passing again (locally) with this commit reverted:
https://travis-ci.org/meteor/meteor/builds/458921622
2018-11-23 14:20:06 -05:00
Ben Newman
56c9062533 Bump webapp package version to 1.7.2. 2018-11-23 14:12:34 -05:00
Ben Newman
8f9401306d Bump dynamic-import package version to 0.5.1. 2018-11-23 14:10:49 -05:00
Hugh Willson
4aad077a9f Remove Blaze dependencies from static-html (#10267)
These changes create a new copy of the static-html and
caching-html-compiler packages in core, as well as a new package
called html-scanner, to house the html-scanner.js functionality
from the templating-tools package. With these changes in place,
we're able to remove all Blaze dependencies from static-html,
which benefits React based Meteor apps.

We don't need the extra `CompileError` class, and using it
was throwing off `caching-html-compiler` error handling.
Errors with messages and line numbers weren't being
interpreted / formatted properly.
2018-11-23 13:04:49 -06: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
Kevin Newman
2a37f61066 Use setTimeout in prefetchInChunks to avoid blocking UI (#10354)
Addresses #10350.
2018-11-23 12:21:09 -06:00
idmadj
fc02c2592c Avoid object shorthand syntax in oauth package. (#10349)
Fixes #10347.
2018-11-23 12:19:50 -06:00
Ben Newman
2d06bf7d54 Bump package versions for 1.8.1-beta.6 release. 2018-11-23 13:14:56 -05:00
Ben Newman
ca2d44204f Bump package versions for the official 1.8.0.1 release. 2018-11-23 11:50:10 -05:00
Ben Newman
40ac2de412 Use object ...spread syntax rather than _.extend. 2018-11-21 11:34:01 -05:00
Ben Newman
2190fdbb18 Bump package versions for 1.8.1-beta.5 release. 2018-11-20 18:21:02 -05:00
Ben Newman
e8440a491d Bump package versions for 1.8.0.1-rc.4 release. 2018-11-20 17:14:23 -05:00