-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate for Meteor 3.0 #306
base: master
Are you sure you want to change the base?
Conversation
Once CI runs we should release a beta asap, wdyt @StorytellerCZ |
Merged in from #309 as I couldn't push to the original branch for some reason. |
@bhunjadi I will be watching your fork if anything comes up. I will release a beta shortly, but given that the tests and lint fail we have to look into that @jankapunkt |
@jankapunkt 2.14 tests are failing. Not a bit issue, but it would be good to have a backward compatibility or figure out why. For myself it is not a release blocker as 3.0 tests pass. So the only real thing that we need to figure out is the MontiAPM issue that @harryadel and @brianlukoff spoke of. |
Hello, what is the latest situation, when I try this version 2.16, callbacks are not triggered. my code: if (Meteor.isServer) {
Messages.before.insert(async function (userId, doc) {
doc.search = doc.search || {}
if (doc.userId) {
const user = await Meteor.users.findOneAsync({ _id: doc.userId }, { fields: UserSearchFieldSelector })
doc.search.user = user
}
if (doc.lastAgentUserId) {
const lastAgentUser = await Meteor.users.findOneAsync({ _id: doc.lastAgentUserId }, { fields: UserSearchFieldSelector })
doc.search.lastAgentUser = lastAgentUser
}
return true
})
} |
Fix publish wrapper on meteor 3.0
Try to force the newer version of email package
The tests are failing due to error in the email package which has nothing to do with this project. We might need to wait for Meteor 3.0.3 release before we are able to run tests properly. |
For anyone also facing the I just released a version for this package ( |
Thank you @matheusccastroo for the hotfix I think under this circumstance we should make it globally configurable which methods to hook by default. @StorytellerCZ wdyt? |
I don't know. The issue is with the insert hook which configuration would not really resolve. I'm fine with optimization of hooking only collections which actually have hooks assigned. |
The issue with montiapm:agent is more an issue with MeteorX - it's unable to get the synchronous cursor since the cursor it has access to is different than the one the fetch is run on when using collection hooks: meteor-collection-hooks/find.js Lines 58 to 64 in 8484d71
I'm not familiar with this package, but a couple ideas are:
|
Guys, I released a new version |
So pretty sure now that the latest rc caused my website to fall into infinite loading. Not sure why, but reverting to rc.4 fixed the issue. |
Continuing from #309