* 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).
webapp
Source code of released version | Source code of development version
The webapp package contains the core functionality that makes a
Meteor project into a web application. It is a "value added HTTP
server" that includes not just a web server, but also advanced app
serving functionality like over-the-air mobile app updates and HTML5
Appcache support. For more information, see the Webapp project
page.
Direct access to connect mongodb API
The webapp package is implemented using the
npm connect module. webapp exposes
the connect API for handling requests through Webapp.connectHandlers. See
https://docs.meteor.com/#/full/webapp for more details
If you'd like direct access to the connect module (for example, to use one of
the middleware handlers that it defines), you can find it at
WebAppInternals.NpmModules.connect.module. Its version can be read at
WebAppInternals.NpmModules.connect.version.
The version of connect used may change incompatibly from version to version of
Meteor (or we may even replace it with an entirely different implementation);
use at your own risk.