Commit Graph

994 Commits

Author SHA1 Message Date
denihs
cabfe8f522 adding todo fibers 2023-02-06 14:57:08 -04:00
denihs
f650be7b89 - using _AsynchronousQueue in the server
- continue for looping instead of breaking it
2023-02-06 14:56:37 -04:00
denihs
b32ea404f1 use self._taskQueue.queueTask instead of self._taskQueue.runTask 2023-02-03 12:27:29 -04:00
denihs
3e5977ce2b Sync mongo methods for the client again 2023-02-02 16:48:29 -04:00
denihs
937800007c - fix API so call() and apply() doesn't have to be async. More can be found on this thread https://meteor-community.slack.com/archives/C01SWPPE81F/p1675116084541359 2023-02-01 16:20:54 -04:00
denihs
503f2b41f9 - _saveOriginals() is now async
- markAllReady() in the tests is now async
- removing unnecessary comments
2023-01-30 10:16:46 -04:00
denihs
d590d20e19 - fix receive data and buffering data 2023-01-24 15:52:02 -04:00
denihs
368e059e0b Merge branch 'release-3.0-mongo-tests-with-tla' into release-3.0-tests-ddp-client 2023-01-24 13:36:46 -04:00
denihs
860e796812 - fixing reconnect tests 2023-01-20 10:54:14 -04:00
denihs
ead8c2a126 Merge branch 'release-3.0' into release-3.0-tools-and-mongo
# Conflicts:
#	meteor
#	npm-packages/eslint-plugin-meteor/scripts/dev-bundle-tool-package.js
#	npm-packages/meteor-babel/package-lock.json
#	npm-packages/meteor-babel/package.json
#	packages/babel-compiler/.npm/package/npm-shrinkwrap.json
#	packages/babel-compiler/package.js
#	packages/meteor/package.js
#	scripts/dev-bundle-tool-package.js
2023-01-18 15:37:36 -04:00
denihs
c0a1308cb8 Merge branch 'devel' into release-3.0
# Conflicts:
#	docs/history.md
#	packages/accounts-password/password_server.js
2023-01-18 15:35:03 -04:00
Edimar Cardoso
28fb31b92d Refectory mongo packages
- Using isomorphy async methods with the suffix Async;
- Changing tests to use async methods on client and server
- Fix tests
2023-01-17 23:14:53 -03:00
Edimar Cardoso
75141af1bd Revert renamed method. 2023-01-17 15:36:17 -03:00
Edimar Cardoso
cc6ae20b1b Refectory mongo packages
- Using isomorphy async methods with the suffix Async;
- Changing tests to use async methods on client and server
- Fix tests
2023-01-17 14:47:15 -03:00
Edimar Cardoso
a036066611 Refectory mongo packages
- Using isomorphy async methods with the suffix Async;
- Changing tests to use async methods on client and server
- Fix tests
2023-01-16 22:47:48 -03:00
Edimar Cardoso
e40198cf8e Fix mongo tests 2023-01-16 10:59:53 -03:00
Gabriel Grubba
9b6c797f09 Meteor version to 2.10.0 ☄️ 2023-01-13 17:19:44 -03:00
Edimar Cardoso
7825255744 Fix mongo tests 2023-01-12 10:04:56 -03:00
Edimar Cardoso
27220f370c Fix mongo tests 2023-01-12 09:48:38 -03:00
Gabriel Grubba
eebe2b476b Meteor version to 2.10.0-rc.0 ☄️ 2023-01-10 16:26:03 -03:00
Edimar Cardoso
1b2b87499b Fix error for undefined global.asyncLocalStorage 2023-01-06 16:43:46 -03:00
Gabriel Grubba
2d0cb940bb Meteor version to 2.10.0-beta.0 ☄️ 2023-01-06 13:33:13 -03:00
Edimar Cardoso
2244ec31e6 Merge branch 'release-3.0' into release-3.0-mongo-tests 2023-01-06 10:50:18 -03:00
Edimar Cardoso
8a5631cb12 Fix tests for Oplog 2023-01-06 10:49:44 -03:00
Gabriel Grubba
59f4d15c90 Merge pull request #12409 from ebroder/mongo-type-fixes
Fix errors in Mongo types
2023-01-04 17:46:55 -03:00
Per Bergland
b1507e0325 export one more 2023-01-04 17:13:49 +01:00
Per Bergland
fa23757abd remove unused types, export more types 2023-01-04 17:13:49 +01:00
Per Bergland
12be986301 copy over fix from definitelytyped 2023-01-04 17:13:49 +01:00
Per Bergland
2fca78bf43 Use native driver types instead of homebuilt 2023-01-04 17:13:49 +01:00
Edimar Cardoso
1634bf4519 Fix tests for DocFetcher 2023-01-03 15:01:22 -03:00
Edimar Cardoso
fcb7f8f8e7 Remove callback and transform mongodb methods in async 2023-01-03 11:25:17 -03:00
Evan Broder
d4042b2cc8 Fix errors in Mongo types
Both the synchronous and asynchronous iterators for Mongo.Cursor are
defined to have a "next" argument type of never. However, TypeScript
will reject using such an iterator in a for-of loop with:

> Cannot iterate value because the 'next' method of its iterator expects
> type 'never', but for-of will always send 'undefined'.ts(2763)

This changes back to the default (undefined), which is acceptable, since
the iterators ignore any arguments passed into next() anyway.

It also correctly declares the return type of dropIndexAsync, which
should return a Promise, not void.
2022-12-28 13:12:37 -08:00
denihs
efe67c79d9 - wait fence.beginWrite() 2022-12-22 14:18:17 -04:00
Edimar Cardoso
84d3b61470 Remove callback and transform mongodb methods in async 2022-12-22 11:26:41 -03:00
Edimar Cardoso
ddbaf0c3cc Remove callback and transform mongodb methods in async 2022-12-22 00:11:17 -03:00
Edimar Cardoso
25ab772ceb Remove callback and transform mongodb methods in async 2022-12-21 16:07:16 -03:00
Edimar Cardoso
21fd5da72e Merge branch 'release-3.0-rem-mongo-async-pkg' into release-3.0-mongo-tests 2022-12-21 11:17:52 -03:00
Edimar Cardoso
c9a4addadc Fix post merge 2022-12-21 11:16:36 -03:00
Edimar Cardoso
d74505a86c Remove callback and transform mongodb insert in async 2022-12-21 11:14:27 -03:00
Edimar Cardoso
9b7c649a0c Merge branch 'release-3.0-rem-mongo-async-pkg' into release-3.0-mongo-tests
# Conflicts:
#	packages/mongo/mongo_livedata_tests.js
2022-12-21 09:40:21 -03:00
Edimar Cardoso
cacce7f486 Merge pakcage mongo-async into mongo 2022-12-21 09:39:29 -03:00
Edimar Cardoso
ebcd4efb46 Merge branch 'release-3.0-rem-mongo-async-pkg' into release-3.0-mongo-tests
# Conflicts:
#	packages/mongo/collection.js
#	packages/mongo/mongo_driver.js
#	packages/mongo/mongo_livedata_tests.js
#	packages/mongo/observe_changes_tests.js
#	packages/mongo/observe_multiplex.js
#	packages/mongo/oplog_observe_driver.js
2022-12-21 02:04:03 -03:00
Edimar Cardoso
4d602f42be Merge pakcage mongo-async into mongo 2022-12-21 01:57:54 -03:00
Edimar Cardoso
88017c45b1 Transform Mongodb update method (client and server) in async. 2022-12-21 01:52:54 -03:00
Edimar Cardoso
33ef040605 Go Back to using the mongo package 2022-12-19 14:56:35 -03:00
Edimar Cardoso
5164fe35d2 Fix Mongo Async tests 2022-12-15 09:45:07 -03:00
denihs
5c2f124298 Merge branch 'release-3.0' into async-ddp
# Conflicts:
#	packages/babel-compiler/.npm/package/npm-shrinkwrap.json
2022-12-12 10:19:22 -04:00
denihs
f60bfc7f75 Revert "Revert "Merge pull request #12273 from meteor/release-2.9""
This reverts commit 5d19fec09b.
2022-12-12 10:17:42 -04:00
denihs
5d19fec09b Revert "Merge pull request #12273 from meteor/release-2.9"
This reverts commit 19e9e2082e, reversing
changes made to 644592cedc.
2022-12-12 09:53:19 -04:00
Gabriel Grubba
48b6e9ca46 Meteor version to 2.9.0 ☄️ 2022-12-07 10:28:32 -03:00