Commit Graph

11475 Commits

Author SHA1 Message Date
Renan Castro
1fbed35ed9 Update @babel dependencies - start 2.6.1.beta-4 2022-02-14 10:30:14 -03:00
Renan Castro
343f755b9f Update @babel dependencies - start 2.6.1.beta-1 2022-02-14 10:11:09 -03:00
Renan Castro
a38865186c Update @babel dependencies - start 2.6.1.beta-1 2022-02-14 10:10:06 -03:00
Renan Castro
d35b34085b Update @babel dependencies - start 2.6.1.beta-0 2022-02-14 09:37:59 -03:00
Renan Castro
962db08592 Update history.md and bum mongo package version 2022-02-11 08:16:59 -03:00
Renan Castro
d31dc53637 Merge branch 'devel' into fix/mongo-insert-return-sync 2022-02-11 08:14:51 -03:00
Renan Castro
25f8facb49 Also support the new "projection" field inside the decision of using oplog for a published cursor or not 2022-02-10 17:17:13 -03:00
Renan Castro
b03e3124f4 Fix sync return for insert methods inside _collection private method 2022-02-10 16:27:01 -03:00
Joe Pea
a66712abd4 correct git link in static-html package
The static-html package is in the meteor/meteor repo.
2022-02-09 11:00:36 -08:00
Renan Castro
6c1550ab01 Remove throw on _id exclusion inside mongo collection finds - Add changes to history.md and bump package version 2022-02-08 12:54:43 -03:00
Renan Castro
4bc0b7f8cd Remove throw on _id exclusion inside mongo collection finds - revert changed test 2022-02-08 11:07:02 -03:00
Renan Castro
2c12e27bd0 Fix flatten object issue when internal object value is an array - remove call to hasOwnProperty 2022-02-05 21:37:02 -03:00
Renan Castro
7af62731e0 Fix flatten object issue when internal object value is an array - fix #11887
Preserve object.keys call for performance reasons
2022-02-05 21:21:37 -03:00
Filipe Névola
9f92f1ab04 Published mongo@1.14.1. 2022-02-04 15:30:48 +00:00
Renan Castro
832efd1baa Fix comment phrasing on oplog converter 2022-02-04 08:55:21 -03:00
Renan Castro
2b0485ce73 Remove only from oplog tests 2022-02-04 08:50:44 -03:00
Renan Castro
b23c22de23 Fix flatten object issue when the object is empty on oplog converter - fix #11884 2022-02-04 08:07:31 -03:00
Renan Castro
ffc4300f23 Release 2.6 🎉! 2022-02-01 15:55:48 -03:00
Renan Castro
260a3299ca Meteor 2.6-rc.2 2022-01-31 10:56:24 -03:00
Filipe Névola
9c5f92e689 Bump Meteor version to 2.6-rc.1 2022-01-28 15:49:31 -04:00
Filipe Névola
1f156fd711 Improves history and migration guide for 2.6 2022-01-27 13:53:22 -04:00
Filipe Névola
a5a82619b8 Update npm-mongo npm-shrinkwrap.json 2022-01-27 10:54:15 -04:00
Filipe Névola
8843535527 Bump Meteor version to 2.6-rc.0 2022-01-27 10:42:06 -04:00
Filipe Névola
9db1dfa31a Improves history and migration guide for 2.6 2022-01-27 09:24:58 -04:00
Filipe Névola
82745790ea Moving warning about _ensureIndex only _ensureIndex is really used internally 2022-01-26 19:23:16 -04:00
Filipe Névola
9203c3181a Bump Meteor version to 2.6-beta.4 2022-01-21 13:42:18 -04:00
Renan Castro
f3c38b8cb0 New beta: 2.6-beta.3 2022-01-21 13:30:02 -04:00
Renan Castro
1630a794b4 Fix Oplog Tailing high cpu usage with new Mongodb driver. As the old way of passing the "tailable" option to find cursors is now removed, the cursor was dying and making calls all the time.
Fix it by using addCursorFlag
2022-01-21 13:30:02 -04:00
Renan Castro
c4d4ea2a09 Improve primary detection mechanism to be compatible with older mongodb instances
Generate 2.6 beta 2
2022-01-21 13:30:02 -04:00
Renan Castro
c8eb086116 Update mongodb driver to latest 4.3 version released 16 hours ago.
Add fallback to hello command for mongo 4 servers
Bump all packages to new beta
2022-01-21 13:30:01 -04:00
Renan Castro
cb0533c35d Remove wrong "only" clause on test 2022-01-21 13:30:01 -04:00
Renan Castro
c0f290a6e7 Prepare Meteor 2.6 beta-0 release 2022-01-21 13:30:01 -04:00
Renan Castro
1329238201 Prepare Meteor 2.6 beta-0 release 2022-01-21 13:29:59 -04:00
Renan Castro
05869e86f7 Document new changes on mongodb driver in our history.md - code style improvements 2022-01-21 13:29:38 -04:00
Renan Castro
34d25f181d Fix oplog converter case in which there is no need to convert - new test 2022-01-21 13:28:51 -04:00
Renan Castro
316f5d4512 Fix oplog converter case in which there is no need to convert 2022-01-21 13:28:51 -04:00
Renan Castro
d8fd0fb5ce Fix oplog converter case in which the value is an array but shouldnt be flattened 2022-01-21 13:28:50 -04:00
Renan Castro
eb82e917a7 Remove minimongo asserts based on skipLimit on count cursors() 2022-01-21 13:28:50 -04:00
Renan Castro
9c9232f84a Create oplog v2 converter for watching changes in the newest mongodb 5 format 2022-01-21 13:28:50 -04:00
Renan Castro
16b74d74fc Fix wrong upsert param passed to mongo method 2022-01-21 13:28:50 -04:00
Renan Castro
3e77777082 Remove logs
Fix undefined returned from the node-driver while we were expecting null in the err field
2022-01-21 13:28:49 -04:00
Renan Castro
ebf91b0dfe Use async functions for running insert/delete
Fix "projection" field usage on observers
2022-01-21 13:28:49 -04:00
Renan Castro
86024fc7d9 Fix oplog parsing for mongodb 5 and result parsing for replace operations.
Fix tests based on mongo version and dependent on mongo driver internals.
2022-01-21 13:28:49 -04:00
Filipe Névola
ff7262a49d Cleaning up tests 2022-01-21 13:28:35 -04:00
Filipe Névola
a031b77471 Fixing tests in mongo livedata and observe changes 2022-01-21 13:28:35 -04:00
Renan Castro
9e9c9c9e6e Use updateMany/deleteMany/replaceOne - we are sticking with Meteor default "update" for deciding which internal mongodb method to call based in the existence of "$" operators 2022-01-21 13:28:35 -04:00
Renan Castro
d4bff7199a Find count() no longers accept applySkipLimit, instead it takes no options anymore
Use insertOne/insertMany
2022-01-21 13:28:34 -04:00
Renan Castro
c62ca287ea Find count() no longers accept applySkipLimit, instead it accepts an option object 2022-01-21 13:28:34 -04:00
Renan Castro
f41f99b9d9 db.collection is no longer async, and the callback option is no longer available 2022-01-21 13:28:34 -04:00
Renan Castro
2013ba400c poolSize is no longer an option, use maxPoolSize instead 2022-01-21 13:28:34 -04:00