Commit Graph

19425 Commits

Author SHA1 Message Date
Ben Newman
18c14ec899 Bump package versions for 1.5.2-beta.10 release. release/METEOR@1.5.2-beta.10 2017-08-11 15:26:02 -04:00
Ben Newman
0e723593a6 Merge branch 'devel' into release-1.5.2 2017-08-11 15:23:39 -04:00
Ben Newman
93d0c5f2ba Merge pull request #9007 from meteor/immediately-dirty-optimistic-functions
Immediately dirty optimistic functions when relevant paths modified.
2017-08-11 15:22:49 -04:00
Ben Newman
4dfa9c3ae2 Add METEOR_WATCH_PRIORITIZE_CHANGED=false back to two self-tests. 2017-08-11 15:21:50 -04:00
Ben Newman
837f12c3c4 Add additional timeouts to 'update during run' self-test. 2017-08-11 15:21:50 -04:00
Ben Newman
56aea02723 Stop setting METEOR_WATCH_PRIORITIZE_CHANGED=false in self-tests.
Assuming #9007 fixes the file watcher timing problems, it should no longer
be necessary to disable the optimizations of #8866.
2017-08-11 15:21:50 -04:00
Jesse Rosenberger
5c011253f7 Change "expected" for meteor list command-line test.
This test doesn't actually run normally, as it's quite slow, but
started failing with the changes to #8936.  This fixes that!
2017-08-11 21:17:41 +03:00
Ben Newman
0f9c58d6b9 Immediately dirty optimistic functions when relevant paths modified.
Should fix #8988 and #8942.

Now that #8866 is the default behavior, it can take up to 5000ms for
changes to files modified during the build process to be noticed.

Before #8866, when we called e.g. files.writeFile(path), a native file
watcher would notice the change immediately, almost always before the
build process read the file again. This was definitely racy, but we were
getting away with it consistently... until #8866.

I was able to reproduce the problem in #8988 by running

  echo some-local-package-name >> .meteor/packages

in an app with a local package of the given name. After debugging the
endless rebuild cycle, I found that .meteor/versions was being rewritten
by files.writeFile during the build process, but the file watching system
was not noticing the change in time to prevent watch.isUpToDate from
returning true. The change was finally detected when restarting the
Watcher responsible for .meteor/versions, which of course triggered
another rebuild, so the same problem kept happening again and again.
2017-08-11 13:57:16 -04:00
Ben Newman
184b21a72b Talk about blockers to Meteor adoption in Roadmap.md 2017-08-11 13:50:34 -04:00
Sashko Stubailo
132728ee73 Update Roadmap.md 2017-08-11 10:29:35 -07:00
Sashko Stubailo
c512eee3b6 Add reference to feature request issue (#9010) 2017-08-11 10:28:51 -07:00
Sashko Stubailo
348223cae8 Add React section to Roadmap.md (#9008) 2017-08-11 13:20:53 -04:00
Ben Newman
97469911d8 Updates to Roadmap.md 2017-08-11 13:19:27 -04:00
Jesse Rosenberger
a581fa644b Update ISSUE_TEMPLATE.md 2017-08-11 16:20:07 +03:00
Jesse Rosenberger
859e17af0d Update ISSUE_TEMPLATE.md
In retrospect, I could have tested this new issue template formatting by copying and pasting into the issue textarea, but I didn't.  Sorry for the incremental commits on `devel`.  This should be the last one. :)
2017-08-11 16:18:22 +03:00
Jesse Rosenberger
aa0da9afa9 Update ISSUE_TEMPLATE.md
Formatting.
2017-08-11 16:15:24 +03:00
Jesse Rosenberger
a27ab661eb Update ISSUE_TEMPLATE.md 2017-08-11 16:12:38 +03:00
Ben Newman
999196b515 Bump package versions for 1.5.2-beta.9 release. release/METEOR@1.5.2-beta.9 2017-08-10 15:17:00 -04:00
Ben Newman
8d9fd49d02 Use urlParse instead of url.parse in meteor-services/config.js.
Looks like this was a neglected find/replace that should've happened in
10e8d7d08d (cc @abernix).
2017-08-10 15:16:56 -04:00
Ben Newman
e1b60a661e Use urlParse instead of url.parse in meteor-services/config.js.
Looks like this was a neglected find/replace that should've happened in
10e8d7d08d (cc @abernix).
2017-08-10 15:14:52 -04:00
Ben Newman
083b184bf6 Merge branch 'devel' into release-1.5.2 2017-08-10 15:01:44 -04:00
Ben Newman
01a7e8b07d Bump minimongo package version to 1.3.0. 2017-08-10 14:59:30 -04:00
Ben Newman
3e4accda7c Merge pull request #8893 from radekmie/minimongo-without-underscore
Minimongo ES5/ES6 refactoring and performance improvements
2017-08-10 14:56:09 -04:00
Hugh Willson
956d8dba45 Reinstate the mongo-dev-server package (#8853) (#8999) 2017-08-10 14:18:55 -04:00
Ben Newman
004c8d0fe1 Move .babelrc "env" test to imports directory of modules test app. 2017-08-10 13:44:39 -04:00
Radosław Miernik
bf978305ab Fixed typos. 2017-08-09 17:20:57 +02:00
Radosław Miernik
8b43925d1f Refactored braces. 2017-08-09 17:12:24 +02:00
Ben Newman
2f7d221b91 Merge pull request #8995 from meteor/abernix/selftest-modern-devel
Modernize "Self Test" module, remove Underscore.
2017-08-09 11:10:34 -04:00
Radosław Miernik
5baf579c20 Refactored .hasOwnProperty. 2017-08-09 16:51:27 +02:00
Radosław Miernik
e353e0ef18 Merge branch 'devel' of github.com:meteor/meteor into minimongo-without-underscore 2017-08-09 16:51:01 +02:00
Ben Newman
789c0e433e Reinstate .babelrc "env" test, with more reliable NODE_ENV. 2017-08-08 19:33:51 -04:00
Ben Newman
b70449ae4d Remove .babelrc "env" test for now.
This has been failing consistently on Circle CI, so I'm disabling it until
I know how to fix it better: https://circleci.com/gh/meteor/meteor/5068
2017-08-08 19:19:19 -04:00
Ben Newman
e777c4d6f6 Force clearing the npm cache before Circle CI tests. 2017-08-08 19:11:42 -04:00
Ben Newman
cfdc69bf71 Support @~ version constraints and use them for core packages. (#8991) 2017-08-08 18:01:30 -04:00
Ben Newman
6de5c25fed Enable transform-do-expressions in production for modules test app.
The modules test app appears to be running with process.env.NODE_ENV equal
to "production" on Circle CI: https://circleci.com/gh/meteor/meteor/5030.

Enabling this transform in production as well as development is fine
because we primarily want to test that plugins from the "env" section of
.babelrc are respected, regardless of the value of process.env.NODE_ENV.
Using different plugins in production might be worth testing, too, but
that's less critical.

Follow-up to #8963.
2017-08-07 16:19:09 -04:00
Ben Newman
cc2a1d79e1 Bump package versions for 1.5.2-beta.8 release. release/METEOR@1.5.2-beta.8 2017-08-07 15:10:04 -04:00
Ben Newman
12efaef31a Merge branch 'devel' into release-1.5.2 2017-08-07 14:55:50 -04:00
Ben Newman
5f554ebfa0 Merge pull request #8972 from meteor/run-bare-files-before-eager-modules
Run all "bare" package files before requiring eager entry point modules.
2017-08-07 14:54:24 -04:00
Hugh Willson
b1fd243978 Reduce the "modules - test app" self-test start-up wait time.
The increased mongo connection timeout in 522d86dc4e
means that the we can decrease the "modules - test app" self-test
application start-up wait internval significantly (since mongo
will now start properly and the self-test can continue).
2017-08-07 14:53:37 -04:00
Hugh Willson
b061f4b765 Increase mongo connection timeout to reduce self-test mongo errors.
Certain self-test's like "modules - test app" are encountering
mongo connection timeout errors on some runs. Increasing the
connection timeout helps address these errors.
2017-08-07 14:53:37 -04:00
Ben Newman
822ac2d7a4 Add a note to History.md about env in .babelrc files. 2017-08-07 13:28:44 -04:00
Jordan Brant Baker
77ecbabf60 Support "env" in .babelrc files. (#8963) 2017-08-07 13:23:56 -04:00
Ben Newman
43ba3c9de5 Use unreleased version of websocket-driver that uses http-parser-js.
https://github.com/faye/websocket-driver-node/issues/21
https://github.com/meteor/meteor-feature-requests/issues/160

Thanks to @sdarnell for identifying this solution.
2017-08-07 12:53:28 -04:00
Jesse Rosenberger
6a913ef251 (cleanup) Remove spaces between imports, which are fairly random. 2017-08-07 18:55:36 +03:00
Jesse Rosenberger
6e16ba901e (ecmascript) Replace underscore with native ECMAScript methods. 2017-08-07 18:55:02 +03:00
Jesse Rosenberger
769ca736eb (ecmascript) Imports: utils.{randomPort,randomToken,sleepMs,timeoutScaleFactor}. 2017-08-07 18:53:32 +03:00
Jesse Rosenberger
22e63b6d14 Use execFileSync from processes.js, not utils.js.
Confusingly, we are using two different `execFileSync`s in self-test, seemingly
for no particular reason.
2017-08-07 18:53:31 +03:00
Jesse Rosenberger
2a7be19728 (ecmascript) Imports: files.
Just use the entire `files` import rather than selectively importing specific
methods since it has so many methods used.
2017-08-07 18:53:30 +03:00
Jesse Rosenberger
43644412b5 (ecmascript) Imports: child_process.{spawn,execFile}. 2017-08-07 18:53:30 +03:00
Jesse Rosenberger
b1bed468a4 Just use processes' execFileSync directly, not via self-test re-export. 2017-08-07 18:53:22 +03:00