# [7.0.0-beta.1](https://github.com/parse-community/parse-server/compare/6.5.0-beta.1...7.0.0-beta.1) (2024-03-19) ### Bug Fixes * CacheAdapter does not connect when using a CacheAdapter with a JSON config ([#8633](https://github.com/parse-community/parse-server/issues/8633)) ([720d24e](720d24e185)) * Conditional email verification not working in some cases if `verifyUserEmails`, `preventLoginWithUnverifiedEmail` set to functions ([#8838](https://github.com/parse-community/parse-server/issues/8838)) ([8e7a6b1](8e7a6b1480)) * Deny request if master key is not set in Parse Server option `masterKeyIps` regardless of ACL and CLP ([#8957](https://github.com/parse-community/parse-server/issues/8957)) ([a7b5b38](a7b5b38418)) * Docker image not published to Docker Hub on new release ([#8905](https://github.com/parse-community/parse-server/issues/8905)) ([a2ac8d1](a2ac8d133c)) * Docker version releases by removing arm/v6 and arm/v7 support ([#8976](https://github.com/parse-community/parse-server/issues/8976)) ([1f62dd0](1f62dd0f4e)) * GraphQL file upload fails in case of use of pointer or relation ([#8721](https://github.com/parse-community/parse-server/issues/8721)) ([1aba638](1aba6382c8)) * Improve PostgreSQL injection detection; fixes security vulnerability [GHSA-6927-3vr9-fxf2](https://github.com/parse-community/parse-server/security/advisories/GHSA-6927-3vr9-fxf2) which affects Parse Server deployments using a Postgres database ([#8961](https://github.com/parse-community/parse-server/issues/8961)) ([cbefe77](cbefe770a7)) * Incomplete user object in `verifyEmail` function if both username and email are changed ([#8889](https://github.com/parse-community/parse-server/issues/8889)) ([1eb95ae](1eb95aeb41)) * Parse Server option `emailVerifyTokenReuseIfValid: true` generates new token on every email verification request ([#8885](https://github.com/parse-community/parse-server/issues/8885)) ([0023ce4](0023ce448a)) * Parse Server option `fileExtensions` default value rejects file extensions that are less than 3 or more than 4 characters long ([#8699](https://github.com/parse-community/parse-server/issues/8699)) ([2760381](2760381183)) * Server crashes on invalid Cloud Function or Cloud Job name; fixes security vulnerability [GHSA-6hh7-46r2-vf29](https://github.com/parse-community/parse-server/security/advisories/GHSA-6hh7-46r2-vf29) ([#9024](https://github.com/parse-community/parse-server/issues/9024)) ([9f6e342](9f6e3429d3)) * Server crashes when receiving an array of `Parse.Pointer` in the request body ([#8784](https://github.com/parse-community/parse-server/issues/8784)) ([66e3603](66e36039d8)) * Username is `undefined` in email verification link on email change ([#8887](https://github.com/parse-community/parse-server/issues/8887)) ([e315c13](e315c137bf)) ### Features * Add `installationId` to arguments for `verifyUserEmails`, `preventLoginWithUnverifiedEmail` ([#8836](https://github.com/parse-community/parse-server/issues/8836)) ([a22dbe1](a22dbe16d5)) * Add `installationId`, `ip`, `resendRequest` to arguments passed to `verifyUserEmails` on verification email request ([#8873](https://github.com/parse-community/parse-server/issues/8873)) ([8adcbee](8adcbee112)) * Add `Parse.User` as function parameter to Parse Server options `verifyUserEmails`, `preventLoginWithUnverifiedEmail` on login ([#8850](https://github.com/parse-community/parse-server/issues/8850)) ([972f630](972f630016)) * Add password validation via POST request for user with unverified email using master key and option `ignoreEmailVerification` ([#8895](https://github.com/parse-community/parse-server/issues/8895)) ([633a9d2](633a9d25e4)) * Add support for MongoDB 7 ([#8761](https://github.com/parse-community/parse-server/issues/8761)) ([3de8494](3de8494a22)) * Add support for MongoDB query comment ([#8928](https://github.com/parse-community/parse-server/issues/8928)) ([2170962](2170962a50)) * Add support for Node 20, drop support for Node 14, 16 ([#8907](https://github.com/parse-community/parse-server/issues/8907)) ([ced4872](ced487246e)) * Add support for Postgres 16 ([#8898](https://github.com/parse-community/parse-server/issues/8898)) ([99489b2](99489b22e4)) * Allow `Parse.Session.current` on expired session token instead of throwing error ([#8722](https://github.com/parse-community/parse-server/issues/8722)) ([f9dde4a](f9dde4a9f8)) * Deprecation DEPPS5: Config option `allowClientClassCreation` defaults to `false` ([#8849](https://github.com/parse-community/parse-server/issues/8849)) ([29624e0](29624e0fae)) * Deprecation DEPPS6: Authentication adapters disabled by default ([#8858](https://github.com/parse-community/parse-server/issues/8858)) ([0cf58eb](0cf58eb8d6)) * Deprecation DEPPS7: Remove deprecated Cloud Code file trigger syntax ([#8855](https://github.com/parse-community/parse-server/issues/8855)) ([4e6a375](4e6a375b51)) * Deprecation DEPPS8: Parse Server option `allowExpiredAuthDataToken` defaults to `false` ([#8860](https://github.com/parse-community/parse-server/issues/8860)) ([e29845f](e29845f8da)) * Deprecation DEPPS9: LiveQuery `fields` option is renamed to `keys` ([#8852](https://github.com/parse-community/parse-server/issues/8852)) ([38983e8](38983e8e9b)) * Node process exits with error code 1 on uncaught exception to allow custom uncaught exception handling ([#8894](https://github.com/parse-community/parse-server/issues/8894)) ([70c280c](70c280ca57)) * Switch GraphQL server from Yoga v2 to Apollo v4 ([#8959](https://github.com/parse-community/parse-server/issues/8959)) ([105ae7c](105ae7c8a5)) * Upgrade Parse Server Push Adapter to 5.0.2 ([#8813](https://github.com/parse-community/parse-server/issues/8813)) ([6ef1986](6ef1986c03)) * Upgrade to Parse JS SDK 5 ([#9022](https://github.com/parse-community/parse-server/issues/9022)) ([ad4aa83](ad4aa83983)) ### Performance Improvements * Improved IP validation performance for `masterKeyIPs`, `maintenanceKeyIPs` ([#8510](https://github.com/parse-community/parse-server/issues/8510)) ([b87daba](b87daba067)) ### BREAKING CHANGES * The Parse Server option `allowClientClassCreation` defaults to `false`. ([29624e0](29624e0)) * A request using the master key will now be rejected as unauthorized if the IP from which the request originates is not set in the Parse Server option `masterKeyIps`, even if the request does not require the master key permission, for example for a public object in a public class class. ([a7b5b38](a7b5b38)) * Node process now exits with code 1 on uncaught exceptions, enabling custom handlers that were blocked by Parse Server's default behavior of re-throwing errors. This change may lead to automatic process restarts by the environment, unlike before. ([70c280c](70c280c)) * Authentication adapters are disabled by default; to use an authentication adapter it needs to be explicitly enabled in the Parse Server authentication adapter option `auth.<provider>.enabled: true` ([0cf58eb](0cf58eb)) * Parse Server option `allowExpiredAuthDataToken` defaults to `false`; a 3rd party authentication token will be validated every time the user tries to log in and the login will fail if the token has expired; the effect of this change may differ for different authentication adapters, depending on the token lifetime and the token refresh logic of the adapter ([e29845f](e29845f)) * LiveQuery `fields` option is renamed to `keys` ([38983e8](38983e8)) * Cloud Code file trigger syntax has been aligned with object trigger syntax, for example `Parse.Cloud.beforeDeleteFile'` has been changed to `Parse.Cloud.beforeDelete(Parse.File, (request) => {})'` ([4e6a375](4e6a375)) * Removes support for Node 14 and 16 ([ced4872](ced4872)) * Removes support for Postgres 11 and 12 ([99489b2](99489b2)) * The `Parse.User` passed as argument if `verifyUserEmails` is set to a function is renamed from `user` to `object` for consistency with invocations of `verifyUserEmails` on signup or login; the user object is not a plain JavaScript object anymore but an instance of `Parse.User` ([8adcbee](8adcbee)) * `Parse.Session.current()` no longer throws an error if the session token is expired, but instead returns the session token with its expiration date to allow checking its validity ([f9dde4a](f9dde4a)) * `Parse.Query` no longer supports the BSON type `code`; although this feature was never officially documented, its removal is announced as a breaking change to protect deployments where it might be in use. ([3de8494](3de8494))
170 lines
6.0 KiB
JSON
170 lines
6.0 KiB
JSON
{
|
|
"name": "parse-server",
|
|
"version": "7.0.0-beta.1",
|
|
"description": "An express module providing a Parse-compatible API server",
|
|
"main": "lib/index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/parse-community/parse-server"
|
|
},
|
|
"files": [
|
|
"bin/",
|
|
"lib/",
|
|
"public_html/",
|
|
"views/",
|
|
"LICENSE",
|
|
"NOTICE",
|
|
"postinstall.js",
|
|
"README.md"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@apollo/server": "4.10.1",
|
|
"@babel/eslint-parser": "7.21.8",
|
|
"@graphql-tools/merge": "8.4.1",
|
|
"@graphql-tools/schema": "10.0.3",
|
|
"@graphql-tools/utils": "8.12.0",
|
|
"@parse/fs-files-adapter": "2.0.1",
|
|
"@parse/push-adapter": "5.1.1",
|
|
"bcryptjs": "2.4.3",
|
|
"body-parser": "1.20.2",
|
|
"commander": "12.0.0",
|
|
"cors": "2.8.5",
|
|
"deepcopy": "2.1.0",
|
|
"express": "4.18.2",
|
|
"express-rate-limit": "6.11.2",
|
|
"follow-redirects": "1.15.6",
|
|
"graphql": "16.8.1",
|
|
"graphql-list-fields": "2.0.4",
|
|
"graphql-relay": "0.10.0",
|
|
"graphql-tag": "2.12.6",
|
|
"graphql-upload": "15.0.2",
|
|
"intersect": "1.0.1",
|
|
"jsonwebtoken": "9.0.0",
|
|
"jwks-rsa": "3.1.0",
|
|
"ldapjs": "3.0.7",
|
|
"lodash": "4.17.21",
|
|
"lru-cache": "10.1.0",
|
|
"mime": "3.0.0",
|
|
"mongodb": "5.9.0",
|
|
"mustache": "4.2.0",
|
|
"otpauth": "9.2.2",
|
|
"parse": "5.0.0",
|
|
"path-to-regexp": "6.2.1",
|
|
"pg-monitor": "2.0.0",
|
|
"pg-promise": "11.5.4",
|
|
"pluralize": "8.0.0",
|
|
"rate-limit-redis": "3.0.2",
|
|
"redis": "4.6.13",
|
|
"semver": "7.6.0",
|
|
"subscriptions-transport-ws": "0.11.0",
|
|
"tv4": "1.3.0",
|
|
"uuid": "9.0.1",
|
|
"winston": "3.12.0",
|
|
"winston-daily-rotate-file": "5.0.0",
|
|
"ws": "8.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "1.9.1",
|
|
"@apollo/client": "3.9.5",
|
|
"@babel/cli": "7.23.9",
|
|
"@babel/core": "7.24.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "7.10.0",
|
|
"@babel/plugin-transform-flow-strip-types": "7.23.3",
|
|
"@babel/preset-env": "7.24.0",
|
|
"@saithodev/semantic-release-backmerge": "2.1.2",
|
|
"@semantic-release/changelog": "5.0.1",
|
|
"@semantic-release/commit-analyzer": "8.0.1",
|
|
"@semantic-release/git": "9.0.0",
|
|
"@semantic-release/github": "7.2.3",
|
|
"@semantic-release/npm": "7.1.3",
|
|
"@semantic-release/release-notes-generator": "9.0.3",
|
|
"all-node-versions": "11.3.0",
|
|
"apollo-upload-client": "17.0.0",
|
|
"clean-jsdoc-theme": "4.2.7",
|
|
"cross-env": "7.0.2",
|
|
"deep-diff": "1.0.2",
|
|
"eslint": "8.26.0",
|
|
"eslint-plugin-flowtype": "8.0.3",
|
|
"flow-bin": "0.119.1",
|
|
"form-data": "4.0.0",
|
|
"graphql-tag": "2.12.6",
|
|
"husky": "9.0.11",
|
|
"jasmine": "3.5.0",
|
|
"jasmine-spec-reporter": "7.0.0",
|
|
"jsdoc": "4.0.2",
|
|
"jsdoc-babel": "0.5.0",
|
|
"lint-staged": "10.2.3",
|
|
"madge": "6.1.0",
|
|
"mock-files-adapter": "file:spec/dependencies/mock-files-adapter",
|
|
"mock-mail-adapter": "file:spec/dependencies/mock-mail-adapter",
|
|
"mongodb-runner": "5.4.4",
|
|
"mongodb-version-list": "1.0.0",
|
|
"node-abort-controller": "3.0.1",
|
|
"node-fetch": "3.2.10",
|
|
"nyc": "15.1.0",
|
|
"prettier": "2.0.5",
|
|
"semantic-release": "17.4.6",
|
|
"yaml": "1.10.0"
|
|
},
|
|
"scripts": {
|
|
"ci:check": "node ./ci/ciCheck.js",
|
|
"ci:checkNodeEngine": "node ./ci/nodeEngineCheck.js",
|
|
"ci:definitionsCheck": "node ./ci/definitionsCheck.js",
|
|
"definitions": "node ./resources/buildConfigDefinitions.js && prettier --write 'src/Options/*.js'",
|
|
"docs": "jsdoc -c ./jsdoc-conf.json",
|
|
"lint": "flow && eslint --cache ./",
|
|
"lint-fix": "eslint --fix --cache ./",
|
|
"build": "babel src/ -d lib/ --copy-files",
|
|
"watch": "babel --watch src/ -d lib/ --copy-files",
|
|
"test:mongodb:runnerstart": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=$npm_config_dbversion} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} mongodb-runner start -t ${MONGODB_TOPOLOGY} --version ${MONGODB_VERSION} -- --port 27017",
|
|
"test:mongodb:testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=$npm_config_dbversion} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} TESTING=1 jasmine",
|
|
"test:mongodb": "npm run test:mongodb:runnerstart --dbversion=$npm_config_dbversion && npm run test:mongodb:testonly --dbversion=$npm_config_dbversion",
|
|
"test:mongodb:4.2.19": "npm run test:mongodb --dbversion=4.2.19",
|
|
"test:mongodb:4.4.13": "npm run test:mongodb --dbversion=4.4.13",
|
|
"test:mongodb:5.3.2": "npm run test:mongodb --dbversion=5.3.2",
|
|
"test:mongodb:6.0.2": "npm run test:mongodb --dbversion=6.0.2",
|
|
"test:mongodb:7.0.1": "npm run test:mongodb --dbversion=7.0.1",
|
|
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=5.3.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} mongodb-runner start -t ${MONGODB_TOPOLOGY} --version ${MONGODB_VERSION} -- --port 27017",
|
|
"testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=5.3.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} TESTING=1 jasmine",
|
|
"test": "npm run testonly",
|
|
"posttest": "cross-env mongodb-runner stop --all",
|
|
"coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=5.3.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} TESTING=1 nyc jasmine",
|
|
"start": "node ./bin/parse-server",
|
|
"prettier": "prettier --write {src,spec}/{**/*,*}.js",
|
|
"prepare": "npm run build",
|
|
"postinstall": "node -p 'require(\"./postinstall.js\")()'",
|
|
"madge:circular": "node_modules/.bin/madge ./src --circular"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0 <21"
|
|
},
|
|
"bin": {
|
|
"parse-server": "bin/parse-server"
|
|
},
|
|
"optionalDependencies": {
|
|
"@node-rs/bcrypt": "1.1.0"
|
|
},
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/parse-server",
|
|
"logo": "https://opencollective.com/parse-server/logo.txt?reverse=true&variant=binary"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/parse-server"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"{src,spec}/{**/*,*}.js": [
|
|
"prettier --write",
|
|
"eslint --fix --cache",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|