Commit Graph

17419 Commits

Author SHA1 Message Date
Ben Newman
e9f6b2b404 Bump package versions for 1.4.1-beta.1 release. release/METEOR@1.4.1-beta.1 2016-08-11 12:26:32 -04:00
Ben Newman
0122127aee Bump $BUNDLE_VERSION to 4.2.6 before rebuilding dev bundle. 2016-08-11 11:43:41 -04:00
Ben Newman
d6cc3429fe Update meteor-babel to v0.12.0. 2016-08-11 11:43:08 -04:00
Ben Newman
e5313e9144 Update meteor-ecmascript-runtime to v0.2.9. 2016-08-11 11:42:59 -04:00
Ben Newman
027a7b6e32 Merge branch 'devel' into release-1.4.1 2016-08-11 11:30:40 -04:00
Ben Newman
a78dde0225 Make meteor publish-for-arch unnecessary in most cases (#7608)
* Include process.{platform,arch} in .meteor-last-rebuild-version.json.

This supports rebuilding binary npm packages published by completely
different architectures, not just different versions of Node.

* Make publish-for-arch unnecessary in most cases.

* Don't rebuild binary packages when Node patch version changes.

* Permit patch-compatible versions in .meteor-last-rebuild-version.json.

This is a more general solution than simply discarding the patch version
for currentVersions.versions.node, as I did in a previous commit.
2016-08-11 11:24:38 -04:00
Ben Newman
3c7f83778f Move server-side component of meteor shell into a package. (#7624)
This will make it much easier to fix bugs and make improvements going
forward, since they won't have to wait for the next release of Meteor.

One functional change: when the parent process exits, it no longer forces
all connected shell clients to disconnect, which is actually a more
convenient behavior, because it gives the clients a chance to reconnect
when/if the server starts up again, and it's easy enough to kill the
clients if that's what you want.
2016-08-11 09:11:40 -04:00
Wexpo Lyu
e91b342360 Update README.md for Windows users. (#7610)
* Update README.md

* Update README.md
2016-08-10 19:10:30 -04:00
Ben Newman
491a413cb5 Update shrinkwrap for ecmascript-runtime. 2016-08-10 19:05:38 -04:00
Ben Newman
fe9f46c8a0 Upgrade ecmascript-runtime to include stage 4 proposals.
https://github.com/meteor/ecmascript-runtime/pull/4
2016-08-10 17:40:07 -04:00
Ben Newman
e4e87ecce4 Don't touch ~/.meteor/meteor after background updates. (#7616) 2016-08-10 16:53:56 -04:00
Tom Coleman
eebf538ee0 Merge pull request #7591 from lieuwex/patch-2
Make commits links in changelog
2016-08-10 08:28:17 +10:00
Ben Newman
a1c3516053 Use pure-JavaScript implementation for npm-bcrypt package. (#7595)
According to the README, this implementation is approximately 2.7 times
slower than native: https://www.npmjs.com/package/bcryptjs

Apps that wish to continue using the native bcrypt package should run
`meteor npm install --save bcrypt` in the root application directory, and
the npm-bcrypt package will prefer that implementation.
2016-08-09 16:42:41 -04:00
Ben Newman
c8f1633012 Fix typo in Accounts#_expirePasswordResetTokens.
Needed to add version constraints to all the dependencies in
accounts-base/package.js so that I can publish it independently from a
Meteor release.

Follow-up to #7534.
Fixes #7611.
2016-08-09 13:27:26 -04:00
Ben Newman
d15e87c823 Fix typo in Accounts#_expirePasswordResetTokens.
Follow-up to #7534.
2016-08-09 13:06:19 -04:00
Ben Newman
15684bc47e Bump package versions for 1.4.1-beta.0 release. release/METEOR@1.4.1-beta.0 2016-08-08 21:02:34 -04:00
Ben Newman
184dcb78a5 Merge branch 'devel' into release-1.4.1 2016-08-08 19:36:24 -04:00
Ben Newman
a912eed990 Fix accidental stripping of @scoped npm packages. (#7609)
The previous code did not accommodate the possibility that
`meteorNpm.getProdPackageNames` might return a package name that contained
one or more `/` characters.

Fixes #7579.
2016-08-08 19:35:11 -04:00
Ben Newman
cb587f6145 Upgrade meteor-ecmascript-runtime to 0.2.8.
Most notably, this version reuses global.Symbol when possible.
2016-08-08 18:44:34 -04:00
Ben Newman
0d4cf02361 Add version constraints for all dependencies of accounts-password.
This is necessary to allow publishing accounts-password independently of a
Meteor release.

Note that the npm-bcrypt version has been bumped to 0.8.7_1.
2016-08-08 12:51:39 -04:00
Ben Newman
5b35fc5573 Bump npm-bcrypt version to republish for all architectures. 2016-08-08 12:46:30 -04:00
Ben Newman
0ae8494b81 Bump $BUNDLE_VERSION to 4.2.5 before rebuilding dev bundle. 2016-08-06 13:46:17 -04:00
Ben Newman
4bdc65919d Set $USERPROFILE to the dev bundle directory for meteor {node,npm}.
The node-gyp tool uses `process.env.HOME || process.env.USERPROFILE` to
determine where it should install the .node-gyp directory containing Node
headers and libraries, and we now preinstall that directory at
dev_bundle/.node-gyp/, so (with this change) no download should be
necessary.
2016-08-06 13:46:16 -04:00
Ben Newman
a4a828e4c3 Install Node headers and libraries in dev_bundle/.node-gyp/.
This gives us a reliable place for node-gyp to find the necessary headers
and libraries for compiling binary packages, instead of relying on the
accessibility of $HOME and/or $USERPROFILE.
2016-08-06 13:46:16 -04:00
Ben Newman
7faa4ba7d7 Revert "Include Node 4.5.0-rc.2 in the dev bundle."
This reverts commit 64a9312e29.

Although Meteor runs fine on Node 4.5.0, node-gyp doesn't know how to
download libraries appropriate for RC releases, so it looks like we need
to hold off on this upgrade until it's officially out.
2016-08-06 13:46:16 -04:00
Ben Newman
2c790c48a2 Bump $BUNDLE_VERSION to 4.2.4 before rebuilding dev bundle. 2016-08-06 13:46:15 -04:00
Ben Newman
760eecb1d2 Include Node 4.5.0-rc.2 in the dev bundle. 2016-08-06 13:46:15 -04:00
Ben Newman
b96a016202 Mention native package extraction in History.md. 2016-08-06 13:46:15 -04:00
Ben Newman
f9809c2f4b Update History.md to reflect various changes for v1.4.1. 2016-08-06 13:46:14 -04:00
Ben Newman
cfa38d1de6 Fix call to nonexistent method buildmessage.hasMessages(). 2016-08-06 13:45:20 -04:00
Ben Newman
70b620511d Fix tests for #7534. 2016-08-05 18:10:51 -04:00
Lieuwe Rooijakkers
3a662a5bfb make commits links in changelog 2016-08-05 20:22:39 +02:00
Maxime Quandalle
bbc0ecc6e1 Fix broken links in the changelog (#7588) 2016-08-05 14:46:30 +03:00
Tom Coleman
ccaa3fc704 Update History.md 2016-08-04 11:42:12 +10:00
Tom Coleman
d7c509b5fb Merge pull request #7534 from Ben305/expire-password-reset-tokens
Expire Password reset tokens
2016-08-04 11:39:41 +10:00
Ben Newman
6bb2cd4f3f Merge pull request #7572 from meteor/stop-minifying-server-files
Stop minifying server files.
2016-08-03 19:59:06 -04:00
Ben Newman
7900538d8c Merge pull request #7571 from meteor/add-gyp-tools-to-server-bundle
Add node-gyp and node-pre-gyp to dev_bundle/server-lib/node_modules.
2016-08-03 19:46:29 -04:00
Ben Newman
aacfbbf5d2 Merge pull request #7485 from kaneoh/bugfix/sourcemap-header-fix
Fix source map header for the prelinked files
2016-08-03 17:10:11 -04:00
Ben Newman
c0a3698755 Merge pull request #7562 from meteor/meteor-shell-multi-line-input
Fix multi-line input to `meteor shell`.
2016-08-03 16:51:41 -04:00
Ben Newman
a83f6da059 Don't minify non-web .css files.
We shouldn't be processing .css files on the server anyway, because of a
similar restriction in packages/meteor/plugin/basic-file-types.js, but
it seemed wise to enforce that restriction redundantly here.
2016-08-03 16:34:31 -04:00
Ben Newman
2f6a6921b9 Don't minify non-web .js files.
Fixes #7479, #7441, and similar issues for server-only files that
contain syntax supported by Node 4 but not supported by UglifyJS.
2016-08-03 16:34:30 -04:00
Ben Newman
7363d9c0be Upgrade uglify-js to version 2.7.0.
This version still doesn't support many ES2015 features, but we might as
well use the latest stable version.
2016-08-03 16:34:30 -04:00
Ben Newman
7ece1e5a28 Bump $BUNDLE_VERSION to 4.2.3 before rebuilding dev bundle. 2016-08-03 15:58:36 -04:00
Ben Newman
44cf6bbe4d Add some basic self-tests of meteor shell.
Related to #7504.
2016-08-03 15:56:34 -04:00
Ben Newman
08f14ef1a2 Add a basic app template for testing meteor shell. 2016-08-03 15:56:34 -04:00
Ben Newman
83b0d90180 Fix multi-line input to meteor shell.
There is unfortunately no way to access the special Recoverable
constructor defined in node/lib/repl.js unless we temporarily use the
defaultEval function, trigger a recoverable error, and capture its
.constructor property. Fortunately we are that clever.

Fixes #7504.
2016-08-03 15:56:34 -04:00
Ben Newman
a617ddaec2 Add node-gyp and node-pre-gyp to server node_modules.
This will help with running `npm rebuild` in bundle/programs/server,
fixing problems like #7568.
2016-08-03 15:56:04 -04:00
Ben Newman
f4e5ff91d8 Merge pull request #7569 from meteor/fix-misbehaving-promise-polyfill
Fix misbehaving promise polyfill.
2016-08-03 15:55:44 -04:00
Ben Newman
1d5ca820df Don't swallow unexpected errors when checking for phantomjs-prebuilt. 2016-08-03 15:26:36 -04:00
Ben Newman
2de0fb59ef Make sure self-tests have a consistent runtime environment. 2016-08-03 15:25:15 -04:00