Skip to content

Comments

Meteor 3.4 compatibility#424

Open
harryadel wants to merge 1 commit intocult-of-coders:masterfrom
harryadel:fix/meteor-3.4-compatibility
Open

Meteor 3.4 compatibility#424
harryadel wants to merge 1 commit intocult-of-coders:masterfrom
harryadel:fix/meteor-3.4-compatibility

Conversation

@harryadel
Copy link

Rewrites ObserveMultiplex.js to match Meteor 3.4 fire-and-forget callback semantics, updates observeChanges.js to use the 4-param signature, and uses collection.direct in ObservableCollection to prevent collection hooks from re-triggering on already-processed selectors.

Changes:

  • ObserveMultiplex.js: Full ES class rewrite with synchronous _isReady, initialAddsSentResolver, and nonMutatingCallbacks support
  • observeChanges.js: 4-param signature, removed _noYieldsAllowed, register multiplexer after driver init
  • ObservableCollection.js: Use collection.direct to bypass collection hooks that fail outside their original context
  • package.js: Added Meteor 3.3 and 3.4 to versionsFrom

…on hooks bypass

Rewrites ObserveMultiplex.js to match Meteor 3.4 fire-and-forget callback
semantics, updates observeChanges.js to use the 4-param signature, and uses
collection.direct in ObservableCollection to prevent collection hooks from
re-triggering on already-processed selectors.

Changes:
- ObserveMultiplex.js: Full ES class rewrite with synchronous _isReady,
  initialAddsSentResolver, and nonMutatingCallbacks support
- observeChanges.js: 4-param signature, removed _noYieldsAllowed, register
  multiplexer after driver init
- ObservableCollection.js: Use collection.direct to bypass collection hooks
  that fail outside their original context
- package.js: Added Meteor 3.3 and 3.4 to versionsFrom
@filipenevola
Copy link

Hey @StorytellerCZ could you help us here or point to someone that could merge this?

@StorytellerCZ
Copy link
Collaborator

@harryadel please add 3.4 to the test targets.
Do we need to make this 3.4+ release only?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants