Commit Graph

407 Commits

Author SHA1 Message Date
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
1e76987840 fixing load-js-image and linker 2023-01-23 17:10:43 -04:00
Edimar Cardoso
771de1b067 Merge branch 'release-3.0' into release-3.0-mongo-tests 2022-12-19 14:32:54 -03:00
Edimar Cardoso
6587c38710 Fix Mongo Async tests 2022-12-19 14:17:18 -03:00
denihs
aeb84793ee fix: using insertAsync on getAllNames 2022-12-16 10:42:44 -04:00
denihs
bafd373bb6 fix: tests await insert on getAllNames 2022-12-16 10:36:55 -04:00
denihs
6b61f03d9f Fixing ddp-server tests 2022-12-14 16:15:05 -04:00
denihs
7c4107c1f0 Removing Fibers import 2022-12-05 10:15:05 -04:00
denihs
fb40d960b8 ddp-server and ddp-client are now ddp-server-legacy and ddp-client-server
ddp-server-async and ddp-client-async are now ddp-server and ddp-client
2022-12-05 10:11:41 -04:00
Edimar Cardoso
3a3dcda13e Rollback changes to fibers implementation 2022-11-10 16:46:04 -03:00
Edimar Cardoso
f737084a56 Rollback changes to fibers implementation 2022-11-10 15:24:45 -03:00
Edimar Cardoso
c5735365ae Separate mongo packages into two packages
- packages/mongo: current Fibers implementation;
- Packages/mongo-async: New version without Fibers (Work in progress)
- Change usages to import correct package based on flag DISABLE_FIBERS
2022-11-10 09:34:16 -03:00
Edimar Cardoso
97813d63fe Separate mongo packages into two packages
- packages/mongo: current Fibers implementation;
- Packages/mongo-async: New version without Fibers (Work in progress)
- Change usages to import correct package based on flag DISABLE_FIBERS
2022-11-08 10:19:38 -03:00
Edimar Cardoso
04320b4409 Separate mongo packages into two packages
- packages/mongo: current Fibers implementation;
- Packages/mongo-async: New version without Fibers (Work in progress)
- Change usages to import correct package based on flag DISABLE_FIBERS
2022-11-04 17:08:24 -03:00
Matheus Castro
38ff1d6e72 Merge branch 'meteor-no-fibers-base' into fibers-optional-no-tla
# Conflicts:
#	.circleci/config.yml
#	docs/history.md
#	docs/source/commandline.md
#	guide/source/2.8-migration.md
#	packages/ddp-client/package.js
#	packages/ddp-server/package.js
#	packages/meteor-tool/package.js
#	packages/meteor/asl-helpers.js
#	packages/minifier-css/.npm/package/npm-shrinkwrap.json
#	packages/minimongo/package.js
#	packages/modules/package.js
#	packages/mongo/mongo_driver.js
#	packages/mongo/package.js
#	packages/npm-mongo/.npm/package/npm-shrinkwrap.json
#	packages/npm-mongo/package.js
#	packages/test-in-console/package.js
2022-10-31 21:13:46 -03:00
Matheus Castro
53ff57b492 Improving write fence. 2022-10-20 23:55:58 -03:00
Matheus Castro
1c590919b8 # Conflicts:
#	packages/mongo/mongo_driver.js
2022-10-17 17:27:41 -03:00
Gabriel Grubba
1e893d3e9a Meteor version to 2.8.0 ☄️ 2022-10-17 10:20:40 -03:00
Gabriel Grubba
88ab016017 Meteor version to 2.8-rc.0 ☄️ 2022-10-06 18:14:04 -03:00
denihs
662eee3bf9 Changes from code review 2022-10-06 14:17:50 -04:00
denihs
2542ae9970 Changing variables' and functions' names. 2022-10-05 17:44:31 -04:00
denihs
b86b2a122c Removing withValueAsync from the server, and using the setNewContextAndGetCurrent and set strategy.
When creating a new fiber inside withValueAsync, some contexts where missing, and when calling Meteor.call without a callback, no result were returned.
2022-10-05 13:27:16 -04:00
denihs
d2e552ed27 - update changelog
-  Throw a warning instead of an error when the user is calling Method with the wrong type of function
2022-09-22 15:04:39 -04:00
Matheus Castro
24b01a4cb8 Correctly implement forEach (make it synchronously run the callbacks) and apply that to map.
Also, correctly implement the withValue from the Meteor.EVp. Seems that the values were being set the wrong way.
2022-09-06 18:51:12 -03:00
denihs
17748bb0a8 Merge branch 'release-2.7.4' into bugfix/fix-problem-with-publish-client-async-methods 2022-08-30 09:55:48 -04:00
Matheus Castro
8d5983d2bc Create Meteor._runAsync helper. 2022-08-29 20:30:46 -03:00
Frederico Maia Arantes
15c74fb2b4 fix: rename setPublicationStrategy and getPublicationStrategy arguments. 2022-08-29 12:39:20 +02:00
Frederico Maia Arantes
7d02f872c3 fix: rename setPublicationStrategy and getPublicationStrategy arguments. 2022-08-29 12:27:06 +02:00
Matheus Castro
2f5e8e4432 Correctly implement the usage of promises for the publication initial and stop handles. Seems that waiting with the while loop is enough (?), but it's something we will need to confirm. 2022-08-26 19:51:34 -03:00
Matheus Castro
8ed48bce29 Livedata Server should work with fibers too. 2022-08-24 10:51:22 -03:00
Matheus Castro
26b16b5db3 Move ASL helpers to it's own file and attach it to Meteor's global object.
On tools, however, we still need to use the process.env value (when starting the server in boot.js).
2022-08-19 20:03:25 -03:00
Edimar Cardoso
a9c514a21d Fix problem when publish async methods. 2022-08-19 15:10:08 -03:00
Matheus Castro
a40ec5392f Add code from "fibers-optional" branch with some modifications:
- Create new context for DDP server too.
- Removing some console.logs + adding some TODOS.
2022-08-18 13:16:21 -03:00
Jan Dvorak
a6d65cddb7 Release 2.4 2021-09-14 09:30:22 +02:00
Jan Dvorak
2dbadcbd5f 2.4-rc.6 2021-09-09 16:19:41 +02:00
filipenevola
5cc351bdab Bump version to 2.4.0-rc.5 2021-09-05 21:47:29 -07:00
Jan Dvorak
621a851094 2.4-rc.4 2021-09-02 10:22:22 +02:00
Jan Dvorak
37e2fc442f History update after 2.3.6 2021-09-02 09:28:54 +02:00
Jan Dvorak
82bf593b5e More fixes to documentation 2021-08-31 15:04:49 +02:00
Jan Dvorak
40fb9e6556 Update inline docs 2021-08-31 14:24:02 +02:00
Jan Dvorak
c9ea1f2d9e Update docs and guide for recent changes 2021-08-31 13:59:34 +02:00
filipenevola
f0063af6c5 Bump version to 2.4.0-rc.3 2021-08-29 11:14:51 -10:00
Jan Dvorak
ae142366b9 2.4-rc.2 2021-08-24 10:36:52 +02:00
Jan Dvorak
744300da25 2.4-rc.1 2021-08-23 11:42:09 +02:00
Jan Dvorak
cb877eb39e Merge branch 'devel' into release-2.4 2021-08-20 20:51:48 +02:00
Jan Dvorak
7c2aa59cf7 Bump ddp-server patch version 2021-08-20 18:05:08 +02:00
Jan Dvorak
6fe13a87ba Fix sending test metadata
TEST_METADATA is by default "{}", so the check there is always true, even though it was intended to be false when the env var is not set.
2021-08-20 18:03:48 +02:00