Ben Newman
9e8f5f6083
Bump $BUNDLE_VERSION to 4.8.22 before rebuilding dev bundle.
2017-07-14 13:34:34 -04:00
Ben Newman
53e23671e3
Make sure maybeSuggestRaisingWatchLimit runs in a Fiber.
...
Should fix recent test failures:
https://circleci.com/gh/meteor/meteor/4570#tests/containers/5
https://circleci.com/gh/meteor/meteor/4570#tests/containers/6
2017-07-14 13:34:34 -04:00
Ben Newman
8af4955389
Use eachline@3.0.5 from npm instead of our own fork.
...
The pull request corresponding to our fork is not going to be merged, so
it's better to use the alternative this.finished API available in newer
versions of the upstream package.
https://github.com/williamkapke/node-eachline/pull/4
2017-07-14 13:34:33 -04:00
Ben Newman
36bf9bb7fe
Upgrade meteor-babel and reify packages to latest versions.
2017-07-14 13:34:32 -04:00
Ben Newman
dc1ba4c905
Upgrade meteor-promise and promise packages to latest versions.
2017-07-14 13:22:36 -04:00
Ben Newman
4ae5c54685
Make sure maybeSuggestRaisingWatchLimit runs in a Fiber.
...
Should fix recent test failures:
https://circleci.com/gh/meteor/meteor/4570#tests/containers/5
https://circleci.com/gh/meteor/meteor/4570#tests/containers/6
2017-07-14 12:17:38 -04:00
Jesse Rosenberger
661b6f74e9
Clear password between retries when auth has failed.
2017-07-14 00:27:52 -07:00
Jesse Rosenberger
3f66a85c46
[test] Ensure Galaxy deploy login works properly.
...
This implements a non-`galaxy` labeled test (which will run with normal
CI tests) which tests that Galaxy login both fails and succeeds properly
much in the same way that our existing auth tests run except for the
`meteor deploy` command.
2017-07-14 00:27:47 -07:00
skirunman
7630fb7a35
Update to MongoDB v3.2.15
...
Install latest version of MongoDB 3.2.x by default.
2017-07-13 17:47:12 -07:00
Ben Newman
6ae9cfc3e4
Bump mongo and minimongo minor versions after #8815 .
2017-07-13 20:22:23 -04:00
Ben Newman
44796a1831
Merge branch 'master' into devel
2017-07-13 20:16:08 -04:00
Ben Newman
25f003d0bc
Throttle requestGarbageCollection to once per 500ms.
...
With Meteor 1.6 / Node 8, I noticed _buildLocalPackages taking multiple
seconds on initial server startup and restart, and the problem seems to be
that we call the global.gc function too often. This wasn't a problem in
previous versions of Node, as far as I know, but it makes sense to heed
the comment in tools/utils/gc.js, now that it matters.
2017-07-13 20:10:37 -04:00
Ben Newman
46fefdefc5
Allow programmatic garbage collection via gc().
2017-07-13 20:10:37 -04:00
Ben Newman
1a946774bb
Bump package versions for 1.6-beta.8 release.
...
The 1.6-beta.7 release had a version conflict because of the webapp@1.3.17
constraint in server-render/package.js. I noticed the problem before
publishing the release, so we will just skip to 1.6-beta.8.
release/METEOR@1.6-beta.8
2017-07-13 19:44:41 -04:00
Ben Newman
d5db2d0ad1
Remove constraint on webapp from server-render/package.js.
2017-07-13 19:44:39 -04:00
Ben Newman
08f5ea4c2b
Merge branch 'fix/upserts' into devel ( #8815 ).
2017-07-13 18:38:29 -04:00
Ben Newman
e3e7523675
Minor style tweaks (mostly adding missing semicolons).
2017-07-13 18:37:29 -04:00
seke
11c7eabf7f
Add entry to History.md
2017-07-13 18:27:28 -04:00
seke
b5a9fde887
Adjust styling as per PR review
2017-07-13 18:26:07 -04:00
Seba Kerckhof
4531b3893c
Optimize by only shallow cloning when modifier is replacement
2017-07-13 18:26:06 -04:00
seke
d89d6987fb
Restore original indentation
2017-07-13 18:26:06 -04:00
seke
6105f62069
finish tests (hopefully)
2017-07-13 18:26:05 -04:00
seke
dbb24f5788
Revert order of simulated upsert to original order
2017-07-13 18:26:05 -04:00
Seba Kerckhof
b252e31f49
Fix most tests
2017-07-13 18:26:04 -04:00
seke
970044402e
Fail faster in case of forbidden replace
2017-07-13 18:26:04 -04:00
seke
12d03f2607
Don't modify the input variables when creating upsert document
2017-07-13 18:26:03 -04:00
seke
8a7db6bdc5
Fix mongo driver when using object ids
2017-07-13 18:26:03 -04:00
seke
1fae40b204
Change logic of simulated upsert to always result in same result as normal upsert
2017-07-13 18:26:02 -04:00
seke
e06f88bdd4
Update mongo driver test
2017-07-13 18:26:02 -04:00
seke
1205655f21
Expand minimongo tests
2017-07-13 18:26:01 -04:00
seke
dac2f64d59
Track wether the _id is auto generated when doing an upsert
2017-07-13 18:26:01 -04:00
seke
2c9d46de19
Move _id change validation to LocalCollection._modify
2017-07-13 18:26:00 -04:00
seke
bb3c02900f
Remove mongo 2.4-specific check
2017-07-13 18:26:00 -04:00
seke
5153d0778e
Add rules for ambiguous _id values
2017-07-13 18:25:59 -04:00
Seba Kerckhof
c02e96d82e
Create mongo-typed upsert document
2017-07-13 18:25:59 -04:00
Seba Kerckhof
3580edfeae
Deal with regexp shorthand notation
2017-07-13 18:25:58 -04:00
Seba Kerckhof
29b6913f31
Add test for https://github.com/meteor/meteor/issues/5294
2017-07-13 18:25:58 -04:00
Seba Kerckhof
dda994c262
Make minimongo upsert compliant with mongo behavior ( https://github.com/meteor/meteor/issues/8806 )
2017-07-13 18:25:57 -04:00
Ben Newman
4e2854f88b
Remove stray merge conflict marker from History.md.
2017-07-13 18:25:37 -04:00
Ben Newman
eff594dacf
Add core-js/es6/regexp polyfills to ecmascript-runtime-client.
...
Helps with #8821 .
2017-07-13 17:46:48 -04:00
Ben Newman
d59bb69d98
Bump $BUNDLE_VERSION to 8.1.10 before rebuilding dev bundle.
2017-07-13 16:22:36 -04:00
Ben Newman
c253bdd71c
Use eachline@3.0.5 from npm instead of our own fork.
...
The pull request corresponding to our fork is not going to be merged, so
it's better to use the alternative this.finished API available in newer
versions of the upstream package.
https://github.com/williamkapke/node-eachline/pull/4
2017-07-13 16:20:31 -04:00
Radosław Miernik
f5b0de5417
Normalized strings.
2017-07-13 21:14:26 +02:00
Ben Newman
edefd39f09
Bump $BUNDLE_VERSION to 8.1.9 before rebuilding dev bundle.
2017-07-13 14:23:30 -04:00
Radosław Miernik
a082de950a
Short path for {_id} selectors (!).
2017-07-13 20:23:22 +02:00
Ben Newman
9d9489c23e
Upgrade meteor-babel and reify packages to latest versions.
2017-07-13 13:46:58 -04:00
Ben Newman
4c31235412
Upgrade meteor-promise and promise packages to latest versions.
2017-07-13 13:46:58 -04:00
Ben Newman
747c6a504d
Bump $BUNDLE_VERSION to 8.1.8 before rebuilding dev bundle.
2017-07-13 11:19:59 -04:00
Ben Newman
8d83d72dc4
Merge branch 'devel' into release-1.6
2017-07-13 11:19:32 -04:00
Ben Newman
18e4c172f2
Bump ecmascript version to 0.8.2 to help with #8611 .
...
When the babel-compiler package is updated, it appears that sometimes the
ecmascript package must also be updated, since it registers the compiler
plugin that uses babel-compiler.
After verifying that you're using both babel-compiler@6.19 .4 and
ecmascript@0.8.2, you should probably run `meteor reset` just to be sure
you aren't still using any cached source maps.
2017-07-13 10:58:16 -04:00