20 KiB
Changelog
This is a complete history of changes for Meteor releases.
v3.0.2, 2024-08-14
Highlights
- Bump the patch for some packages, so we publish them using Meteor 3 tooling. PR
- Fix subscription still resetting documents PR
- Fix auth sub sending ready twice on load PR
- Remove version constraints from http package in accounts-twitter PR
- Deprecate Meteor.user() usage on server side PR
Breaking Changes
N/A
Internal API changes
N/A
Migration Steps
Please run the following command to update your project:
meteor update --release 3.0.2
Meteor Version Release
Bumped packages:- accounts-2fa@3.0.1
- accounts-base@3.0.1
- accounts-password@3.0.1
- accounts-twitter@1.5.2
- ddp-client@3.0.1
- ddp-common@1.4.4
- ddp-server@3.0.1
- email@3.0.1
- meteor@2.0.1
- minimongo@2.0.1
- mongo@2.0.1
- npm-mongo@4.17.4
- test-helpers@2.0.1
- webapp@2.0.1
Special thanks to
For making this great framework even better!
v3.0.1, 2024-07-16
Highlights
- Bump the patch for some packages, so we publish them using Meteor 3 tooling. PR
Breaking Changes
N/A
Internal API changes
N/A
Migration Steps
Please run the following command to update your project:
meteor update --release 3.0.1
Meteor Version Release
Bumped packages:- accounts-ui-unstyled@1.7.2
- crosswalk@1.7.3
- facebook-oauth@1.11.4
- npm-mongo@4.17.3
- package-version-parser@3.2.3
- twitter-config-ui@1.0.2
Special thanks to
For making this great framework even better!
v3.0, 2024-07-15
Highlights
Breaking Changes
-
Meteor tool
- 'meteor reset' command only affects the local project cache. Use
--dboption to also remove the local database.
- 'meteor reset' command only affects the local project cache. Use
-
accounts-2fa@3.0.0:- Some methods are now async. See below:
Accounts._is2faEnabledForUser(Meteor Method) - generate2faActivationQrCode(Meteor Method) - enableUser2fa(Meteor Method) - disableUser2fa(Meteor Method) - has2faEnabled
-
accounts-base@3.0.0:methods.removeOtherTokensis now asyncAccounts.destroyTokenis now asyncAccounts.insertUserDocis now asyncAccounts.updateOrCreateUserFromExternalServiceis now asyncAccounts.expirePasswordTokenis now asyncAccounts.setupUsersCollectionis now asyncMeteor.useris now async in server
-
accounts-facebook@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
accounts-github@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
accounts-google@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
accounts-meetup@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
accounts-meteor-developer@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
accounts-oauth@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
accounts-password@3.0.0:- Some server methods are now async:
Accounts.sendResetPasswordEmailAccounts.sendEnrollmentEmailAccounts.sendVerificationEmailAccounts.addEmailAccounts.removeEmailAccounts.verifyEmailAccounts.createUserVerifyingEmailAccounts.createUserAccounts.generateVerificationTokenAccounts.generateResetTokenAccounts.forgotPasswordAccounts.setPassword-- no longer exists, you should use Accounts.setPasswordAsync PRAccounts.changePasswordAccounts.setUsernameAccounts.findUserByEmailAccounts.findUserByUsername
-
accounts-passwordless@3.0.0:Accounts.sendLoginTokenEmailis now async.
-
accounts-twitter@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
accounts-ui-unstyled@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
accounts-ui@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
accounts-weibo@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
allow-deny@2.0.0:- Updated to accept async functions.
-
appcache@2.0.0:- Updated internal api to use
handlers
- Updated internal api to use
-
audit-argument-checks@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
autopublish@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
autoupdate@2.0.0:- Updated api to be async, with asyncronous queueing.
-
babel-compiler@8.0.0:- Removed
Promise.awaitdefault transform. - Added top-level-await to packages.
- Removed
-
babel-runtime@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
base64@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
binary-heap@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
Build system:
- removed
Assets.getText - removed
Assets.getBinary
- removed
-
blaze@3.0.0:- Todo
-
boilerplate-generator-tests@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
boilerplate-generator@2.0.0:toHTMLis no longer available (it was already deprecated). UsetoHTMLStreaminstead.- Updated to use
handlers
-
browser-policy-common@2.0.0:- Updated to use
handlers
- Updated to use
-
browser-policy-content@2.0.0:- Some methods are now async. See below:
BrowserPolicy.content.setPolicyBrowserPolicy.content.allowInlineScriptsBrowserPolicy.content.disallowInlineScriptsBrowserPolicy.content.disallowAllBrowserPolicy.setDefaultPolicy
- Some methods are now async. See below:
-
browser-policy-framing@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
browser-policy@2.0.0: Updated to use async methods frombrowser-policy-commonandbrowser-policy-content. -
caching-compiler@2.0.0:afterLinkis now async.- Updated to use now async API.
-
callback-hook@2.0.0:- Added
forEachAsyncmethod.
- Added
-
check@2.0.0:- Removed
fibersrelated tests.
- Removed
-
constraint-solver@2.0.0:-
Some methods are now async. See below:
ConstraintSolver.getVersionCostStepsConstraintSolver.analyzeConstraintSolver.resolve
-
Updated tests to be async.
-
Removed a few underscore usage.
-
Added updated to use async methods
-
-
context@1.0.0:- Removed
fibersfrom package.
- Removed
-
core-runtime@2.0.0:- Created package to load packages and the app.
- This is the pakcages that sets up the Runtime.
-
crosswalk@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
ddp-client@3.0.0:- Added
isAsyncCallmethod to know if call is being made by a async method. - Removed
fibersfrom package. - Updated tests to use async methods.
- Added
-
ddp-common@2.0.0:- Added
.fenceoption.
- Added
-
ddp-rate-limiter@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
ddp-server@3.0.0:- Updated to use async methods.
- Removed
fibersfrom package. - Updated tests to use async methods.
- Turned server implementation to async.
-
ddp@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
diff-sequence@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
disable-oplog@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
ecmascript-runtime-client@1.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
ecmascript-runtime-server@1.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
ecmascript-runtime@1.0.0:- Added dependency to
@babel/runtime.
- Added dependency to
-
ecmascript@1.0.0:- Added dependency to
@babel/runtime. - Moved runtime tests.
- Added dependency to
-
ejson@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
email@3.0.0:Email.sendis no longer available. UseEmail.sendAsyncinstead.- Updated types to reflext async methods and
Email.senddepracation.
-
es5-shim@5.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
facebook-config-ui@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
facebook-oauth@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
facts-base@2.0.0:- turned unorderd deps on
ddpto false.
- turned unorderd deps on
-
facts-ui@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
fetch@1.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
force-ssl-common@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
force-ssl@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
geojson-utils@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
github-config-ui@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
github-oauth@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
google-config-ui@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
google-oauth@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
hot-code-push@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
http@:- Updated handlers to use
handlers
- Updated handlers to use
-
id-map@2.0.0:- Added
forEachAsyncmethod.
- Added
-
insecure@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
inter-process-messaging@1.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
launch-screen@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
localstorage@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
logging@2.0.0:- Added dependency to
@babel/runtime.
- Added dependency to
-
logic-solver@3.0.0:Logic.disablingAssertionsis now async.minMaxWSis now async. -
meetup-config-ui@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
meetup-oauth@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
meteor-base@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
meteor-developer-config-ui@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
meteor-developer-oauth@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
meteor-tool@3.0.0:- Changes to how meteor apps are being created PR
-
meteor@2.0.0:- Async local storage was added to help deal with async methods.
- Added
promiseEmmiterto help with async methods. - Removed
fibersfrom package. Meteor.absoluteUrlin localhost uses127.0.1by default.
-
minifier-css@2.0.0:minifyCssis now async.- Removed
fibersfrom package.
-
minifier-js@3.0.0:minifyJsis now async.terserMinifyno longer takes callbacks- Removed
fibersfrom package.
minimongo@2.0.0:cursor.observenow returnsisReadyandisReadyPromisewich indicates if the cursor is ready and if the callbacks are have been called. If you only use it in theClientor as aLocalCollectionthings have not changed.
-
mobile-experience@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
mobile-status-bar@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
modern-browsers@1.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
modules-runtime@1.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
modules@1.0.0:- Updated
reifyversion.
- Updated
-
mongo-decimal@:- Updated to use
asyncmethods.
- Updated to use
-
mongo-dev-server@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
mongo-id@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
mongo-livedata@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
mongo@2.0.0:- Updated to unify methods,
update,insert,remove,fetchare now async, they are the same as their*Asynccounterpart. ensureIndexandcreateIndexare now async.
- Updated to unify methods,
-
npm-mongo@5.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
oauth-encryption@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
oauth@:_endOfPopupResponseTemplateand_endOfRedirectResponseTemplateare no longer a property but now a function that returns a promise of the same value as before- the following server methods are now async:
OAuth._renderOauthResultsOAuth._endOfLoginResponseOAuth.renderEndOfLoginResponseOAuth._storePendingCredentialOAuth._retrievePendingCredentialensureConfigured_cleanStaleResults
-
oauth@3.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
oauth1@:- the following server methods are now async:
OAuth._storeRequestTokenOAuth._retrieveRequestToken
-
oauth1@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
oauth2@:OAuth._requestHandlers['2']is now async.
-
oauth2@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
ordered-dict@2.0.0:- Added
forEachAsyncmethod.
- Added
-
package-stats-opt-out@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
package-version-parser@4.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
promise@1.0.0:- Removed
fibersusage
- Removed
-
random@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
rate-limit@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
reactive-dict@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
reactive-var@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
reload-safetybelt@2.0.0:- Added
ecmascriptpackage topackage.js
- Added
-
reload@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
retry@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
routepolicy@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
server-render@1.0.0:- Updated usage with
getBoilerplatethat are nowasync.
- Updated usage with
-
service-configuration@2.0.0:- Updated to use
createIndexAsync.
- Updated to use
-
session@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
sha@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
shell-server@1.0.0:- Updated to handle promises results.
-
socket-stream-client@1.0.0:- Updated tests to handle
asynccode.
- Updated tests to handle
-
spiderable@:- Updated handlers to use
handlersthat are now using express - removed
fibersusage if flag is set totrue
- Updated handlers to use
-
standard-minifier-css@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
standard-minifier-js@3.0.0:processFilesForBundleis nowasync.
-
standard-minifiers@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
static-html@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
test-helpers@2.0.0:- Updated to use
asyncmethods. - Removed
fibersusage. - Added possibliy to use
asynctests.
- Updated to use
-
test-in-browser@2.0.0:- Updated css to be in dark mode.
-
test-in-console@2.0.0:- Updated log identation.
-
test-server-tests-in-console-once@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
tinytest-harness@1.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
tinytest@2.0.0:- Added
test nameto logs. - Removed
fibersusage.
- Added
-
twitter-config-ui@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
twitter-oauth@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
typescript@5.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
underscore-tests@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
underscore@2.0.0:- Removed dependency in meteor package.
-
url@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
webapp-hashing@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
webapp@2.0.0:-
These methods are now async:
WebAppInternals.reloadClientPrograms()WebAppInternals.pauseClient()WebAppInternals.generateClientProgram()WebAppInternals.generateBoilerplate()WebAppInternals.setInlineScriptsAllowed()WebAppInternals.enableSubresourceIntegrity()WebAppInternals.setBundledJsCssUrlRewriteHook()WebAppInternals.setBundledJsCssPrefix()WebAppInternals.getBoilerplate
-
Changed engine from connect to express and changed api naming to match express. See below:
-
WebApp.connectHandlers.use(middleware)is nowWebApp.handlers.use(middleware) -
WebApp.rawConnectHandlers.use(middleware)is nowWebApp.rawHandlers.use(middleware) -
WebApp.connectAppis nowWebApp.expressApp -
WebApp.addRuntimeConfigHookaccepts async callbacks
-
-
weibo-config-ui@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
-
weibo-oauth@2.0.0:- Package was bumped due to a dependency update. No code changes were made.
New Public API
-
Build systemPR:- Assets.getTextAsync
- Assets.getBinaryAsync
-
accounts-base: (2.9+)Meteor.userAsync()
-
callback-hook:forEachAsyncforEachAsync
-
ddp-server: (2.8+)Meteor.callAsync()
-
minifier-css: (2.9+)CssTools.minifyCssAsync()
-
mongo:Mongo.Collection: (2.8+)createCappedCollectionAsynccreateIndexAsyncdropCollectionAsyncdropIndexAsyncfindOneAsyncinsertAsyncremoveAsyncupdateAsyncupsertAsync
Collection.Cursor: (2.8+)countAsyncfetchAsyncforEachAsyncmapAsync[Symbol.asyncIterator]so this code should work:for await (const document of collection.find(query, options)) /* ... */
Internal API changes
accounts-base:
_attemptLogin_loginMethod_runLoginHandlers
- Upgraded
node-gypto v9.4.0 - Upgraded
node-pre-gypto@mapbox/node-pre-gypv1.0.11
New Internal API
accounts-password:
Accounts._checkPasswordAsync
Special thanks to
For making this great framework even better!