Commit Graph

15173 Commits

Author SHA1 Message Date
italo jose
e3606b55cb Meteor version to 3.5-beta.6 ☄️ 2026-03-10 13:47:43 -03:00
Italo José
45adcf7903 Merge pull request #14217 from meteor/changeStream/reactivity-order
[3.5] set changeStreams as dafault reactivity mechanism
2026-03-10 11:15:07 -03:00
Italo José
a90cf8d1d3 Merge pull request #14201 from mvogttech/accounts-base-registerLinkCallback
refactor(accounts-base): DRY link callback registration methods
2026-03-10 11:13:58 -03:00
italo jose
f5a64d1391 edit reactivity order 2026-03-10 11:13:02 -03:00
Italo José
90e7b32bf1 Merge pull request #14209 from mvogttech/ejson-optimize_toJSONValues
perf(ejson): copy-on-write toJSONValue/fromJSONValue to reduce alloca…
2026-03-10 10:48:28 -03:00
Italo José
cb5c9e757d Merge pull request #14196 from mvogttech/hasOwnProperty-removal
refactor(accounts-base): replace hasOwnProperty.call with Object.hasOwn
2026-03-10 10:45:22 -03:00
Italo José
c20c4a5d19 Merge pull request #14198 from mvogttech/accounts-base-spread-refactor
refactor(accounts-base): use spread operator instead of .push.apply()
2026-03-10 10:45:02 -03:00
Italo José
2b6570058d Merge pull request #14200 from mvogttech/accounts-base-replace_arguments_implicit
refactor(accounts-base): use rest params instead of arguments object
2026-03-10 10:43:27 -03:00
Italo José
9dbc7cd2fe Merge branch 'release-3.5' into accounts-base-registerLinkCallback 2026-03-10 10:42:49 -03:00
Italo José
51523a11b1 Merge pull request #14208 from mvogttech/ejson-optimize_equals_check_order
perf(ejson): fast-path primitive comparisons in EJSON.equals
2026-03-09 15:26:56 -03:00
Italo José
0270cbb54d Merge branch 'release-3.5' into ejson-optimize_toJSONValues 2026-03-09 15:22:43 -03:00
Michael Vogt
2dde09404d EJSON copy-on-write tests 2026-03-09 11:06:51 -05:00
Michael Vogt
e5ee99e71c add early exit tests 2026-03-09 09:33:42 -05:00
Michael Vogt
59277e7f67 perf(ejson): copy-on-write toJSONValue/fromJSONValue to reduce allocations 2026-03-08 22:24:40 -05:00
Michael Vogt
18164ec0ae perf(ejson): fast-path primitive comparisons in EJSON.equals 2026-03-08 21:55:48 -05:00
9Morello
ab7126a8de Merge branch 'release-3.5' into refactor-ddp-rate-limiter-to-support-async-rule-matchers 2026-03-06 21:46:32 -03:00
Michael Vogt
3417f0e80b Fixed tests by defaulting both args to [] when not provided 2026-03-06 16:16:57 -06:00
Michael Vogt
944a95b106 add JSDoc comment for consistency 2026-03-06 14:29:53 -06:00
Michael Vogt
a25a233c39 refactor(accounts-base): DRY link callback registration methods 2026-03-06 14:20:27 -06:00
Michael Vogt
d110a490c4 refactor(accounts-base): use rest params instead of arguments object 2026-03-06 14:10:35 -06:00
Michael Vogt
9c8cbea78e refactor(accounts-base): use spread operator instead of .push.apply() 2026-03-06 14:01:14 -06:00
Michael Vogt
8364aa87b7 refactor(accounts-base): replace hasOwnProperty.call with Object.hasOwn 2026-03-06 13:43:46 -06:00
Italo José
298193543a Merge branch 'release-3.5' into fix/email-example 2026-03-06 16:43:32 -03:00
Italo José
6386d9115d Merge branch 'release-3.5' into refactor-ddp-rate-limiter-to-support-async-rule-matchers 2026-03-06 16:12:16 -03:00
Italo José
15ab49a1e5 Merge branch 'release-3.5' into fix/email-example 2026-03-06 16:11:20 -03:00
Italo José
e9f0e19d5e Merge branch 'release-3.5' into feature/ddp-resumptions-rebased 2026-03-06 15:56:52 -03:00
Italo José
7c7368e704 Merge branch 'devel' into release-3.5 2026-03-06 15:41:14 -03:00
Italo José
476773bce4 Merge branch 'release-3.5' into fix/email-example 2026-03-06 15:40:04 -03:00
Nacho Codoñer
79253fd5b8 bump @meteorjs/rspack to version 1.0.1 across all skeletons and packages. 2026-03-05 13:11:39 +01:00
9Morello
aef51b75a5 use try/catch instead of creating new promise instance, use asynchronous matcher on tests 2026-03-03 19:47:03 -03:00
9Morello
6cbdde66f2 Merge branch 'release-3.5' into refactor-ddp-rate-limiter-to-support-async-rule-matchers 2026-03-03 15:22:54 -03:00
Italo José
469c7bdb0a Merge branch 'devel' into release-3.5 2026-03-03 14:09:59 -03:00
9Morello
ca9406aba7 Update DDPRateLimiter's type definition to account for async functions 2026-03-03 11:18:05 -03:00
9Morello
d557572338 Make DDP session use async functions for rate limit checks. Get all matching rules once instead of twice, which should be faster depending on the work done by your rules 2026-03-03 11:17:03 -03:00
9Morello
72d3a14d95 Refactor Rule and RateLimiter classes to enable async functions in matchers 2026-03-03 11:14:45 -03:00
Italo José
62c68c3726 Merge branch 'release-3.5' into feature/ddp-resumptions-rebased 2026-03-03 09:38:43 -03:00
italo jose
6d7bf7ccb1 feat: update accounts cookie client tests to poll for async HTTP-only cookie setting. 2026-03-02 16:31:45 -03:00
Harry Adel
a860e33912 Merge branch 'release-3.5' into fix/email-example 2026-02-28 00:13:04 +02:00
italo jose
2ed38cf8a3 Meteor version 3.5-beta.4 ☄️ 2026-02-27 14:00:58 -03:00
Harry Adel
9d6e57f277 Merge branch 'release-3.5' into fix/email-example 2026-02-26 10:12:07 +02:00
italo jose
326c9d6629 Merge branch 'accounts/cookies-approach' into release-3.5 2026-02-24 11:57:46 -03:00
italo jose
884f658d66 Normalize package versions: revert unintended beta bumps and align ddp-server across tests
- Revert several packages to their stable versions (remove accidental beta bumps):
  accounts-base -> 3.2.0
  accounts-password -> 3.2.2
  minimongo -> 2.0.5
  mongo-decimal -> 0.2.0
  oauth1 -> 1.5.2
  service-configuration -> 1.3.5
  session -> 1.2.2
- Bump specific packages as intended:
  ddp-server -> 3.1.3-beta350.3
  mongo -> 2.3.0-beta350.3
  meteor-tool -> 3.5.0-beta.3
  test-in-console -> 2.0.2-beta350.3
  webapp -> 2.2.1-beta350.3
- Update modern-tests apps' .meteor/versions to use ddp-server@3.1.2
- Update v3 changelog to reflect the corrected bumped packages
2026-02-12 10:02:09 -03:00
italo jose
a71112ac05 Meteor version to release-3.5-beta.2 ☄️ 2026-02-11 20:10:18 -03:00
italo jose
f1fa95dfa6 Meteor version to 3.5-beta.1 ☄️ 2026-02-11 18:32:59 -03:00
italo jose
699e81976f Meteor version to 3.5-beta.0 ☄️ 2026-02-11 17:44:45 -03:00
italo jose
ff63ebe111 release: prepare v3.5.0-beta
- bump bundle and installer: meteor BUNDLE_VERSION -> 22.22.0.4, meteor-installer -> 3.5.0-beta
- bump package versions: accounts-base, ddp-server, mongo, mongo-decimal, oauth1, service-configuration, session
- update package references (.versions) and modern-tests apps to use new ddp-server/mongo versions
- mark packages/non-core/blaze subproject as dirty
- add v3.5.0 changelog (v3-docs)
2026-02-11 14:34:08 -03:00
italo jose
f25c1fd6d4 ddp-server: don't throw on changes/removes for already-removed docs in SessionCollectionView; mongo: import EJSON in ObserveMultiplexer
Replace thrown errors in SessionCollectionView.changed and .removed with early returns and explanatory comments to tolerate high-concurrency races where the cache is updated synchronously but callbacks are processed asynchronously.

Add missing EJSON import to observe_multiplex.ts so EJSON usage (cloning/argument handling) is available.
2026-02-09 14:29:25 -03:00
Italo José
d4f63c3006 Merge branch 'devel' into release-3.5 2026-02-04 18:58:28 -03:00
italo jose
79ed73ebb8 mongo: apply cache changes synchronously in ObserveMultiplexer; remove redundant cache write from ChangeStreamObserveDriver
Ensure ObserveMultiplexer updates its LocalCollection cache synchronously before scheduling async notifications to handlers to avoid races (e.g. an update arriving before the insert is recorded). Remove the manual cache set in ChangeStreamObserveDriver._handleUpdate since the multiplexer now guarantees synchronous cache updates.
2026-02-04 14:31:46 -03:00
italo jose
bf3a3bc125 mongo: fall back to polling when no reactivity driver selected; tests(changestream): refactor and expand ChangeStreamObserveDriver tests
- mongo_connection.js: ensure a polling driver fallback and log a debug message when no driverClass is returned from _selectReactivityDriver.
- tests/changestream_observe_driver_tests.js: complete rewrite and modernization of tests:
  - Replace old server/admin version checks with a simple driver-detection helper.
  - Convert tests to async, add helpers (makeCollection, waitFor, getPromiseAndResolver).
  - Remove brittle isMaster/version logic and server-only gating.
  - Add/clarify numerous tests covering detection, CRUD, projections, selectors, multiple observers, fence sync, pending writes, ordering, error recovery, stop/cleanup, matcher edge cases, and internal driver behaviors.
  - Improve assertions and stability (timeouts, waits) and simplify teardown.
2026-02-04 11:14:55 -03:00