Commit Graph

22356 Commits

Author SHA1 Message Date
Ben Newman
be6e529a73 Bump package versions for the official 1.8.0.2 release. release/METEOR@1.8.0.2 2019-01-06 17:26:28 -05:00
Ben Newman
44b83efeab Mention React tutorial update in History.md. 2019-01-06 17:14:49 -05:00
Ben Newman
68742a5fc0 Bump package versions for 1.8.0.2-rc.2 release. release/METEOR@1.8.0.2-rc.2 2019-01-06 15:56:00 -05:00
Ben Newman
232e1ae8fe Move meteor-{babel,promise} updates into v1.8.0.2 section of History.md.
While these updates were technically available to Meteor 1.8.0.1 apps, the
Meteor release version did not enforce the updates, and the old versions
were still included in the Meteor 1.8.0.1 dev bundle. In other words,
Meteor 1.8.0.2 is the release where these updates were fully enforced.
2019-01-06 15:32:57 -05:00
Ben Newman
e8612e59ec Bump $BUNDLE_VERSION to 8.11.4.8 before rebuilding dev bundle. 2019-01-06 15:29:27 -05:00
Ben Newman
5f503976f5 Mention meteor-promise@0.8.7 update in History.md. 2019-01-06 15:27:05 -05:00
Ben Newman
b736b43b49 Bump meteor-promise version to 0.8.7.
Should help with #10359, as this version includes @VeselyT's commit
bbe4f0d20b
2019-01-06 15:26:56 -05:00
Ben Newman
2673facd0a Update meteor-babel to version 7.2.0. 2019-01-06 15:26:50 -05:00
Ben Newman
e36bd6b4ff Fix 1.8.1-beta.n upgrade instructions in History.md.
Closes #10356.
2019-01-06 15:25:55 -05:00
Ben Newman
0d88efa615 Set release date for Meteor 1.8.0.2 in History.md. 2019-01-06 15:21:08 -05:00
Ben Newman
f04de1cd0e Bump package versions for 1.8.0.2-rc.1 release. release/METEOR@1.8.0.2-rc.1 2019-01-06 15:15:52 -05:00
Ben Newman
0ae61411ce Stop excluding test modules when meteor.testModule found in package.json. (#10402)
New Meteor apps have the following meteor.testModule in their package.json
files by default

  "meteor": {
    "testModule": "tests/main.js"
  }

When meteor.testModule is defined, it determines the test entry point when
running the `meteor test` command, ignoring legacy file naming conventions
like *.tests.js or *.app-tests.js.

The package-source.js code changed by this commit was incorrect because it
ignored those specially-named test files even when running tests, which
was a problem if the meteor.testModule tried to import them explicitly,
because they would not be properly compiled.

If you're using meteor.testModule, the distinction between `meteor test`
and `meteor test --full-app` matters a bit less, since the test entry
point will be the same for both modes, though you can still check
Meteor.isTest and Meteor.isAppTest at runtime to control test behavior.
2019-01-06 15:15:19 -05:00
Ben Newman
fb2146cb3b Stop excluding test modules when meteor.testModule found in package.json. (#10402)
New Meteor apps have the following meteor.testModule in their package.json
files by default

  "meteor": {
    "testModule": "tests/main.js"
  }

When meteor.testModule is defined, it determines the test entry point when
running the `meteor test` command, ignoring legacy file naming conventions
like *.tests.js or *.app-tests.js.

The package-source.js code changed by this commit was incorrect because it
ignored those specially-named test files even when running tests, which
was a problem if the meteor.testModule tried to import them explicitly,
because they would not be properly compiled.

If you're using meteor.testModule, the distinction between `meteor test`
and `meteor test --full-app` matters a bit less, since the test entry
point will be the same for both modes, though you can still check
Meteor.isTest and Meteor.isAppTest at runtime to control test behavior.
2019-01-06 15:02:48 -05:00
Ben Newman
5d88d9a1a4 Improve stack traces for self-test failures. 2019-01-05 16:54:38 -05:00
Ben Newman
aaeb2a7c2c Pass --enableFreeMonitoring off to Mongo 4 shell, except on Linux. 2019-01-05 16:27:20 -05:00
Ben Newman
a51a0cfb9b Bump meetup-oauth package version and avoid some repetition. 2019-01-05 15:37:51 -05:00
Jan Dvorak
8f2c2b5805 Get more data from Meetup API
I needed at least a name, but after checking the Meetup API I've added other data that I think might be useful.
https://www.meetup.com/meetup_api/docs/2/members/
2019-01-05 15:34:04 -05:00
Ben Newman
c7441e68c6 Ensure consistent LANG-related environment variables in findMongoPids.
For some reason, without all three of these environment variables set
(LANG, LC_ALL, and LANGUAGE), the STDOUT returned from the child process
in findMongoPids contained ?? in place of non-ASCII unicode characters,
which was causing the self-test of Mongo shell in a unicode application
directory to fail.

This implementation defaults all three environment variables to
process.env.LANG if it was defined, or "en_US.UTF-8" otherwise.
2019-01-05 15:05:34 -05:00
Ben Newman
bcf6bf2cfc Wait until test app is running before starting Mongo shell. 2019-01-05 15:04:30 -05:00
Ben Newman
61b2ac3878 Revert "Use --enableFreeMonitoring off instead of --quiet for Mongo shell."
This reverts commit 7055780697.

While this flag works as expected on MacOS, it appears not to be supported
on Linux, even using MongoDB 4.0.5 (the latest version):
https://jira.mongodb.org/browse/SERVER-38862
2019-01-05 13:17:33 -05:00
Ben Newman
7055780697 Use --enableFreeMonitoring off instead of --quiet for Mongo shell.
Previously: 7f7a987251

cc @klaussner @mitar
2019-01-05 12:45:24 -05:00
Ben Newman
6c87f68116 Fix mongo tests by adding a package.json to standard-app. 2019-01-05 12:45:22 -05:00
zodern
ca3d3911a9 Clean up watch code 2019-01-05 07:55:02 -06:00
zodern
a985bf4b22 Throttle rendering progress in updateProgress 2019-01-04 22:55:52 -06:00
zodern
70772dcae7 Reduce duplicate fs calls in watcher
Most directories are in the WatchSet at least twice, and the directory is read and each item is stat each time. In addition, when the watcher is not created by isUpToDate, each item in watchSet.directories and watchSet.files is checked twice.

With these changes, isUpToDate finishes in less than 1/2 the time on Windows, and creating a watcher takes around 1/4 the time.
2019-01-04 22:47:08 -06:00
zodern
5c86db22a7 Fix files.readdir and files.realpath not being cached
enableCache was called before readdir and realpath was added to "files".
2019-01-04 18:40:39 -06:00
Ben Newman
4859f426dd Adjust timeouts to help Mongo self-tests pass reliably. 2019-01-04 14:13:25 -05:00
Ben Newman
b42524ba52 Bump package versions for 1.8.1-beta.10 release. release/METEOR@1.8.1-beta.10 2019-01-04 13:27:16 -05:00
Ben Newman
6fd24ef4b9 Bump BUNDLE_VERSION to 8.15.0.0 before rebuilding dev bundle. 2019-01-04 13:22:39 -05:00
Ben Newman
65d978ac23 Stop trying to delete irrelevant fibers binaries from dev bundle.
The shrink_fibers trick was saving only about 1.4MB, and it caused
problems whenever the format of the binary filenames changed.
2019-01-04 13:22:39 -05:00
Ben Newman
68ae303bd7 Update fibers npm dependency to version 3.1.1.
Though this is a major update according to the version number (previously
2.0.0 in Meteor 1.8.0.1), we have observed no backwards-incompatible
changes so far.
2019-01-04 13:22:38 -05:00
Ben Newman
097bccb9c2 Update Node to version 8.15.0.
Release blog post: https://nodejs.org/en/blog/release/v8.15.0/
2019-01-03 16:01:48 -05:00
zodern
e04c87adfe Clean up old symlinks 2019-01-01 12:08:35 -06:00
zodern
21f976d6f0 Fix delay between server starting and showing "=> Server restarted"
Creating the watcher can take up to 12+ seconds in small - medium apps, and uses sync fs calls.
The server would start right away, but the tool process wouldn't know about it until the watcher finished setting up. Also, the proxy doesn't forward requests until "=> Server restarted" is shown.
A new async option is added to Watcher which prevents it from blocking the event loop too long.
Also, the watcher and legacy bundle are only created after the server has started, or 3 seconds has passed.
2019-01-01 11:47:20 -06:00
zodern
2ae55e8664 Fix caching meteorNpm.isPortable on windows
The path was in the wrong format, so .meteor-portable.json was never saved.
2018-12-31 22:03:15 -06:00
zodern
92f84293b5 Add caching to _copyDirectory
This is most noticible in copyNodeModulesDirectory, which is called many times during each server build.
2018-12-31 22:01:36 -06:00
zodern
21e90bf18d Use in place builds on windows for the server
Since the server is always stopped when building the server, it should be safe to overwrite it's files.
2018-12-31 21:49:53 -06:00
zodern
99f969b930 Do not calculate rebuild dirs in "meteor run"
It is never used in the bundles created by "meteor run", and adds 0.5 - 1.5 seconds per build for smaller apps.
2018-12-31 21:46:52 -06:00
zodern
e14ce5b908 Do not atomicallyRewriteFile when not building in place 2018-12-31 21:38:26 -06:00
zodern
9c3385f542 Normalize paths before comparing them in symlinkWithOverwrite
In windows, source is in posix format and missing a trailing slash, causing the symlink to always be recreated.
2018-12-31 21:29:19 -06:00
zodern
c2ef3776a8 Delete garbage directory async 2018-12-31 21:27:20 -06:00
Ben Newman
57a55ac0d6 Bump package versions for 1.8.1-beta.9 release. release/METEOR@1.8.1-beta.9 2018-12-19 14:08:49 -05:00
Ben Newman
0d34c8d168 Bump BUNDLE_VERSION to 8.14.1.0 before rebuilding dev bundle. 2018-12-19 12:18:37 -05:00
Ben Newman
415d1d9e66 Update npm to version 6.5.0.
https://github.com/npm/cli/releases/tag/v6.5.0
2018-12-19 12:17:25 -05:00
Ben Newman
a8f527aa37 Update Node to version 8.14.1.
Release blog post: https://nodejs.org/en/blog/release/v8.14.1/
2018-12-19 12:12:52 -05:00
Ben Newman
ff72595fd8 Move the less package into packages/non-core.
This will enable us to update the less npm package in future versions of
Meteor without worrying about minor version constraints imposed by the
Meteor release.
2018-12-13 11:13:55 -05:00
Ben Newman
502d84e7e9 Bump package versions for 1.8.1-beta.8 release. release/METEOR@1.8.1-beta.8 2018-12-06 12:42:45 -05:00
Ben Newman
b3593f2edd Bump $BUNDLE_VERSION to 8.14.0.1 before rebuilding dev bundle. 2018-12-06 12:30:49 -05:00
Ben Newman
40d0fc5dfe Merge branch 'devel' into release-1.8.1 2018-12-06 12:21:52 -05:00
Ben Newman
0fcc7ddd46 Mention meteor-promise@0.8.7 update in History.md. 2018-12-06 12:20:25 -05:00