Commit Graph

8849 Commits

Author SHA1 Message Date
Ben Newman
8822e90f87 Bump package versions for 1.6-beta.22 release. 2017-08-16 14:17:03 -04:00
Ben Newman
b290bcaa1b Bump package versions for 1.6-beta.21 release. 2017-08-15 12:27:21 -04:00
Ben Newman
f405c443fe Move coffeescript to non-core so we don't have to publish a beta.
@GeoffreyBooth and I are still deciding exactly what to do with the
coffeescript package in #8960, but in the meantime I need to publish
another 1.6 beta, and I'd like to avoid publishing a beta version of
coffeescript along with it.
2017-08-15 12:26:57 -04:00
Ben Newman
8e10361721 Bump package versions for 1.6-beta.20 release. 2017-08-14 22:53:13 -04:00
Ben Newman
f53288efb7 Merge branch 'release-1.5.2' into release-1.6 2017-08-14 22:37:58 -04:00
Ben Newman
3c98a605ad Merge branch 'devel' into release-1.5.2 2017-08-14 22:35:15 -04:00
Ben Newman
34b0237364 Avoid api.export("process") in modules package.js.
Declaring a package-local variable called `process` in the `modules`
package causes uglify-js not to replace `process.env.NODE_ENV` with a
string literal value in any `node_modules` contained by the `modules`
package, which causes React Dev Tools to display a warning.
2017-08-14 22:32:19 -04:00
Ben Newman
d727ad02a7 Bump coffeescript package version to 1.13.0.
This Meteor package version does not need to track the npm version of the
coffeescript package, and probably should not change as often as the
version of the packages/non-core/coffeescript-compiler package.
2017-08-14 18:34:55 -04:00
Geoffrey Booth
eb3c7dd344 Move coffeescript and coffeescript-test-helper packages back into core. (#8960)
They depend on core packages like caching-compiler, but coffeescript-compiler
can remain in non-core, so it can update more frequently as npm coffeescript
gets updated.
2017-08-14 18:07:04 -04:00
Geoffrey Booth
8344cbf59d Split coffeescript package into coffeescript / coffeescript-compiler. 2017-08-14 13:40:09 -04:00
Geoffrey Booth
491cbc3bfe Instructions for how to test the coffeescript package 2017-08-14 13:40:09 -04:00
Geoffrey Booth
eb78811070 Bump CoffeeScript version 2017-08-14 13:40:09 -04:00
Ben Newman
86b82169d0 Replace for-in loops in minimongo package with Object.keys/forEach.
This fixes a problem reported by @arggh:
https://github.com/meteor/meteor/pull/8913#issuecomment-322048927

The problem appears to have been introduced by this commit:
2c5094fa0c

The reason this commit was problematic is that it turned several
Object.keys/forEach loops into for-in loops, which caused a few unchanged
return statements to take on a new meaning: instead of "continuing" the
loop by returning from the forEach callback function, the return
statements now returned from the enclosing function:
2c5094fa0c (commitcomment-23638205)
2c5094fa0c (commitcomment-23638216)

Besides this refactoring hazard, what else is wrong with for-in loops?

First, for-in loops iterate over not only own but also inherited keys,
which makes them not exactly equivalent to Object.keys/forEach, which
iterates over only own keys. Another way to address that problem is to
initialize this.queries to Object.create(null) instead of {} (which I've
also done in this commit), so that there is no prototype chain.

Second, for-in loops are a trigger for deoptimization in V8:
https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#5-for-in

Since 2c5094fa0c was supposed to be about
improving performance, and these changes introduced some logical problems
as well, I think it's best that we avoid for-in loops.
2017-08-14 13:35:35 -04:00
Ben Newman
2dabbf0b60 Make timing of minimongo observeChanges test more reliable. 2017-08-14 12:30:16 -04:00
Ben Newman
9ba9a359f5 Update Blaze submodule to latest master version.
Specifically, this version corresponds to the branch
https://github.com/meteor/blaze/commits/revert-html5-tests, which is based
on the current master branch tip
621608c823
with one additional commit:
6a82100e09.

cc @mitar @abernix
2017-08-14 12:19:36 -04:00
Ben Newman
73b43690ef Bump package versions for 1.6-beta.19 release. 2017-08-11 17:28:19 -04:00
Ben Newman
688d9211b7 Fix Mongo hint test by waiting for collection.createIndex Promise. 2017-08-11 16:28:33 -04:00
Ben Newman
fff7d62b38 Fix Mongo hint test by waiting for collection.createIndex Promise. 2017-08-11 16:28:15 -04:00
Ben Newman
18c14ec899 Bump package versions for 1.5.2-beta.10 release. 2017-08-11 15:26:02 -04:00
Ben Newman
2c042016fe Bump package versions for 1.6-beta.18 release. 2017-08-10 19:05:35 -04:00
Ben Newman
630c2595e6 Add a test that code after an await runs in a Fiber.
Part of #9002.
2017-08-10 18:58:42 -04:00
Ben Newman
5669e05431 Update meteor-babel to version 0.24.6 to fix #9002. 2017-08-10 18:45:39 -04:00
Ben Newman
d16552112e Merge branch 'release-1.5.2' into release-1.6 2017-08-10 16:16:03 -04:00
Ben Newman
999196b515 Bump package versions for 1.5.2-beta.9 release. 2017-08-10 15:17:00 -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
Hugh Willson
956d8dba45 Reinstate the mongo-dev-server package (#8853) (#8999) 2017-08-10 14:18:55 -04:00
Ben Newman
1e7a7c451d Bump package versions for 1.6-beta.17 release. 2017-08-10 13:46:45 -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
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
5a8e6b0639 Bump package versions for 1.6-beta.16 release. 2017-08-08 19:33:04 -04:00
Ben Newman
0bf08a5f99 Merge branch 'release-1.5.2' into release-1.6 2017-08-08 18:40:46 -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
cc2a1d79e1 Bump package versions for 1.5.2-beta.8 release. 2017-08-07 15:10:04 -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
Ben Newman
565281e765 Revert "Add mongo-dev-server package (#8853)"
This reverts commit 4d37a05fb3.

After git bisecting between origin/release-1.5 and origin/release-1.5.2, I
identified this commit as the culprit in recent failures of the modules
test app: https://circleci.com/gh/meteor/meteor/4857#tests/containers/3

Note that the modules test app seems to be failing only on Linux, and it
does pass reliably with this commit reverted. It must have something to do
with Mongo failing to start, and thus the "App running at" message never
appears, but I don't have a good theory why that might be.

The command to run just the modules test app is

  meteor self-test --history 1000 'modules - test app'

@zimme @hwillson @abernix any ideas?
2017-08-02 21:23:39 -04:00
Ben Newman
c0b918c0fc Merge branch 'devel' into release-1.5.2 2017-08-02 15:44:31 -04:00
Hugh Willson
5b39d4b2da Remove merged in underscore usage and update to ES5/ES6. 2017-08-02 15:33:16 -04:00
Hugh Willson
c6bddb331a Remove underscore dependency. 2017-08-02 15:33:15 -04:00
Hugh Willson
82a6feeaf4 Adjust EJSON API to handle objects with properties named "length" 2017-08-02 15:33:14 -04:00
Jesse Rosenberger
f0548ad50d Merge branch 'devel' into release-1.5.2 2017-08-02 22:31:14 +03:00
Ben Newman
29feca3c6d Merge pull request #8978 from meteor/scan-non-core-packages-in-checkout
Scan non-core packages as local packages when running from checkout.
2017-08-02 11:58:17 -07:00
Ben Newman
88824ca04d Guard against nonexistent Package.ddp.DDP._CurrentMethodInvocation.
As suggested by @cwholman in this comment:
https://github.com/meteor/meteor/issues/8947#issuecomment-318393234

Fixes #8947.
2017-08-02 14:45:51 -04:00
Ben Newman
7f062192e1 Eliminate underscore usage from the meteor package. 2017-08-02 14:45:51 -04:00
Ben Newman
ce0b499224 Move old packages from packages/non-core to packages/deprecated. 2017-08-02 13:36:24 -04:00
James Burgess
c3dd664d14 Adjust minimongo behavior to match server when functions are part of selectors (#8952) 2017-08-02 08:43:42 -07:00
Ben Newman
d4a1322d3a Bump package versions for 1.5.2-beta.7 release. 2017-07-28 19:05:11 -04:00