Ben Newman
6725b7046e
Bump package versions for 1.7.1-beta.0 release.
2018-06-05 13:27:52 -04:00
Ben Newman
e595bae374
Fix jsdoc for Mongo.Collection#raw{Collection,Database}.
2018-06-04 10:21:55 -04:00
Ben Newman
d78a17d7e9
Bump package versions for the official 1.7.0.1 release.
...
https://github.com/meteor/meteor/pull/9917
2018-05-30 10:03:34 -04:00
Ben Newman
f41e3f17ce
Bump package versions for 1.7.0.1-rc.0 release.
2018-05-29 18:13:22 -04:00
James Burgess
0a61dae68d
Docs typo ( #9898 )
2018-05-28 14:06:53 -04:00
Ben Newman
39295cc136
Support both mobile_safari and mobileSafari for isModern testing.
...
https://github.com/meteor/meteor/issues/9717#issuecomment-392521536
2018-05-28 12:22:19 -04:00
Ben Newman
274e2b1ed2
Make chrome{,Mobile{,IOS}} synonymous for isModern testing.
2018-05-28 12:19:05 -04:00
Ben Newman
4a76fe3fe6
Bump package versions for the official 1.7 release.
2018-05-27 19:29:46 -04:00
Ben Newman
240855777a
Bump package versions for 1.7-rc.14 release.
2018-05-27 18:01:51 -04:00
Ben Newman
a126cf5641
Update reify to version 0.16.2.
2018-05-27 18:00:48 -04:00
Ben Newman
dab025e514
Stop passing babelOptions.sourceMap when compiling meteor shell commands.
2018-05-25 20:10:39 -04:00
Ben Newman
d87239931d
Bump package versions for 1.7-rc.13 release.
2018-05-25 18:49:38 -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
35da297e02
Bump package versions for 1.7-rc.12 release.
2018-05-24 23:19:54 -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
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
9313e683d5
Bump package versions for 1.7-rc.11 release.
2018-05-16 17:53:20 -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
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.
2018-05-15 18:03:10 -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.
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
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
Lucas Hansen
36abc1a0b6
Remove EJSON.clone from the onOplogEntry handler ( #9886 )
2018-05-14 09:36:18 -04:00
Ben Newman
1f46a2afc3
Bump package versions for 1.7-rc.8 release.
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
82ef207557
Bump package versions for 1.7-rc.7 release.
2018-05-12 12:49:52 -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
Ben Newman
a8a97016b7
Properly join url and path with / separator in Meteor.absoluteUrl.
2018-05-12 11:40:01 -04:00
Ben Newman
5f131ffe3b
Set default Meteor.absoluteUrl ROOT_URL from window.location.
2018-05-12 11:30:13 -04:00
Ben Newman
dacedda571
Use HTTPS in Meteor.absoluteUrl by default if window.location uses HTTPS.
...
Another attempt to fix #9879 .
2018-05-12 11:30:13 -04:00
Ben Newman
9bf35f60d2
Revert "Use wss:// WebSocket URL when location.protocol is https:"
...
This reverts commit 65115ddab7 .
The root of the problem lies in the default value of options.secure used
by Meteor.absoluteUrl.
2018-05-12 11:29:20 -04:00
Ben Newman
65115ddab7
Use wss:// WebSocket URL when location.protocol is https:
...
Attempt to fix #9879 .
2018-05-11 18:04:51 -04:00
Ben Newman
8e1287054a
Bump package versions for 1.7-rc.6 release.
2018-05-10 12:16:22 -04:00
Ben Newman
1dd5e5f92f
Merge branch 'devel' into release-1.7
2018-05-09 20:30:53 -04:00
Ben Newman
782d774b43
Rename cache files synchronously in caching-compiler.
...
I've noticed that sometimes it takes a while for cache files to be fully
written and renamed, so I think we can speed things up while still
preserving the asynchronicity by doing the rename synchronously in the
async fs.writeFile callback.
2018-05-09 20:25:34 -04:00
Ben Newman
3205a8ec0a
Pass cacheOptions (not just cacheDeps) to Babel.compile.
...
It's important not to involve cacheDirectory in the computation of cache
keys, since that introduces too much diversity, especially when running
tests, since tests use temporary directories with randomized names.
2018-05-09 19:22:03 -04:00
Ben Newman
60caaeb774
Bump package versions for 1.7-rc.5 release.
2018-05-09 18:48:35 -04:00
Ben Newman
538bd0374b
Update meteor-babel to version 7.0.0-beta.46-4.
...
This version no longer includes the cache directory in the computation of
the cache key, which allows repeated test runs to reuse compilation
results from previous runs.
2018-05-09 18:36:59 -04:00
Ben Newman
84c5667f7f
Bump package versions for 1.7-rc.4 release.
2018-05-09 16:39:37 -04:00
Ben Newman
b8ee3d01ab
Stop setting a global Babel cache directory.
...
Instead, the cache directory is provided as part of the third argument to
Babel.compile, which means we can set the cache directory per instance of
BabelCompiler in BabelCompiler#setCacheDir.
This became a problem because coffeescript was calling
the setCacheDir method of its own instance of BabelCompiler, which was
racing with the setCacheDir call for the ecmascript package:
f601ec9693/packages/non-core/coffeescript/compile-coffeescript.js (L27)
2018-05-09 13:03:43 -04:00
Ben Newman
faa08fd5a6
Cache previous inferExtraBabelOptions work.
...
TODO This should be optimistically cached across invocations of
BabelCompiler#processFilesForTarget.
2018-05-08 20:21:29 -04:00
Ben Newman
f601ec9693
Bump package versions for 1.7-rc.3 release.
2018-05-08 13:14:03 -04:00
Ben Newman
f489ba9f95
Bump package versions for 1.7-rc.2 release.
2018-05-07 11:19:43 -04:00