Loading...
Loading...
Use when migrating a Meteor 2.x application to Meteor 3.x. Triggers on callAsync, *Async Mongo, removed Fibers, implicit-global ReferenceError, lost Blaze reactivity, a publish function returning a Promise, a scheduler dropping a Promise, a read API receiving update modifiers, async allow/deny, an Iron Router controller not running, "Method stub took too long", Atmosphere resolution, Express 5 WebApp handlers, lost async context, rawCollection callbacks, meteor/* TypeScript types, useTracker, and useSubscribe. Use this skill when the user asks about upgrading Meteor, async caller propagation, iterators with await, zodern:types, or replacing and forking packages.
npx skill4agent add meteor/agent-skills migrate-to-meteor-3WARN_WHEN_USING_OLD_API=true meteor run*Asyncreferences/async-rewrites.mdreferences/call-vs-callAsync.mdmeteor/<publisher>:collectionsapi.versionsFrom(['2.x', '3.0'])references/package-triage.md.meteor/versionsconstexportimportreferences/module-system.mdTracker.autorunawaitreferences/client-reactivity.mdawaitforEachmapfilterfor...ofPromise.allreferences/js-iterators.md_cursorDescriptionsub.addedthisthisMeteor.publishEnvironmentVariablepublish.callawaitreferences/publications.mdreferences/other-breaking-changes.mdzodern:typestsconfig.jsonreferences/typescript-migration.mdreact-meteor-datareferences/react-migration.mdmeteor-react| Symptom | Reference |
|---|---|
| |
| |
Downstream caller receives or reads from a | |
| Cron, hook, timer, or event callback drops a Promise | |
Read method receives | |
| |
| |
| |
| Template renders, no data, Minimongo empty | |
| Iron Router controller silently does not run | |
| |
| Page renders but live data never updates | |
Blaze helper returns a | |
Cursor | |
| |
Method or publication loses | |
| Atmosphere package fails to resolve or build | |
| |
Middleware on | |
| Route uses an unnamed wildcard after Meteor 3.1 | |
| |
Patched publication loses | |
| |
| |
"Cannot enlarge memory array" during | |
External callback lost | |
Monkey-patched | |
| |
| |
meteor update --release=3findOnefindOneAsyncawaitawaitTracker.withComputationcontroller:await.then()constletexportMeteor.userId()Meteor.userIdAsync()thisapi.addFilesapi.exportasync-rewrites.mdcall-vs-callAsync.mdasync-cheatsheet.mdjs-iterators.mdremoved-functions.mdmodule-system.mdclient-reactivity.mdpublications.mdwebapp-express.mdother-breaking-changes.mdpackage-triage.mdtypescript-migration.mdreact-migration.mdeval-cases.mdmeteor-reactreferences/community-case-studies.md