Commit Graph

18934 Commits

Author SHA1 Message Date
Ben Newman
d11cf771cd Bump package versions for 1.5-rc.10 release. release/METEOR@1.5-rc.10 2017-05-28 20:46:42 -04:00
Ben Newman
cea372909b Bump $BUNDLE_VERSION to 4.8.14 before rebuilding dev bundle. 2017-05-28 20:26:00 -04:00
Ben Newman
bfea780495 Upgrade meteor-babel and reify to latest versions. 2017-05-28 20:25:32 -04:00
Ben Newman
e866da2210 Add a target release date for Meteor 1.5 to History.md. 2017-05-27 17:06:40 -04:00
Ben Newman
ee6235147c Bump package versions for 1.5-rc.9 release. release/METEOR@1.5-rc.9 2017-05-27 16:58:55 -04:00
Ben Newman
8ff00a26e8 Upgrade uglify-js to version 3.0.12.
Fixes #8704.
2017-05-27 16:10:20 -04:00
Ben Newman
122f0d2cb3 Bump package versions for 1.5-rc.8 release. release/METEOR@1.5-rc.8 2017-05-27 12:28:54 -04:00
Ben Newman
9a166ef212 Bump $BUNDLE_VERSION to 4.8.13 before rebuilding dev bundle. 2017-05-27 12:01:34 -04:00
Ben Newman
6c29e19a94 Upgrade reify to latest version, 0.11.15. 2017-05-27 12:00:56 -04:00
Ben Newman
b1f6904a4e Bump package versions for 1.5-rc.7 release. release/METEOR@1.5-rc.7 2017-05-26 20:14:56 -04:00
Ben Newman
b94443391a Upgrade reify to version 0.11.14 to polyfill WeakMap. 2017-05-26 20:12:10 -04:00
Ben Newman
a4fa387886 Bump $BUNDLE_VERSION to 4.8.12 before rebuilding dev bundle. 2017-05-26 18:22:28 -04:00
Ben Newman
e2210ef01d Update Reify API usage for version 0.11.13. 2017-05-26 18:22:02 -04:00
Ben Newman
93cf550c17 Upgrade meteor-babel to version 0.21.3 and reify to 0.11.13.
Fixes #8720.
2017-05-26 18:21:55 -04:00
Ben Newman
f9f66e100a Upgrade npm to version 4.6.1. 2017-05-26 18:17:33 -04:00
Ben Newman
a445e50c11 Merge branch 'release-1.4.4.3' into release-1.5 2017-05-22 20:21:10 -04:00
Ben Newman
7e52b10ba4 Bump package versions for the official 1.4.4.3 release. release/METEOR@1.4.4.3 2017-05-22 18:42:17 -04:00
Ben Newman
994558ccd7 Bump package versions for 1.4.4.3-rc.0 release. release/METEOR@1.4.4.3-rc.0 2017-05-22 17:00:06 -04:00
Ben Newman
6c998370db Bump $BUNDLE_VERSION to 4.7.27 before rebuilding dev bundle. 2017-05-22 16:55:13 -04:00
Ben Newman
95c11c1b78 Upgrade Node to version 4.8.3.
https://nodejs.org/en/blog/release/v4.8.3/
2017-05-22 16:53:19 -04:00
Ben Newman
48814ddbe3 Update History.md to mention fix for #8709. 2017-05-22 16:52:52 -04:00
Ben Newman
2a3fd57303 Style tweaks and a small bug fix.
These checks should still happen when body is an empty string, which (for
better or worse) is falsy in JavaScript.
2017-05-22 16:40:48 -04:00
David Glasser
5f18c6e24a tools: fix Galaxy discovery
1a036553 in 1.4.4.2 expanded on the HTTP error checking added by 30aec9f in
1.4.2. Neither of these changes were aware that discoverGalaxy invokes
httpHelpers.request with json:true, resulting in a `body` that is a parsed JSON
object rather than a string or Buffer.  Before 1.4.4.2, this had no consequences
because body.length is undefined and `undefined < 90` is false, but the change
to Buffer.byteLength actually made the condition true.

It's safe to not check length in the JSON case because a truncated JSON object
is not legal JSON (unless the truncation just drops trailing whitespace, in
white case that's OK).

I check for both string and Buffer because some calls to this function pass in
an encoding option.  Buffer.byteLength works with both types.
2017-05-22 16:40:42 -04:00
Ben Newman
fee86a0b17 Try not running a full meteor --get-ready before Circle CI tests.
In the ongoing struggle with Circle CI-specific test failures, the
preparatory `meteor --get-ready` has been a consistent point of failure,
before any real tests have the chance to run.

Using a lighter-weight command (meteor --help) that still does most of
what --get-ready did seems worth a try, though it might just defer
memory-intensive work until later, so we'll have to see what happens.
2017-05-22 16:40:33 -04:00
Ben Newman
47496e9dba Call requestGarbageCollection in Isopack#_writeTool.
This method appears to be causing large spikes in memory consumption on
Circle CI during the `meteor --get-ready` preparation step, which often
leads to the test process being killed.

Also added a call in IsopackCache#_loadLocalPackage for good measure.

We're now calling requestGarbageCollection pretty frequently when
we run Node with --expose-gc, but that currently only happens during
Circle CI tests, so I don't think we need to implement the improvements
suggested in tools/utils/gc.js, yet.

Previously: 35f488e140, f6df21ff1e
2017-05-22 16:40:32 -04:00
Ben Newman
35386e49dd Re-run individual tests to avoid re-running the whole suite.
To deal with individual flaky tests, we often just re-run the entire test
suite, which feels like an enormous waste of shared computing resources.

This change automatically re-runs individual failed tests as many as two
more times, and considers the test successful if any of those attempts
succeeds.

cc @abernix @hwillson et al.
2017-05-22 16:40:32 -04:00
Ben Newman
30082c17d5 Bump package versions for 1.5-rc.6 release. release/METEOR@1.5-rc.6 2017-05-18 12:35:10 -04:00
Ben Newman
02cbf94834 Reorganize ecmascript-runtime-client to tolerate more core-js versions.
By not implicitly assuming a particular version of core-js (by importing
specific modules), we can avoid the problems reported in #8699.

Fixes #8699.
2017-05-18 12:32:20 -04:00
Ben Newman
0fbb97432c Fix ENOTEMPTY and EPERM errors on Windows.
Windows began suffering from cryptic ENOTEMPTY and EPERM errors between
1.5-beta.20 and 1.5-rc.0. After a tricky `git bisect` adventure, I tracked
the problem down to my commit b6694b2f5d,
which caused dynamic modules to be written more than once by the bundler.
Though I don't understand exactly why Windows complained in this way, I'm
glad that it did, because otherwise this mistake would merely have been a
performance problem, and might not have been noticed before the release.
2017-05-18 11:48:40 -04:00
Ben Newman
f2d39c167b Bump package versions for 1.5-rc.5 release. release/METEOR@1.5-rc.5 2017-05-17 16:30:40 -04:00
Ben Newman
c871916756 Tolerate older versions of core-js.
Should fix #8699.
2017-05-17 16:30:39 -04:00
Ben Newman
2aa5c28bdb Save 13.5KB minified JS by not forcing core-js TypedArray polyfills.
You can still import these polyfills yourself, if you need them.
2017-05-17 16:18:26 -04:00
Michiel ter Reehorst
fb2e35fa30 Move localStorage access back into try statement (#8703)
Accessing window.localStorage can immediately throw an error in IE (#1291) and other/older webkit versions.
2017-05-17 16:16:49 -04:00
Jesse Rosenberger
647e3a2fc5 Bump bundle-visualizer version to 1.0.1 in preparation for publishing. 2017-05-17 12:46:22 -04:00
Jesse Rosenberger
d45e51f544 Merge pull request #8688 from Primigenus/patch-12
Ensure visualizer displays on top of other UI
2017-05-17 12:15:20 -04:00
Ben Newman
8bd1005840 Bump package versions for 1.5-rc.4 release. release/METEOR@1.5-rc.4 2017-05-16 15:30:37 -04:00
Ben Newman
0a8a538d8e Mention the ecmascript-runtime-{client,server} split in History.md. 2017-05-16 15:25:45 -04:00
Ben Newman
f339dec5ae Try not running a full meteor --get-ready before Circle CI tests.
In the ongoing struggle with Circle CI-specific test failures, the
preparatory `meteor --get-ready` has been a consistent point of failure,
before any real tests have the chance to run.

Using a lighter-weight command (meteor --help) that still does most of
what --get-ready did seems worth a try, though it might just defer
memory-intensive work until later, so we'll have to see what happens.
2017-05-16 14:55:28 -04:00
Ben Newman
16a8a3ae3c Tweaks to linker caching.
No longer using a RegExp when we know what the old file wildcard path
should be, and no longer using Fiber when we can just use a Promise
callback (since all Promise callbacks run in a Fiber).
2017-05-16 13:43:38 -04:00
Hugh Willson
b8a8833ac6 Moved LINKER_CACHE_SALT into cacheKeySuffix part of cache filename hash. 2017-05-16 13:41:40 -04:00
Hugh Willson
7dd14e723d Adjusted bundler-cache saved file approach to remove out of date cache files. 2017-05-16 13:41:39 -04:00
Ben Newman
ff53a91152 Bump package versions for 1.5-rc.3 release.
Something went wrong with 1.5-rc.2 such that publishing meteor-tool failed
with the following error on all platforms:

  While publishing package build for meteor-tool:
  error: Cannot override existing build

This makes no sense to me, but it necessitates another RC release. To be
clear, meteor-tool@1.5.0-rc.2 has not been successfully published on any
platform, so please don't bother trying to update to it.
release/METEOR@1.5-rc.3
2017-05-15 18:46:00 -04:00
Ben Newman
642e8a369f Bump package versions for 1.5-rc.2 release. release/METEOR@1.5-rc.2 2017-05-15 16:17:24 -04:00
Ben Newman
2e057d7119 Call requestGarbageCollection in Isopack#_writeTool.
This method appears to be causing large spikes in memory consumption on
Circle CI during the `meteor --get-ready` preparation step, which often
leads to the test process being killed.

Also added a call in IsopackCache#_loadLocalPackage for good measure.

We're now calling requestGarbageCollection pretty frequently when
we run Node with --expose-gc, but that currently only happens during
Circle CI tests, so I don't think we need to implement the improvements
suggested in tools/utils/gc.js, yet.

Previously: 35f488e140, f6df21ff1e
2017-05-15 16:17:20 -04:00
Ben Newman
2032ba8b23 Re-run individual tests to avoid re-running the whole suite.
To deal with individual flaky tests, we often just re-run the entire test
suite, which feels like an enormous waste of shared computing resources.

This change automatically re-runs individual failed tests as many as two
more times, and considers the test successful if any of those attempts
succeeds.

cc @abernix @hwillson et al.
2017-05-15 13:56:57 -04:00
Ben Newman
93da21ed62 Update History.md with miscellaneous Meteor 1.5 changes. 2017-05-15 13:06:52 -04:00
Ben Newman
e3bd1cfb9c Make dynamic import(...) caching more robust to IndexedDB failures.
Fixes #8697.
2017-05-15 12:11:30 -04:00
Rahul
f9772ea2ef Ensure visualizer displays on top of other UI
There was an issue where most of the visualizer was visible but the module size details displayed when hovering over a segment were hidden behind some UI elements. Setting a high z-index fixes it.
2017-05-11 19:58:23 -07:00
Ben Newman
4ee3fc1b5e Improve summary in dynamic-import/package.js. 2017-05-11 16:06:42 -04:00
Ben Newman
eb45a78982 Bump package versions for 1.5-rc.1 release. release/METEOR@1.5-rc.1 2017-05-11 13:33:57 -04:00