Commit Graph

21149 Commits

Author SHA1 Message Date
Ben Newman
d87239931d Bump package versions for 1.7-rc.13 release. release/METEOR@1.7-rc.13 2018-05-25 18:49:38 -04:00
Ben Newman
f0ce33a8ec Bump $BUNDLE_VERSION to 8.11.2.8 before rebuilding dev bundle. 2018-05-25 18:43:59 -04:00
Ben Newman
6407e4dafb Update meteor-babel to version 7.0.0-beta.49-1.
Also switching from babelOptions.sourceMap to babelOptions.sourceMaps,
finally: https://babeljs.io/docs/usage/api/#options
2018-05-25 18:43:13 -04:00
Ben Newman
6acbd55577 Merge branch 'devel' into release-1.7 2018-05-25 00:31:23 -04:00
Ben Newman
7da131b3a6 Update meteor-babel to 7.0.0-beta.48 and reify to 0.16.1.
https://github.com/meteor/meteor/issues/9905#issuecomment-391932408

Should fix #9905.
2018-05-24 23:52:39 -04:00
Ben Newman
35da297e02 Bump package versions for 1.7-rc.12 release. release/METEOR@1.7-rc.12 2018-05-24 23:19:54 -04:00
Ben Newman
5ac27341f7 Update @babel/runtime for new app skeletons to 7.0.0-beta.48. 2018-05-24 23:04:42 -04:00
Ben Newman
71b9241611 Revert "Use legacy workaround for @babel/runtime/helpers/inheritsLoose."
This reverts commit 8bfdea712a.

As clever as this IE10 hack may have been, it should no longer be
necessary, thanks to https://github.com/babel/babel/pull/7969.

cc @abernix @hwillson
2018-05-24 23:01:08 -04:00
Ben Newman
f5d5c85aa3 Bump $BUNDLE_VERSION to 8.11.2.7 before rebuilding dev bundle. 2018-05-24 22:39:25 -04:00
Ben Newman
b28c8a6249 Update meteor-babel to 7.0.0-beta.48 and reify to 0.16.1. 2018-05-24 22:34:38 -04:00
Ben Newman
e3bac92c82 Strip //# sourceMappingURL comments for files without source maps.
https://github.com/meteor/meteor/issues/9894#issuecomment-391101074

Fixes #9894.
2018-05-23 19:19:05 -04:00
Ben Newman
1aabda8fcf Set release date for Meteor 1.7. 🎉
cc @abernix @hwillson
2018-05-16 20:45:04 -04:00
Ben Newman
d64e87b852 Bump LINKER_CACHE_SALT and compiler.BUILT_BY for good measure. 2018-05-16 20:43:26 -04:00
Ben Newman
9313e683d5 Bump package versions for 1.7-rc.11 release. release/METEOR@1.7-rc.11 2018-05-16 17:53:20 -04:00
Ben Newman
edc05ee06b Bump $BUNDLE_VERSION to 8.11.2.6 before rebuilding dev bundle. 2018-05-16 17:52:00 -04:00
Ben Newman
a76e6da686 Update help text about minimal starter app to deemphasize emptiness. 2018-05-16 17:47:19 -04:00
Ben Newman
3d1078b5b3 Expand History.md entry about meteor create --minimal. 2018-05-16 17:47:18 -04:00
Ben Newman
af9a0e183f Include "Learn Meteor!" links in minimial starter app HTML. 2018-05-16 17:31:59 -04:00
Ben Newman
10e69ee84d Include actual CSS in default starter app. 2018-05-16 17:31:37 -04:00
Ben Newman
c88b888275 Demonstrate basic server-side rendering in minimal starter app.
Now that the meteor/server-render package is lazy on the client, it adds
no weight to the client JavaScript bundle unless imported.
2018-05-16 17:22:12 -04:00
Ben Newman
b6ac0acbf6 Remove outdated Reify runtime workarounds from modules/reify.js. 2018-05-16 15:20:38 -04:00
Ben Newman
538175116b Make meteor/server-render lazy on the client. 2018-05-16 15:20:38 -04:00
Ben Newman
c29b191a42 Make the minimal starter application follow best practices. 2018-05-16 15:20:38 -04:00
Ben Newman
b830665a1f Expose App.settings in mobile-config.js rather than Settings.
Follow-up to #9873.
2018-05-16 12:45:07 -04:00
Jan Owsiany
b35aab6c55 Expose Meteor settings inside mobile-config.js (#9873) 2018-05-16 12:22:38 -04:00
Ben Newman
124e334a95 Update meteor-babel and @babel/runtime to version 7.0.0-beta.47. 2018-05-16 12:16:28 -04:00
Ben Newman
938d92d25e Bump package versions for 1.7-rc.10 release. release/METEOR@1.7-rc.10 2018-05-15 18:03:10 -04:00
Ben Newman
157e028bf7 Bump $BUNDLE_VERSION to 8.11.2.5 before rebuilding dev bundle. 2018-05-15 18:01:55 -04:00
Ben Newman
e35e9e0ef9 Update Node to version 8.11.2. 🎉
https://nodejs.org/en/blog/release/v8.11.2/
2018-05-15 18:01:55 -04:00
Ben Newman
927aa93bc4 Bump ddp-server package version to 2.2.0. 2018-05-15 16:48:39 -04:00
Lucas Hansen
b93ffce4dc Manually track number of crossbar listeners by collection (#9889) 2018-05-15 10:40:04 -04:00
Ben Newman
a646bdbbd4 Use only Meteor.absoluteUrl for dynamic import() requests, again.
https://github.com/meteor/meteor/issues/9747#issuecomment-388931828
https://github.com/meteor/meteor/issues/9888#issuecomment-388953091

cc @sebakerckhof @joaomframos
2018-05-15 10:34:21 -04:00
Ben Newman
b0db9f3387 Bump package versions for 1.7-rc.9 release. release/METEOR@1.7-rc.9 2018-05-14 14:31:46 -04:00
Ben Newman
76ece148ba Update meteor-babel to version 7.0.0-beta.46-5. 2018-05-14 14:20:11 -04:00
Ben Newman
8273eb84e3 Avoid calling files.readlink if target not a symbolic link. 2018-05-14 14:17:46 -04:00
Ben Newman
8566c2ce24 Do not assume location.host can be used for dynamic import(). 2018-05-14 11:35:20 -04:00
Ben Newman
c4b5707747 Allow dynamic import() requests from any origin.
Another way to fix #9888: properly handle OPTIONS requests by returning
permissive CORS headers, so that the dynamic import() server can respond
to requests from any origin.
2018-05-14 11:22:12 -04:00
Ben Newman
6c91a4f0c3 Revert "Use Meteor.absoluteUrl again in dynamic-import fetchMissing function."
This reverts commit 3b77bb5197.

Should fix #9888.

Sending dynamic import() requests to any origin other than location.host
causes some browsers to send a preflight CORS request ( method:OPTIONS) to
verify that the server allows the request, which was causing problems
because the dynamic import() server expects method:POST.
2018-05-14 11:21:00 -04:00
zodern
903cd3c8b9 Fix creating symlinks on Windows April 2018 Update (#9887) 2018-05-14 11:20:56 -04:00
Lucas Hansen
36abc1a0b6 Remove EJSON.clone from the onOplogEntry handler (#9886) 2018-05-14 09:36:18 -04:00
zodern
5f9fdda632 Fix creating symlinks on Windows April 2018 Update (#9887) 2018-05-14 09:34:28 -04:00
Ben Newman
1f46a2afc3 Bump package versions for 1.7-rc.8 release. release/METEOR@1.7-rc.8 2018-05-12 14:47:54 -04:00
Lukas Strassel
612ff48c8f Polyfill Array.prototype.{flatten,flatMap} in modern bundle (#9883)
With the split of modern/legacy bundles, we no longer polyfill native features.

While Array.prototype.includes is available in modern browsers, flatten and flatMap are not.

This PR re-adds those polyfills to the modern bundle, for consistency with the legacy bundle.
2018-05-12 14:45:46 -04:00
Ben Newman
5aab6d2a12 Avoid caching Resolver on PackageSourceBatch, but cache node_modules paths.
Now that getResolver takes options, it seems inappropriate to cache only
the first resolver created, since multiple resolvers might be created with
different options.

Fortunately, caching Resolver objects is not strictly necessary (even for
performance), since Resolver.getOrCreate already caches based on the
options it receives.

The only other meaningful work PackageSourceBatch#getResolver was doing
was computing the nodeModulesPaths option, so I've cached that.
2018-05-12 13:29:09 -04:00
Ben Newman
82ef207557 Bump package versions for 1.7-rc.7 release. release/METEOR@1.7-rc.7 2018-05-12 12:49:52 -04:00
Ben Newman
dbdadc1b11 Avoid using "browser" field of package.json for inputFile.resolve.
Fixes #9870.
2018-05-12 12:43:54 -04:00
Ben Newman
e25c2fbf45 Bump $BUNDLE_VERSION to 8.11.2.4 before rebuilding dev bundle. 2018-05-12 12:05:40 -04:00
Ben Newman
9b7231bdd4 Update npm to version 5.10.0.
Release notes: https://github.com/npm/npm/releases/tag/v5.10.0

No need to update our pacote fork this time, since pacote@7.6.1 is still
what's used by npm@5.10.0:
https://github.com/npm/npm/blob/v5.10.0/package.json#L105
2018-05-12 11:57:20 -04:00
Ben Newman
1b17025cd4 Tolerate missing files in Builder#_ensureDirectory.
Fixes #9882.
2018-05-12 11:40:01 -04:00
Ben Newman
3b77bb5197 Use Meteor.absoluteUrl again in dynamic-import fetchMissing function.
Previously:
4aeb453c7b
https://github.com/meteor/meteor/pull/9274#issuecomment-348080546
2018-05-12 11:40:01 -04:00