Commit Graph

22356 Commits

Author SHA1 Message Date
Ben Newman
6d44eda6a2 Update the pathwatcher npm package to version 7.1.0. 2017-06-21 14:42:45 -04:00
Ben Newman
943c6a4d83 Merge branch 'release-1.5.1' into release-1.6 2017-06-21 14:40:01 -04:00
Ben Newman
f5d1cd9c24 Update uglify-js to version 3.0.18. 2017-06-21 14:37:47 -04:00
Hugh Willson
2a3a01acb3 Adjusted the jshint package to meet its own linting requirements. (#8825) 2017-06-21 14:07:52 -04:00
Ben Newman
7cb7866b60 Bump package versions for 1.5.1-beta.3 release. release/METEOR@1.5.1-beta.3 2017-06-21 13:50:33 -04:00
Jesse Rosenberger
94a6d13977 Add additional History.md clarity for #8754.
[no ci]
2017-06-21 13:48:26 -04:00
Jesse Rosenberger
49a28be680 Bump major version of ddp-client for #8754.
To reflect that meteor/meteor#8754 is a breaking change, we should bump the major version here.
2017-06-21 13:47:47 -04:00
Simon Fridlund
ad243d9566 Update History.md 2017-06-21 13:47:17 -04:00
Simon Fridlund
5b9e23f2db Update tests for reactive sub and reub 2017-06-21 13:47:03 -04:00
Simon Fridlund
e51e72b4d7 Trigger ready callback on resubscribe
This fixes #1173.
2017-06-21 13:47:02 -04:00
Ben Newman
4bca448c07 Merge branch 'devel' into release-1.5.1 2017-06-21 13:32:28 -04:00
Ben Newman
d502d2c522 Merge pull request #8796 from hwillson/issue-8794
Adjust mongo upserts so MongoID.ObjectID's aren't filtered from queries.
2017-06-21 11:28:29 -04:00
Ben Newman
bc5db29c55 Merge pull request #8769 from mpowaga/additional-packages-option
Add option to include additional packages
2017-06-21 11:24:48 -04:00
Ben Newman
a32a979856 Merge pull request #8756 from aldeed/client-safe-errors
isClientSafe DDP errors
2017-06-21 11:23:00 -04:00
Ben Newman
653b12268e Adjust ecmascript-runtime-server polyfill list for Node 8.
This package is almost unnecessary now, though I suspect more polyfills
will be added in the future, so we might as well keep it.

Since we're loading so many fewer core-js modules, this change saves about
50ms of server startup time. That might not seem like much, but it's a
measurable savings that benefits every save-rebuild-restart-reload cycle.
2017-06-19 16:36:53 -04:00
Ben Newman
aaa2be8e3c Bump package versions for 1.6-beta.2 release. release/METEOR@1.6-beta.2 2017-06-19 14:34:38 -04:00
Ben Newman
ab338d6cd8 Don't call meteorDebugFuture.wait() unless METEOR_INSPECT_BRK is set.
Bug fixed: we should never be calling meteorDebugFuture.wait() in
production, so we now use process.env.METEOR_INSPECT_BRK in developement
to enable the waiting.

Lesson learned: if you call Fiber.yield() in the only running Fiber
without any other events scheduled on the event loop, the program will
immediately exit with code 0, as it should.

Closes #8817.
2017-06-19 14:32:52 -04:00
Ben Newman
85ee23cfa5 Stop using Object.create to clone process.env in npm-rebuild.js.
Fixes #8808.
2017-06-19 12:29:13 -04:00
Jesse Rosenberger
80c8436924 Merge pull request #8819 from RickvdP/patch-1
Updated doc URLs
2017-06-19 19:23:29 +03:00
Jesse Rosenberger
a05be9a600 Merge branch 'devel' into additional-packages-option 2017-06-19 14:58:37 +03:00
Jesse Rosenberger
1eb578927e Append _1 to coffeescript npm-wrapper package.
As discussed in https://github.com/meteor/meteor/pull/8777 it seems best
to always have the suffix on npm-wrapper packages.

If anything, as a reminder when bumping the version on wrapper packages,
but also just to generally make it more clear if a version suffixed with
`_1` is actually higher than a non-suffixed version or not.
2017-06-19 14:41:49 +03:00
Geoffrey Booth
a09f5e30e5 Update CoffeeScript to 1.12.6 (#8777)
* Update CoffeeScript to 1.12.6; switch to new primary NPM repo

* Added coffeescript update History.md entry and adjusted package version.

* Added missing PR reference.
2017-06-19 14:37:52 +03:00
Rick
c6f80b9502 Updated doc URLs 2017-06-19 12:00:35 +02:00
Ben Newman
0a1b4239a1 Bump package versions for 1.5.1-beta.2 release. release/METEOR@1.5.1-beta.2 2017-06-16 15:17:04 -04:00
Ben Newman
d97183e22e Merge branch 'devel' into release-1.5.1 2017-06-16 14:52:47 -04:00
Jesse Rosenberger
06d00e45c7 Merge branch 'master' into devel 2017-06-16 21:03:36 +03:00
Jesse Rosenberger
aeccf320cc Merge pull request #8812 from meteor/abernix/fix-npm-bcrypt-modules-pinning
Unpin `modules` from `npm-bcrypt`
2017-06-16 20:52:00 +03:00
Jesse Rosenberger
36dca613d8 Bump version of npm-bcrypt in preparation for publishing. 2017-06-16 19:48:54 +03:00
Jesse Rosenberger
0ae3e5ff4c Bump version of accounts-password in preparation for publishing. 2017-06-16 19:48:49 +03:00
Jesse Rosenberger
ff3993c658 Remove pinned version of modules from npm-bcrypt. 2017-06-16 19:47:03 +03:00
Hugh Willson
ed27228aee Added a History.md entry. 2017-06-16 11:21:16 -04:00
Hugh Willson
28114a86ff Adjustments to make sure empty objects aren't saved when stripping $ keys. 2017-06-15 11:43:07 -04:00
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
Seba Kerckhof
b010e205bc Fix documentation on MAIL_URL value (#8805)
* Fix documentation on MAIL_URL value

See https://github.com/meteor/meteor/issues/8804

* Fix long-lines for History.md.

This file is kept word-wrapped. :)

* Additional clarification.

E-mail protocols are far too confusing.

I will squash this commit.
2017-06-15 14:13:59 +03: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
560816126e Bump meteor package version to 1.7.0 to force update in next release. 2017-06-14 12:01:14 -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
Simon Fridlund
a4de554a95 Bind environment of observeChanges callbacks (#8734)
* Bind environment of observeChanges callbacks

This will also bind observe callbacks

* Test bound environment in observeChanges

* Use named exception handler in bindEnvironment

If an observe/observeChanges callback throws and error this will make it a bit easier to figure out where the error came form.

* Update History.md

Being a bit more specific always helps.
2017-06-14 18:29:47 +03:00
Michał Powaga
ec78bdb8ce Remove redundant empty line 2017-06-14 15:42:35 +01:00
Michał Powaga
4d106db287 Fix formatting 2017-06-14 15:38:53 +01:00
Ben Newman
48deea984d Update node-gyp and node-pre-gyp to latest versions. 2017-06-13 19:33:27 -04:00