Commit Graph

19099 Commits

Author SHA1 Message Date
Ben Newman
6ca1b9877e Bump package versions for 1.6-beta.1 release. release/METEOR@1.6-beta.1 2017-06-15 10:05:43 -04:00
Ben Newman
ab4f54c49a Revert unnecessary npm_config_disturl overrides. 2017-06-15 09:40:11 -04:00
Ben Newman
baf7e1b739 Bump $BUNDLE_VERSION to 8.1.2 before rebuilding dev bundle.
Matching the current Node version exactly is not an important goal here,
but matching the major.minor.* parts seems feasible and worthwhile.
2017-06-15 09:40:10 -04:00
Ben Newman
6c52ccf752 Upgrade Node to version 8.1.2 to fix process.release.headersUrl.
https://nodejs.org/en/blog/release/v8.1.2/
2017-06-15 09:40:09 -04:00
Ben Newman
4dfd5ae9a4 Bump package versions for 1.6-beta.0 release. release/METEOR@1.6-beta.0 2017-06-14 20:00:43 -04:00
Ben Newman
175ee4885b Always spawn app process with IPC to enable proc.send(message). 2017-06-14 19:38:50 -04:00
Ben Newman
8550412bb0 Reimplement meteor debug using the Node 8 inspector.
This is the feature that excites me most about Meteor 1.6, hands down.

Benefits include:

* Works with `meteor test[-packages] --debug-port 9229` (for tests), as
  well as just `meteor debug` (for apps).

* The application process waits patiently for the debugger to attach, so
  you don't have to race to open the debugger.

* The application process pauses at a location just after all server code
  has been evaluated, but before any code starts executing, giving you a
  chance to set reliable breakpoints anywhere in server code. This is much
  better than using the `node --inspect-brk` flag, since that stops too
  soon to set any useful breakpoints.

* The application server runs at full speed, so you don't have to wait
  forever to hit that all-important breakpoint, and you don't lose nearly
  as much time if you accidentally continue past the line of code where
  the trouble is occurring.

* Even if your application is stuck in an infinite loop, you can still
  attach the debugger, pause execution, and debug the loop.

* No more `node-inspector`! Instead, you can now debug your server code in
  native Chrome DevTools, or several other high-quality inspector clients,
  such as VS Code or WebStorm (seriously, check out the documentation:
  https://nodejs.org/en/docs/inspector/#inspector-tools-clients). The list
  of debuggable processes can be found at the URL chrome://inspect.

* Realistic performance and memory profiling is now possible via the
  familiar DevTools interface.

* I highly recommend this Chrome extension that automatically (re)connects
  to any open inspector sockets, so you don't have to keep manually
  (re)attaching the debugger: http://june07.com/nim

* The implementation of `meteor debug` no longer has to proxy multiple
  private/public debugger ports. Look at all that deleted code!

This new inspector is so much better than the old `node-inspector` that
I've been using the release-1.6 branch to debug problems in Meteor 1.5,
despite the risks of using Node 8, because those risks are so far
outweighed by the quality of the new debugging experience.

That said, the experience isn't perfect (yet). I welcome your feedback on
the Meteor 1.6 PR: https://github.com/meteor/meteor/pull/8728
2017-06-14 19:08:40 -04:00
Ben Newman
10646a8338 Bump package versions for 1.6-alpha.7 release. release/METEOR@1.6-alpha.7 2017-06-14 12:34:09 -04:00
Ben Newman
92b6d48960 Set disturl safely for meteor npm and Meteor package .npm management. 2017-06-14 12:18:39 -04:00
Ben Newman
7f44db91db Revert "Work around a Node 8.1.0 regression that broke meteor login."
This reverts commit dd11432722.

This bug that necessitated this workaround was fixed by
https://github.com/nodejs/node/pull/13560, as mentioned in
https://nodejs.org/en/blog/release/v8.1.1/.
2017-06-14 11:33:34 -04:00
Ben Newman
3b2899dec4 Bump $BUNDLE_VERSION to 8.1.1 before rebuilding dev bundle.
Matching the current Node version exactly is not an important goal here,
but matching the major.minor.* parts seems feasible and worthwhile.
2017-06-14 11:33:33 -04:00
Ben Newman
ead77fc1a4 Override npm's dist-url to fix node-gyp headers download.
https://github.com/nodejs/node-gyp/issues/1230
2017-06-14 11:33:11 -04:00
Ben Newman
48deea984d Update node-gyp and node-pre-gyp to latest versions. 2017-06-13 19:33:27 -04:00
Ben Newman
81e4b4cea3 Upgrade Node to version 8.1.1. 2017-06-13 18:42:23 -04:00
Ben Newman
99b5a60dc7 Bump package versions for 1.6-alpha.6 release. release/METEOR@1.6-alpha.6 2017-06-13 18:04:46 -04:00
Ben Newman
ac12eea2d4 Bump ddp package version (accidentally missed in 1.6-alpha.5). 2017-06-13 17:58:43 -04:00
Ben Newman
5ec2fec129 Bump package versions for 1.6-alpha.5 release. release/METEOR@1.6-alpha.5 2017-06-13 16:55:45 -04:00
Ben Newman
2fcd6d768c Bump $BUNDLE_VERSION to 6.10.8 before rebuilding dev bundle. 2017-06-13 16:43:47 -04:00
Ben Newman
34dfa89556 Merge branch 'release-1.5.1' into release-1.6 2017-06-13 16:42:55 -04:00
Ben Newman
4cc4300516 Bump package versions for 1.5.1-beta.1 release. release/METEOR@1.5.1-beta.1 2017-06-13 14:48:49 -04:00
Jesse Rosenberger
faa5b2ec03 Bump versions of packages associated to #8629.
* Major version bump for `ddp-server`
* Minor version bumps for:
  - `accounts-base`
  - `allow-deny`
  - `ddp-client`
  - `ddp-common`
  - `meteor`
  - `mongo`
2017-06-13 21:06:24 +03:00
Ben Newman
cc07304a48 Update reify in an attempt to fix #8795. 2017-06-13 13:54:44 -04:00
Ben Newman
ac26456692 Bump package versions for 1.5.1-beta.0 release. release/METEOR@1.5.1-beta.0 2017-06-12 20:38:46 -04:00
Ben Newman
570b730812 Bump $BUNDLE_VERSION to 4.8.19 before rebuilding dev bundle. 2017-06-12 20:20:26 -04:00
Ben Newman
acbfff75ed Upgrade reify to version 0.11.23 to silence React.PropTypes warnings. 2017-06-12 20:19:12 -04:00
Ben Newman
a4fb21e20b Inline process.env.NODE_ENV when minifying with UglifyJS or Babili.
Related threads:
https://forums.meteor.com/t/new-react-devtools-check-if-your-production-build-is-really-in-production-mode/36199
meteor/meteor#6402
meteor/meteor-feature-requests#94
2017-06-12 20:16:11 -04:00
Ben Newman
dd1fa7b8c5 Upgrade meteor-babel and expose Babel.getMinifierOptions. 2017-06-12 20:16:11 -04:00
Ben Newman
7e1d4ba6a1 Don't skip reinstalling unchanged Npm.depends-style dependencies. (#8787)
Fixes #8732.
Should also fix #8747.
2017-06-12 16:59:34 -04:00
Ben Newman
85cc9f2407 Don't skip reinstalling unchanged Npm.depends-style dependencies.
Fixes #8732.
Should also fix #8747.
2017-06-12 14:44:51 -04:00
Ben Newman
00a9ed7f1c Merge pull request #8773 from meteor/abenrix/update-rimraf-2.6.1
Attempt to fix "ENOTEMPTY" by updating rimraf dependency.
2017-06-12 13:35:22 -04:00
Ben Newman
a7f898c39b Partial fix for #8775. (#8776)
This may not be a complete fix for issue #8775, but I noticed while
debugging the issue that LocalCollection._removeDollarOperators isn't
removing nested $operators (as it seems like it should be):
d6c4281eeb/packages/minimongo/minimongo.js (L790)

cc @hwillson
2017-06-12 13:34:39 -04:00
Jesse Rosenberger
dc8efec419 Merge pull request #8774 from meteor/abernix/bundle-visualizer-ver-unpin
Remove check for standard-minifier-js@2.1.x from `bundle-visualizer`.
2017-06-12 18:02:53 +03:00
Ben Newman
28d8be4137 Partial fix for #8775.
This may not be a complete fix for issue #8775, but I noticed while
debugging the issue that LocalCollection._removeDollarOperators isn't
removing nested $operators (as it seems like it should be):
d6c4281eeb/packages/minimongo/minimongo.js (L790)

cc @hwillson
2017-06-09 13:38:52 -04:00
Jesse Rosenberger
6df0daebb8 Bump version of bundle-visualizer to 1.0.3.
For the change made in 79b1075ed.
2017-06-09 19:37:33 +03:00
Jesse Rosenberger
79b1075ede Remove check for standard-minifier-js@2.1.x from bundle-visualizer.
While this was helpful in one of the incarnations of the
bundle-visualizer during development it isn't relevant anymore since
the `.stats.json` will not be present in the bundle unless it was
created by a recent version of `standard-minifier-js` which passed
in `stats` (no older versions did this).

Removing this check will also make it possible for other minifiers to be
used with `bundle-visualizer` without them also needing to fork make
their own version.
2017-06-09 19:32:09 +03:00
Ben Newman
e4a51bf6d5 Revert "Give parent process more than enough memory for building apps."
This reverts commit c3b3550471.

Node 8 seems to do a better job than Node 6 of not crashing when memory is
running low, and asking for 8192MB caused an immediate segfault on our
Linux 32-bit build machines.
2017-06-09 10:50:33 -04:00
Ben Newman
0c14a4a983 Bump package versions for 1.6-alpha.4 release. release/METEOR@1.6-alpha.4 2017-06-09 10:04:00 -04:00
Ben Newman
dd11432722 Work around a Node 8.1.0 regression that broke meteor login. 2017-06-09 10:02:34 -04:00
Jesse Rosenberger
e82a43ea11 Bump $BUNDLE_VERSION to 4.8.18 before rebuilding dev bundle.
To include the change from b04ce29bac.
2017-06-09 14:10:25 +03:00
Jesse Rosenberger
b04ce29bac Update rimraf to latest version to hopefully help ENOTEMPTY errors.
There have been a number of commits in the history for `rimraf` which
indicate others have also been struggling with ENOTEMPTY, specifically
on Windows.

https://github.com/isaacs/rimraf/commits/master

This commit, included in 2.6.1 takes a relatively aggressive approach:

d53235de86

However, due to the way the Windows filesystem is designed, this
approach may be the only way of coping with file-handles which are
cached by the OS and not released immediately upon closing a file
(in other words, at a time that Meteor would think it'd be safe to
remove the file/directory).

Attempts to help with meteor/meteor#8485.
2017-06-09 14:09:23 +03:00
Ben Newman
5c40e61916 Bump package versions for 1.6-alpha.3 release. release/METEOR@1.6-alpha.3 2017-06-08 20:44:13 -04:00
Ben Newman
1378190a14 Bump $BUNDLE_VERSION to 6.10.7 before rebuilding dev bundle. 2017-06-08 18:14:01 -04:00
Ben Newman
90efc9678c Upgrade http-proxy to version 1.16.2. 2017-06-08 18:13:16 -04:00
Ben Newman
136f6d53ab Upgrade Node to version 8.1.0. 2017-06-08 18:13:14 -04:00
Ben Newman
611fb1ca24 Merge branch 'devel' into release-1.6 2017-06-08 18:13:05 -04:00
Jesse Rosenberger
f244a5b0c6 Change runInThisContext to Script.prototype.runInThisContext. (#8771)
This actually changed ages ago, in Node.js 0.11 via
fd3657610e
however the descriptive error message, which was previously
enabled with `true` as the third argument, was silently lost.

This reimplements the descriptive error message as mentioned in
https://github.com/meteor/meteor/issues/3200#issuecomment-289685677 by
@d-schiffner.
2017-06-08 18:07:04 -04:00
Ben Newman
c2c7fab2ed Bump ecmascript-runtime-client package version to 0.4.2. 2017-06-07 20:49:01 -04:00
Ben Newman
a75fc8f04f Bump minimongo package version to 1.2.1. 2017-06-07 20:48:47 -04:00
Ben Newman
fd043314a9 Remove unnecessary ...[a, b] spread argument. 2017-06-07 20:46:43 -04:00
mbrobbel
3af430272e Add required TypedArray polyfills. 2017-06-07 20:46:42 -04:00