Commit Graph

19354 Commits

Author SHA1 Message Date
Ben Newman
65fe4982ea Bump package versions for 1.6-beta.11 release. release/METEOR@1.6-beta.11 2017-07-21 19:30:09 -04:00
Ben Newman
f2eed53963 Compile meteor/tools code for Node 8 in Isopack#_writeTool, too. 2017-07-21 18:59:17 -04:00
Ben Newman
2ae406a61f Enable the Reify runtime API even if meteor-babel/register does not. 2017-07-21 18:59:16 -04:00
Ben Newman
c7690ae49f Fix html-scanner tests by never falsifying noLineNumbers when true.
We should never be generating line number comments for server code, since
they can cause problems with multi-line strings, and no one will see those
comments on the server anyway.

The html-scanner tests were breaking because we no longer compile
multi-line template strings for Node 8, yet we were annotating every line
with a line number comment (because we had a source map), and lines within
multi-line template strings were getting comments appended to them, which
thus became an observable part of the string.

On the client, we still compile template strings to normal string
literals, so the line number annotations are not a problem (for now).
2017-07-21 18:25:12 -04:00
Ben Newman
7449d2ff37 Bump $BUNDLE_VERSION to 8.2.2 before rebuilding dev bundle. 2017-07-21 17:08:47 -04:00
Ben Newman
0b507c44e7 Update meteor-babel to version 0.24.3. 2017-07-21 17:08:46 -04:00
Ben Newman
4af283ebcf Fix ecmascript/runtime-tests.js to tolerate native behavior. 2017-07-21 16:14:43 -04:00
Ben Newman
aed9907aef Use Babel options appropriate for Node 8 to compile server code.
This checks off the Meteor 1.6 to-do item about reducing the number of
Babel plugins we use to compile server code:
https://github.com/meteor/meteor/pull/8728#issue-232369984
2017-07-21 14:34:53 -04:00
Ben Newman
2ca9e322d9 Use Babel options appropriate for Node 8 to compile meteor/tools.
Related to https://github.com/meteor/meteor/pull/8728#issue-232369984,
though these changes apply only to the meteor/tools codebase. We still
need to make similar changes to the babel-compiler package so that
application code will benefit.

The assumption that we're using Node 8 also allows some simplifications to
the runtime polyfills that we use.
2017-07-21 14:07:28 -04:00
Ben Newman
937e09b27b Bump $BUNDLE_VERSION to 8.2.1 before rebuilding dev bundle.
Once again, we have a brief opportunity to match the Node version exactly,
so why not?
2017-07-21 14:07:27 -04:00
Ben Newman
1e0f4eec38 Upgrade Node to version 8.2.1.
https://nodejs.org/en/blog/release/v8.2.1/
2017-07-21 14:07:27 -04:00
Ben Newman
73a143aa90 Update meteor-babel to version 0.24.1.
In preparation for eliminating (most) Babel plugins for server code, as
mentioned in https://github.com/meteor/meteor/pull/8728#issue-232369984.
2017-07-21 14:07:26 -04:00
Ben Newman
563ae78b08 Bump package versions for 1.6-beta.10 release. release/METEOR@1.6-beta.10 2017-07-20 16:22:12 -04:00
Ben Newman
3f4866e43a Bump $BUNDLE_VERSION to 8.1.13 before rebuilding dev bundle. 2017-07-20 15:56:10 -04:00
Ben Newman
90cd35e214 Upgrade Node to version 8.2.0.
https://nodejs.org/en/blog/release/v8.2.0/
2017-07-20 15:54:45 -04:00
Ben Newman
dd124410f3 Avoid multiple warnings about raising the ulimit. 2017-07-19 18:05:51 -04:00
Ben Newman
b31649a8b5 Bump package versions for 1.6-beta.9 release. release/METEOR@1.6-beta.9 2017-07-17 19:25:15 -04:00
Ben Newman
deffd80afa Bump $BUNDLE_VERSION to 8.1.12 before rebuilding dev bundle. 2017-07-17 18:04:12 -04:00
Ben Newman
a1d92f4c18 Merge branch 'release-1.5.2' into release-1.6 2017-07-17 18:02:39 -04:00
Ben Newman
2c446101bb Bump package versions for 1.5.2-beta.2 release. release/METEOR@1.5.2-beta.2 2017-07-17 18:01:06 -04:00
Ben Newman
4a0295378d Bump $BUNDLE_VERSION to 4.8.24 before rebuilding dev bundle. 2017-07-17 17:41:59 -04:00
Ben Newman
7d87376bd2 Use multipipe and split2 to compose eachline streams. 2017-07-17 17:41:30 -04:00
Ben Newman
d72bb99985 Bump package versions for 1.5.2-beta.1 release.
Since the -beta152.1 suffix is redundant with the meteor-tool version and
the release version, I'm using just -beta.1 for those versions, but I'm
using -beta152.1 for all other package versions, to avoid overlap with
versions previously published on the release-1.6 branch.
release/METEOR@1.5.2-beta.1
2017-07-17 16:34:39 -04:00
Ben Newman
9bdb98c528 Bump $BUNDLE_VERSION to 4.8.23 before rebuilding dev bundle. 2017-07-17 16:26:39 -04:00
Ben Newman
0f05575099 Simplify eachline by using split npm package. 2017-07-17 16:26:38 -04:00
Ben Newman
2bd9fb088e Bump $BUNDLE_VERSION to 8.1.11 before rebuilding dev bundle. 2017-07-14 14:42:00 -04:00
Ben Newman
ebece4dce7 Update npm to version 5.3.0.
http://blog.npmjs.org/post/162986246605/v530-2017-07-13
2017-07-14 14:41:48 -04:00
Ben Newman
987dabc475 Merge branch 'release-1.5.2' into release-1.6 2017-07-14 14:38:57 -04:00
Ben Newman
c65962f758 Bump package versions for 1.5.2-beta152.0 release.
The "-beta152.0" suffix contains "152" to avoid overlapping with versions
of packages published on the release-1.6 branch.
release/METEOR@1.5.2-beta152.0
2017-07-14 14:15:56 -04:00
Ben Newman
335fb37a1c Bump minor versions of babel-compiler and modules packages.
Since the beta versions of these packages are likely to overlap with
previously published beta versions on the release-1.6 branch, we should be
sure to use a distinct suffix like -beta152.n.
2017-07-14 13:37:58 -04:00
Ben Newman
9e8f5f6083 Bump $BUNDLE_VERSION to 4.8.22 before rebuilding dev bundle. 2017-07-14 13:34:34 -04:00
Ben Newman
53e23671e3 Make sure maybeSuggestRaisingWatchLimit runs in a Fiber.
Should fix recent test failures:
https://circleci.com/gh/meteor/meteor/4570#tests/containers/5
https://circleci.com/gh/meteor/meteor/4570#tests/containers/6
2017-07-14 13:34:34 -04:00
Ben Newman
8af4955389 Use eachline@3.0.5 from npm instead of our own fork.
The pull request corresponding to our fork is not going to be merged, so
it's better to use the alternative this.finished API available in newer
versions of the upstream package.

https://github.com/williamkapke/node-eachline/pull/4
2017-07-14 13:34:33 -04:00
Ben Newman
36bf9bb7fe Upgrade meteor-babel and reify packages to latest versions. 2017-07-14 13:34:32 -04:00
Ben Newman
dc1ba4c905 Upgrade meteor-promise and promise packages to latest versions. 2017-07-14 13:22:36 -04:00
Ben Newman
4ae5c54685 Make sure maybeSuggestRaisingWatchLimit runs in a Fiber.
Should fix recent test failures:
https://circleci.com/gh/meteor/meteor/4570#tests/containers/5
https://circleci.com/gh/meteor/meteor/4570#tests/containers/6
2017-07-14 12:17:38 -04:00
Ben Newman
6ae9cfc3e4 Bump mongo and minimongo minor versions after #8815. 2017-07-13 20:22:23 -04:00
Ben Newman
44796a1831 Merge branch 'master' into devel 2017-07-13 20:16:08 -04:00
Ben Newman
25f003d0bc Throttle requestGarbageCollection to once per 500ms.
With Meteor 1.6 / Node 8, I noticed _buildLocalPackages taking multiple
seconds on initial server startup and restart, and the problem seems to be
that we call the global.gc function too often. This wasn't a problem in
previous versions of Node, as far as I know, but it makes sense to heed
the comment in tools/utils/gc.js, now that it matters.
2017-07-13 20:10:37 -04:00
Ben Newman
46fefdefc5 Allow programmatic garbage collection via gc(). 2017-07-13 20:10:37 -04:00
Ben Newman
1a946774bb Bump package versions for 1.6-beta.8 release.
The 1.6-beta.7 release had a version conflict because of the webapp@1.3.17
constraint in server-render/package.js. I noticed the problem before
publishing the release, so we will just skip to 1.6-beta.8.
release/METEOR@1.6-beta.8
2017-07-13 19:44:41 -04:00
Ben Newman
d5db2d0ad1 Remove constraint on webapp from server-render/package.js. 2017-07-13 19:44:39 -04:00
Ben Newman
08f5ea4c2b Merge branch 'fix/upserts' into devel (#8815). 2017-07-13 18:38:29 -04:00
Ben Newman
e3e7523675 Minor style tweaks (mostly adding missing semicolons). 2017-07-13 18:37:29 -04:00
seke
11c7eabf7f Add entry to History.md 2017-07-13 18:27:28 -04:00
seke
b5a9fde887 Adjust styling as per PR review 2017-07-13 18:26:07 -04:00
Seba Kerckhof
4531b3893c Optimize by only shallow cloning when modifier is replacement 2017-07-13 18:26:06 -04:00
seke
d89d6987fb Restore original indentation 2017-07-13 18:26:06 -04:00
seke
6105f62069 finish tests (hopefully) 2017-07-13 18:26:05 -04:00
seke
dbb24f5788 Revert order of simulated upsert to original order 2017-07-13 18:26:05 -04:00