Commit Graph

20084 Commits

Author SHA1 Message Date
Ben Newman
f0970fd13f Merge branch 'devel' into release-1.6.1 2017-10-31 14:57:07 -04:00
Ben Newman
9e65d8bea7 Enable dead code elimination in minifier-js to fix #9260.
The react-dom@16 npm package recently got stricter about how it checks
that dead code elimination is enabled. Specifically, it no longer just
checks that process.env.NODE_ENV is replaced with "production" but also
requires conditional branches to be completely removed if the replacement
makes them unreachable:
https://github.com/facebook/react/blob/master/packages/react-dom/npm/index.js

The minifier-js package recently had its minor version bumped for Meteor
1.6, so I think it's safe to enable dead code elimination in a patch
version update. If we bumped the minor version again (to 2.3.0), this
version of minifier-js would not be usable with Meteor 1.6, and would
probably have to wait for Meteor 1.6.1.

Bumping the patch version of standard-minifier-js is also necessary
because it uses minifier-js as a compiler plugin, and would otherwise
continue to bundle the old minifier-js plugin.
2017-10-31 14:40:49 -04:00
Ben Newman
a60b32afc6 Bump $BUNDLE_VERSION to 8.8.2 before rebuilding dev bundle. 2017-10-30 15:08:24 -04:00
Ben Newman
8647e4647b Update npm to version 5.5.1.
I also took this opportunity to rebase our fork of the pacote package
against the latest upstream version (6.1.0).
2017-10-30 15:07:32 -04:00
Ben Newman
4a97d0551f Merge branch 'master' into devel 2017-10-27 14:51:46 -04:00
Ben Newman
e0c2849ed3 Merge pull request #8728 from meteor/release-1.6
Release 1.6
2017-10-27 14:45:26 -04:00
Ben Newman
0cef7e4895 Fix v1.6 version typo in History.md. 🤦‍♂️ 2017-10-27 13:18:09 -04:00
Ben Newman
0bff81f0b4 Bump package versions for the official 1.6 release. release/METEOR@1.6 2017-10-27 13:00:43 -04:00
Ben Newman
2004873909 Final tweaks to History.md. 🎉 2017-10-27 12:58:12 -04:00
Ben Newman
b63ab27986 Bump package versions for 1.6-rc.18 release. release/METEOR@1.6-rc.18 2017-10-26 11:37:15 -04:00
Ben Newman
e89879383b Bump $BUNDLE_VERSION to 8.8.1 before rebuilding dev bundle. 2017-10-26 11:18:25 -04:00
Ben Newman
4a2f0fb69a Upgrade Node to version 8.8.1.
https://nodejs.org/en/blog/release/v8.8.1/
2017-10-26 11:17:55 -04:00
Ben Newman
66afec2563 Tweaks to History.md. 2017-10-26 11:16:56 -04:00
Ben Newman
f449552c0e Update various package shrinkwraps for npm 5. 2017-10-24 19:03:20 -04:00
Ben Newman
24c80da9ef Bump package versions for 1.6-rc.17 release. release/METEOR@1.6-rc.17 2017-10-24 18:45:30 -04:00
Ben Newman
b4a8b8c5e6 Bump $BUNDLE_VERSION to 8.8.0 before rebuilding dev bundle. 2017-10-24 18:26:01 -04:00
Ben Newman
f1e87ddae4 Upgrade Node to version 8.8.0.
https://nodejs.org/en/blog/release/v8.8.0/
https://nodejs.org/en/blog/vulnerability/oct-2017-dos/
2017-10-24 18:25:39 -04:00
Jesse Rosenberger
7707029644 Throw an error when any external command fails during test preparation.
Even with $ErrorActionPreference, PowerShell won't automatically fail
when an external command fails with an error code.  This explicitly
checks those exit codes and throws an error when that occurs.

Hopefully prevents false successes like that shown in this AppVeyor
test run: https://goo.gl/xxRsF9.
2017-10-23 17:55:30 -07:00
Ben Newman
0fddc26a2e Adjust npm update notifier opt-out environment variable.
https://github.com/zkat/npx/issues/98#issuecomment-316936135
https://www.npmjs.com/package/update-notifier#user-settings
2017-10-23 19:37:44 -04:00
Ben Newman
888ea97b2e Bump $BUNDLE_VERSION to 8.7.6 before rebuilding dev bundle. 2017-10-23 19:00:27 -04:00
Ben Newman
ac341c79a4 Mention meteor npx and choco install meteor in History.md. 2017-10-23 18:59:37 -04:00
Ben Newman
101a1bc0f6 Remove dev_bundle/.npm (-30MB due to .npm/_cacache). 2017-10-23 18:57:47 -04:00
Ben Newman
d317c29319 Bump package versions for 1.6-rc.16 release. release/METEOR@1.6-rc.16 2017-10-20 16:13:31 -04:00
Ben Newman
1f6488b408 Update minifier-js shrinkwrap for npm 5. 2017-10-20 16:13:29 -04:00
Hugh Willson
1687537f6e Switch to parseInt; Use safer method of extracting rounds 2017-10-19 13:22:50 -04:00
Hugh Willson
6af071b417 Bump package versions 2017-10-19 13:22:50 -04:00
Hugh Willson
053bd79a49 Code cleanup; add tests 2017-10-19 13:22:50 -04:00
Dan Rubins
60b378be5d Make bcrypt rounds configurable 2017-10-19 13:22:50 -04:00
Hugh Willson
20f698aec8 Code cleanup, add tests, adjust to handle new/existing users 2017-10-19 13:12:01 -04:00
Gerwin Brunner
54a8f5413f renamed odUpdateUser to onExternalLogin 2017-10-19 13:10:43 -04:00
Gerwin Brunner
57210705f4 added onUserUpdate hook 2017-10-19 13:10:43 -04:00
Ben Newman
1389db4631 Increase garbage collection throttling delay.
May help with this problem, which seems to stem from too much GC:
https://github.com/meteor/meteor/pull/8728#issuecomment-337636773

If this isn't enough, we could include this commit in 1.6.1:
5d212926e7
2017-10-19 11:31:23 -04:00
Ben Newman
fa3b4e1ef8 Bump $BUNDLE_VERSION to 8.7.5 before rebuilding dev bundle. 2017-10-19 10:18:29 -04:00
Ben Newman
a49a8dc12f Update our fork of pacote to ensure gitOpts.cwd exists.
4e58fa55e2

cc @abernix
2017-10-19 10:18:02 -04:00
Ben Newman
6d528e334f Bump package versions for 1.6-rc.15 release. release/METEOR@1.6-rc.15 2017-10-18 21:52:17 -04:00
Ben Newman
9c1745f161 Update meteor-node-stubs to 0.3.2 everywhere else. 2017-10-18 21:52:16 -04:00
Ben Newman
301c1fe616 Update modules test app to use meteor-node-stubs@0.3.2. 2017-10-18 21:52:14 -04:00
Ben Newman
9949236670 Bump $BUNDLE_VERSION to 8.7.4 before rebuilding dev bundle. 2017-10-18 21:52:13 -04:00
Ben Newman
f9f7965587 Use a fork of pacote to work around Windows git.exe issues.
Should finally fix https://github.com/meteor/meteor/issues/9243.

Additional commits:
64ff47a875
f381754a0f

Previously: 3431b5b81f
2017-10-18 21:52:11 -04:00
Carl Evans
4dc93f5b80 Make behaviour of cursor.count() on client reflect server (#9205)
* Make behaviour of cursor.count() on client reflect server

* Change ignoreSkipLimit to applySkipLimit in cursor._getRawObjects

By default cursor._getRawObjects() will set options.applySkipLimit to true, thereby honoring any skip / limit.
cursor.count() on the client now calls _getRawObjects with applySkipLimit set to false by default. See #1202

* Revert default behaviour of cursor.count() to maintain backwards compatibility
2017-10-18 11:34:11 -04:00
Jesse Rosenberger
e2a0540540 Use YAML config for Appveyor settings, rather than their UI.
These take precedence over the UI, and I'm not sure the UI is taking
effect at the moment.

We don't need to build branches which start with 'dev-bundle-' since
those dev bundles won't be built yet when the tests are kicked off.
2017-10-17 16:50:21 -04:00
Jesse Rosenberger
50276f2a82 Remove problematic Windows test, until it can be researched further.
Though it was thought to be reliable when running through 'self-test' on
Windows, it's yet to be seen how reliable.

The worst thing that could come of adding Windows testing would be that
we have test failures again after such a string of green checkmarks and
confidence.

Also, reordered.
2017-10-17 16:50:19 -04:00
Ben Newman
22930e876e Bump package versions for 1.6-rc.14 release. release/METEOR@1.6-rc.14 2017-10-17 16:29:44 -04:00
Ben Newman
039b55b0db Bump $BUNDLE_VERSION to 8.7.3 before rebuilding dev bundle. 2017-10-17 15:19:56 -04:00
Ben Newman
3f7b66a40d Link npm bin commands into dev_bundle\bin on Windows. 2017-10-17 15:10:39 -04:00
Ben Newman
d988137cee Update meteor-babel and babel-runtime to latest versions. 2017-10-17 14:13:02 -04:00
Jesse Rosenberger
2d8b1913c7 Basic Appveyor testing for Windows.
This implements a first generation of Windows CI testing.  Presently,
this only runs valuable, hand-picked tests which have been known to work
in the past, and whose failure would indicate a critical problem.

A test which isn't passing doesn't mean that the feature being tested is
not working. For example, the 'create' test fails ostentatiously,
though the 'meteor create' command certainly works in practice. This
points to problems some compatibility problems with the 'self-test'
harness itself, some of which I'm aware of.  Though, it likely will
highlight some legitimate problems which Windows users experience too.

There are a number of additional tests which should be enabled which
likely pass already, and many more which are failing and we should fix.

Additional tests can be added to the scripts/windows/appveyor/test.ps1
file as they've been deemed working.

Altogether, this will take extensive work to achieve the same level of
coverage our Unix test suite enjoy, but we've got to start somewhere!

cc @benjamn
2017-10-17 19:00:58 +03:00
Ben Newman
b499ad8c45 Another small improvement to temp directory removal logic. 2017-10-17 10:21:01 -04:00
Ben Newman
3739677140 Use files.rm_recursive_async to implement files.freeTempDir. 2017-10-16 17:59:52 -04:00
Ben Newman
e2db34bdc5 Bump package versions for 1.6-rc.13 release. release/METEOR@1.6-rc.13 2017-10-16 16:04:42 -04:00