- Fixes issue that would prevent users with large number of roles to resolve all of them Antoine Cormouls (#5131, #5132)
- Fixes distinct query on special fields (#5144)
- Return success on sendPasswordResetEmail even if email not found. (#7fe4030)
- Expire password reset tokens on email change (#5104)
- Live Query CLPs (#4387)
- Reduces number of calls to injectDefaultSchema (#5107)
- Remove runtime dependency on request (#5076)
- Fixes issue with vkontatke authentication (#4977)
- Use the correct function when validating google auth tokens (#5018)
- fix unexpected 'delete' trigger issue on LiveQuery (#5031)
- Improves performance for roles and ACL's in live query server (#5126)
parse-server
3.0.0 comes with brand new handlers for cloud code. It now fully supports promises and async / await.
For more informations, visit the v3.0.0 migration guide.
- Cloud Code handlers have a new interface based on promises.
- response.success / response.error are removed in Cloud Code
- Cloud Code runs with Parse-SDK 2.0
- The aggregate now require aggregates to be passed in the form:
{"pipeline": [...]}
- Adds Pipeline Operator to Aggregate Router.
- Adds documentations for parse-server's adapters, constructors and more.
- Adds ability to pass a context object between
beforeSave
andafterSave
affecting the same object.
- Fixes issue that would crash the server when mongo objects had undefined values #4966
- Fixes issue that prevented ACL's from being used with
select
(see #571)
- Adds ability to forward errors to express handler (#4697)
- Adds ability to increment the push badge with an arbitrary value (#4889)
- Adds ability to preserve the file names when uploading (#4915)
_User
now follow regular ACL policy. Letting administrator lock user out. (#4860) and (#4898)- Ensure dates are properly handled in aggregates (#4743)
- Aggregates: Improved support for stages sharing the same name
- Add includeAll option
- Added verify password to users router and tests. (#4747)
- Ensure read preference is never overriden, so DB config prevails (#4833)
- add support for geoWithin.centerSphere queries via withJSON (#4825)
- Allow sorting an object field (#4806)
- Postgres: Don't merge JSON fields after save() to keep same behaviour as MongoDB (#4808) (#4815)
- cross-env@5.2.0
- eslint@5.0.0
- flow-bin@0.76.0
- mongodb-runner@4.0.0
- nodemon@1.18.1
- nyc@12.0.2
- request-promise@4.2.2
- supports-color@5.4.0
- Adds support for JS SDK 2.0 job status header
- Removes npm-git scripts as npm supports using git repositories that build, thanks to Florent Vilmart
- Ensure legacy users without ACL's are not locked out, thanks to Florent Vilmart
- Use common HTTP agent to increase webhooks performance, thanks to Tyler Brock
- Adds withinPolygon support for Polygon objects, thanks to Mads Bjerre
Ensure all the files are properly exported to the final package.
- Adding Mongodb element to add
arrayMatches
the #4762 (#4766), thanks to Jérémy Piednoel - Adds ability to Lockout users (#4749), thanks to Florent Vilmart
- Fixes issue when using afterFind with relations (#4752), thanks to Florent Vilmart
- New query condition support to match all strings that starts with some other given strings (#3864), thanks to Eduard Bosch Bertran
- Allow creation of indices on default fields (#4738), thanks to Claire Neveu
- Purging empty class (#4676), thanks to Diamond Lewis
- Postgres: Fixes issues comparing to zero or false (#4667), thanks to Diamond Lewis
- Fix Aggregate Match Pointer (#4643), thanks to Diamond Lewis
- Allow Parse.Error when returning from Cloud Code (#4695), thanks to Saulo Tauil
- Fix typo: "requrest" -> "request" (#4761), thanks to Joseph Frazier
- Send version for Vkontakte API (#4725), thanks to oleg
- Ensure we respond with invalid password even if email is unverified (#4708), thanks to dblythy
- Add _password_history to default sensitive data (#4699), thanks to Jong Eun Lee
- Check for node version in postinstall script (#4657), thanks to Diamond Lewis
- Remove FB Graph API version from URL to use the oldest non deprecated version, thanks to SebC
- @parse/push-adapter@2.0.3
- @parse/simple-mailgun-adapter@1.0.2
- uws@10.148.0
- body-parser@1.18.3
- mime@2.3.1
- request@2.85.0
- mongodb@3.0.7
- bcrypt@2.0.1
- ws@5.1.1
- Fixes an issue affecting polygon queries, thanks to Diamond Lewis
- Improve documentation for LiveQuery options, thanks to Arthur Cinader
- Improve documentation for using cloud code with docker, thanks to Stephen Tuso
- Adds support for Facebook's AccountKit, thanks to 6thfdwp
- Disable afterFind routines when running aggregates, thanks to Diamond Lewis
- Improve support for distinct aggregations of nulls, thanks to Diamond Lewis
- Regenreate the email verification token when requesting a new email, thanks to Benjamin Wilson Friedman
- Fix issue affecting readOnly masterKey and purge command, thanks to AreyouHappy
- Fixes Issue unsetting in beforeSave doesn't allow object creation, thanks to Diamond Lewis
- Fixes issue crashing server on invalid live query payload, thanks to fridays
- Fixes issue affecting postgres storage adapter "undefined property '__op'", thanks to Tyson Andre
- winston@2.4.1
- pg-promise@8.2.0
- commander@2.15.0
- lru-cache@4.1.2
- parse@1.11.1
- ws@5.0.0
- mongodb@3.0.4
- lodash@4.17.5
- Improved match aggregate
- Do not mark the empty push as failed
- Support pointer in aggregate query
- Introduces flow types for storage
- Postgres: Refactoring of Postgres Storage Adapter
- Postgres: Support for multiple projection in aggregate
- Postgres: performance optimizations
- Adds infos about vulnerability disclosures
- Adds ability to login with email when provided as username
- Scrub Passwords with URL Encoded Characters
- Fixes issue affecting using sorting in beforeFind
- Adds support for dot notation when using matchesKeyInQuery, thanks to Henrik and Arthur Cinader
Starting parse-server 2.7.0, the minimun nodejs version is 6.11.4, please update your engines before updating parse-server
- Aggregation endpoints, thanks to Diamond Lewis
- Adds indexation options onto Schema endpoints, thanks to Diamond Lewis
- Fixes sessionTokens being overridden in 'find' (#4332), thanks to Benjamin Wilson Friedman
- Proper
handleShutdown()
feature to close database connections (#4361), thanks to CHANG, TZU-YEN - Fixes issue affecting state of _PushStatus objects, thanks to Benjamin Wilson Friedman
- Fixes issue affecting calling password reset password pages with wrong appid, thanks to Bryan de Leon
- Fixes issue affecting duplicates _Sessions on successive logins, thanks to Florent Vilmart
- Updates contributing guides, and improves windows support, thanks to Addison Elliott
- Uses new official scoped packaged, thanks to Florent Vilmart
- Improves health checks responses, thanks to Benjamin Wilson Friedman
- Add password confirmation to choose_password, thanks to Worathiti Manosroi
- Improve performance of relation queries, thanks to Florent Vilmart
- Adds support for read-only masterKey, thanks to Florent Vilmart
- Adds support for relative time queries (mongodb only), thanks to Marvel Mathew
- Handle possible afterSave exception, thanks to Benjamin Wilson Friedman
- Add support for expiration interval in Push, thanks to Marvel Mathew
- The REST API key was improperly inferred from environment when using the CLI, thanks to Florent Vilmart
- Improves management of configurations and default values, thanks to Florent Vilmart
- Adds ability to start ParseServer with
ParseServer.start(options)
, thanks to Florent Vilmart - Adds request original IP to cloud code hooks, thanks to Gustav Ahlberg
- Corrects some outdated links, thanks to Benjamin Wilson Friedman
- Adds serverURL validation on startup, thanks to Benjamin Wilson Friedman
- Adds ability to login with POST requests alongside GET, thanks to Benjamin Wilson Friedman
- Adds ability to login with email, instead of username, thanks to Florent Vilmart
- Fixes issue affecting beforeSaves and increments, thanks to Benjamin Wilson Friedman
- parse-server-push-adapter@2.0.2
- semver@5.4.1
- pg-promise@7.0.3
- mongodb@2.2.33
- parse@1.10.1
- express@4.16.0
- mime@1.4.1
- parse-server-simple-mailgun-adapter@1.0.1
- babel-preset-env@1.6.1
- cross-env@5.1.0
- mongodb-runner@3.6.1
- eslint-plugin-flowtype@2.39.1
- eslint@4.9.0
- Queries on Pointer fields with
$in
and$nin
now supports list of objectId's, thanks to Florent Vilmart - LiveQueries on
$in
and$nin
for pointer fields work as expected thanks to Florent Vilmart - Also remove device token when APNS error is BadDeviceToken, thanks to Mauricio Tollin
- LRU cache is not available on the ParseServer object, thanks to Tyler Brock
- Error messages are more expressive, thanks to Tyler Brock
- Postgres: Properly handle undefined field values, thanks to Diamond Lewis
- Updating with two GeoPoints fails correctly, thanks to Anthony Mosca
- Adds ability to set a maxLimit on server configuration for queries, thanks to Chris Norris
- Fixes issue affecting reporting
_PushStatus
with misconfigured serverURL, thanks to Florent Vilmart - Fixes issue affecting deletion of class that doesn't exist, thanks to Diamond Lewis
- PushWorker/PushQueue channels are properly prefixed with the Parse applicationId, thanks to Marvel Mathew
- You can use Parse.Cloud.afterSave hooks on _PushStatus
- You can use Parse.Cloud.onLiveQueryEvent to track the number of clients and subscriptions
- Adds support for more fields from the Audience class.
- Push: Adds ability to track sentPerUTC offset if your push scheduler supports it.
- Push: Adds support for cleaning up invalid deviceTokens from _Installation (PARSE_SERVER_CLEANUP_INVALID_INSTALLATIONS=1).
- Improves overall performance of the server, more particularly with large query results.
- Improves performance of InMemoryCacheAdapter by removing serialization.
- Improves logging performance by skipping necessary log calls.
- Refactors object routers to simplify logic.
- Adds automatic indexing on $text indexes, thanks to Diamon Lewis
- Push: Adds ability to send localized pushes according to the _Installation localeIdentifier
- Push: proper support for scheduling push in user's locale time, thanks to Marvel Mathew
- LiveQuery: Adds ability to use LiveQuery with a masterKey, thanks to Jeremy May
- Fixes an issue that would duplicate Session objects per userId-installationId pair.
- Fixes an issue affecting pointer permissions introduced in this release.
- Fixes an issue that would prevent displaying audiences correctly in dashboard.
- Fixes an issue affecting preventLoginWithUnverifiedEmail upon signups.
- parse-server-s3-adapter@1.2.0: A new deprecation notice is introduced with parse-server-s3-adapter's version 1.2.0. An upcoming release will remove passing key and password arguments. AWS credentials should be set using AWS best practices. See the Deprecation Notice for AWS credentials section of the adapter's README.
- Polygon is fully supported as a type, thanks to Diamond Lewis
- Query supports PolygonContains, thanks to Diamond Lewis
- Postgres: Adds support nested contains and containedIn, thanks to Diamond Lewis
- Postgres: Adds support for
null
in containsAll queries, thanks to Diamond Lewis - Cloud Code: Request headers are passed to the cloud functions, thanks to miguel-s
- Push: All push queries now filter only where deviceToken exists
- Fixes issue affecting updates of _User objects when authData was passed.
- Push: Pushing to an empty audience should now properly report a failed _PushStatus
- Linking Users: Fixes issue affecting linking users with sessionToken only
- ws@3.1.0
- mime@1.4.0
- semver@5.4.0
- uws@8.14.1
- bcrypt@1.0.3
- mongodb@2.2.31
- redis@2.8.0
- pg-promise@6.3.1
- commander@2.11.0
- badge property on android installations will now be set as on iOS (#3970), thanks to Florent Vilmart
- Fixes incorrect number parser for cache options
- Restores ability to run on node >= 4.6
- Adds ability to configure cache from CLI
- Removes runtime check for node >= 4.6
- Adds ability to set default objectId size (#3950), thanks to Steven Shipton
- Uses LRU cache instead of InMemoryCache by default (#3979), thanks to Florent Vilmart
- iOS pushes are now using HTTP/2.0 instead of binary API (#3983), thanks to Florent Vilmart
- Adds ability to run full text search (#3904), thanks to Diamond Lewis
- Adds ability to run
$withinPolygon
queries (#3889), thanks to Diamond Lewis - Adds ability to pass read preference per query with mongodb (#3865), thanks to davimacedo
- beforeFind trigger now includes
isGet
for get queries (#3862), thanks to davimacedo - Adds endpoints for dashboard's audience API (#3861), thanks to davimacedo
- Restores the job scheduling endpoints (#3927), thanks to Florent Vilmart
- Removes unnecessary warning when using maxTimeMs with mongodb, thanks to Tyler Brock
- Improves access control on system classes (#3916), thanks to Worathiti Manosroi
- Adds bytes support in postgres (#3894), thanks to Diamond Lewis
- Fixes issue with vkontakte adapter that would hang the request, thanks to Denis Trofimov
- Fixes issue affecting null relational data (#3924), thanks to davimacedo
- Fixes issue affecting session token deletion (#3937), thanks to Florent Vilmart
- Fixes issue affecting the serverInfo endpoint (#3933), thanks to Florent Vilmart
- Fixes issue affecting beforeSave with dot-noted sub-documents (#3912), thanks to IlyaDiallo
- Fixes issue affecting emails being sent when using a 3rd party auth (#3882), thanks to davimacedo
- ParseQuery: Support for withinPolygon #3866, thanks to Diamond Lewis
- Postgres: Use transactions when deleting a class, #3869, thanks to Vitaly Tomilov
- Postgres: Proper support for GeoPoint equality query, #3874, thanks to Diamond Lewis
- beforeSave and liveQuery will be correctly triggered on email verification #3851, thanks to Florent Vilmart
- Skip authData validation if it hasn't changed, on PUT requests #3872, thanks to Florent Vilmart
- Fixes issue affecting relation updates (#3835, #3836), thanks to Florent Vilmart
- Fixes issue affecting sending push notifications, thanks to Felipe Andrade
- Session are always cleared when updating the passwords (#3289, #3821, thanks to Florent Vilmart
Starting 2.4.0, parse-server is tested against node 6.10 and 7.10, mongodb 3.2 and 3.4. If you experience issues with older versions, please open a issue.
- Adds
count
Class Level Permission (#3814), thanks to Florent Vilmart - Proper graceful shutdown support (#3786), thanks to Florent Vilmart
- Let parse-server store as
scheduled
Push Notifications with push_time (#3717, #3722), thanks to Felipe Andrade
- Parse-Server images are built through docker hub, thanks to Florent Vilmart
- Skip authData validation if it hasn't changed, thanks to Florent Vilmart
- [postgres] Improve performance when adding many new fields to the Schema (#3740), thanks to Paulo Vítor S Reis
- Test maintenance, wordsmithing and nits (#3744), thanks to Arthur Cinader
- [postgres] Fixes issue affecting deleting multiple fields of a Schema (#3734, #3735), thanks to Paulo Vítor S Reis
- Fix issue affecting _PushStatus state (#3808), thanks to Florent Vilmart
- requiresAuthentication Class Level Permission behaves correctly, thanks to Florent Vilmart
- Email Verification related fields are not exposed (#3681, #3393, #3432), thanks to Anthony Mosca
- HTTP query parameters are properly obfuscated in logs (#3793, #3789), thanks to @youngerong
- Improve handling of
$near
operators in$or
queries (#3767, #3798), thanks to Jack Wearden - Fix issue affecting arrays of pointers (#3169), thanks to Florent Vilmart
- Fix issue affecting overloaded query constraints (#3723, #3678), thanks to Florent Vilmart
- Properly catch unhandled rejections in _Installation updates (#3795), thanks to kahoona77
- babel-cli@6.24.1
- babel-core@6.24.1
- babel-preset-es2015@6.24.1
- babel-preset-stage-0@6.24.1
- babel-register@6.24.1
- cross-env@5.0.0
- deep-diff@0.3.8
- gaze@1.1.2
- jasmine@2.6.0
- jasmine-spec-reporter@4.1.0
- mongodb-runner@3.5.0
- nyc@10.3.2
- request-promise@4.2.1
- Support for PG-Promise options, thanks to ren dong
- Improves support for graceful shutdown, thanks to Florent Vilmart
- Improves configuration validation for Twitter Authentication, thanks to Benjamin Wilson Friedman
- Fixes issue affecting GeoPoint __type with Postgres, thanks to zhoul-HS
- Prevent user creation if username or password is empty, thanks to Wissam Abirached
- cross-env@4.0.0
- ws@2.2.3
- babel-core@6.24.0
- uws@0.14.0
- babel-preset-es2015@6.24.0
- babel-plugin-syntax-flow@6.18.0
- babel-cli@6.24.0
- babel-register@6.24.0
- winston-daily-rotate-file@1.4.6
- mongodb@2.2.25
- redis@2.7.0
- pg-promise@5.6.4
- parse-server-push-adapter@1.3.0
- New endpoint to resend verification email, thanks to Xy Ziemba
- Add TTL option for Redis Cache Adapter, thanks to Ryan Foster
- Update Postgres Storage Adapter, thanks to Vitaly Tomilov
- Add index on Role.name, fixes (#3579), thanks to Natan Rolnik
- Fix default value of userSensitiveFields, fixes (#3593), thanks to Arthur Cinader
- Adds support for injecting a middleware for instumentation in the CLI, thanks to Florent Vilmart
- Alleviate mongodb bug with $or queries SERVER-13732, thanks to Jack Wearden
- Fix issue affecting password policy and empty passwords, thanks to Bhaskar Reddy Yasa
- Fix issue when logging url in non string objects, thanks to Paulo Vítor S Reis
- Allow empty client key (#3497), thanks to Arthur Cinader
- Fix LiveQuery unsafe user (#3525), thanks to David Starke
- Use
flushdb
instead offlushall
in RedisCacheAdapter (#3523), thanks to Jeremy Louie - Fix saving GeoPoints and Files in
_GlobalConfig
(Make sure we don't treat dot notation keys as topLevel atoms) (#3531), thanks to Florent Vilmart
- Minimum Node engine bumped to 4.6 (#3480), thanks to Florent Vilmart
- Add logging on failure to create file (#3424), thanks to Arthur Cinader
- Log Parse Errors so they are intelligible (#3431), thanks to Arthur Cinader
- MongoDB $or Queries avoid SERVER-13732 bug (#3476), thanks to Jack Wearden
- Mongo object to Parse object date serialization - avoid re-serialization of iso of type Date (#3389), thanks to nodechefMatt
- Ground preparations for push scalability (#3080), thanks to Florent Vilmart
- Use uWS as optional dependency for ws server (#3231), thanks to Florent Vilmart
- Add parseFrameURL for masking user-facing pages (#3267), thanks to Lenart Rudel
- Fix Parse-Server to work with winston-daily-rotate-1.4.2 (#3335), thanks to Arthur Cinader
- Add support for regex string for password policy validatorPattern setting (#3331), thanks to Bhaskar Reddy Yasa
- LiveQuery should match subobjects with dot notation (#3322), thanks to David Starke
- Reduce time to process high number of installations for push (#3264), thanks to jeacott1
- Fix trivial typo in error message (#3238), thanks to Arthur Cinader
A major issue was introduced when refactoring the authentication modules. This release addresses only that issue.
- Parse.Cloud.useMasterKey() is a no-op, please refer to (Cloud Code migration guide)[https://github.com/ParsePlatform/parse-server/wiki/Compatibility-with-Hosted-Parse#cloud-code]
- Authentication helpers are now proper adapters, deprecates oauth option in favor of auth.
- DEPRECATES: facebookAppIds, use
auth: { facebook: { appIds: ["AAAAAAAAA" ] } }
email
field is not returned anymore forParse.User
queries. (Provided only on the user itself if provided).
- Adds ability to restrict access through Class Level Permissions to only authenticated users see docs
- Adds ability to strip sensitive data from
_User
responses, strips emails by default, thanks to Arthur Cinader - Adds password history support for password policies, thanks to Bhaskar Reddy Yasa
- Bump parse-server-s3-adapter to 1.0.6, thanks to Arthur Cinader
- Using PARSE_SERVER_ENABLE_EXPERIMENTAL_DIRECT_ACCESS let you create user sessions when passing {installationId: "xxx-xxx"} on signup in cloud code, thanks to Florent Vilmart
- Add CLI option to pass
host
parameter when creating parse-server from CLI, thanks to Kulshekhar Kabra
- Ensure batch routes are only using posix paths, thanks to Steven Shipton
- Ensure falsy options from CLI are properly taken into account, thanks to Steven Shipton
- Fixes issues affecting calls to
matchesKeyInQuery
with pointers. - Ensure that
select
keys can be changed in triggers (beforeFind...), thanks to Arthur Cinader
- Enables and enforces linting with eslint, thanks to Arthur Cinader
Postgres support requires v9.5
- Dockerizing Parse Server, thanks to Kirill Kravinsky
- Login with qq, wechat, weibo, thanks to haifeizhang
- Password policy, validation and expiration, thanks to Bhaskar Reddy Yasa
- Health check on /health, thanks to Kirill Kravinsky
- Reuse SchemaCache across requests option, thanks to Steven Shipton
- Better support for CLI options, thanks to Steven Shipton
- Specity a database timeout with maxTimeMS, thanks to Tyler Brock
- Adds the username to reset password success pages, thanks to Halim Qarroum
- Better support for Redis cache adapter, thanks to Tyler Brock
- Better coverage of Postgres, thanks to Kulshekhar Kabra
- Fixes issue when sending push to multiple installations, thanks to Florent Vilmart
- Fixes issues with twitter authentication, thanks to jonas-db
- Ignore createdAt fields update, thanks to Yuki Takeichi
- Improve support for array equality with LiveQuery, thanks to David Poetzsch-Heffter
- Improve support for batch endpoint when serverURL and publicServerURL have different paths, thanks to Florent Vilmart
- Support saving relation objects, thanks to Yuki Takeichi
- LiveQuery: Bring your own adapter (#2902), thanks to Florent Vilmart
- LiveQuery: Adds "update" operator to update a query subscription (#2935), thanks to Florent Vilmart
- Better Postgres support, thanks to Kulshekhar Kabra
- Logs the function name when failing (#2963), thanks to Michael Helvey
- CLI: forces closing the connections with SIGINT/SIGTERM (#2964), thanks to Kulshekhar Kabra
- Reduce the number of calls to the
_SCHEMA
table (#2912), thanks to Steven Shipton - LiveQuery: Support for Role ACL's, thanks to Aaron Blondeau
- Better support for checking application and client keys, thanks to Steven Shipton
- Google OAuth, better support for android and web logins, thanks to Florent Vilmart
- Run liveQuery server from CLI with a different port, thanks to Florent Vilmart
- Support for Postgres databaseURI, thanks to Kulshekhar Kabra
- Support for Postgres options, thanks to Kulshekhar Kabra
- Improved support for google login (id_token and access_token), thanks to Florent Vilmart
- Improvements with VKontakte login, thanks to Eugene Antropov
- Improved support for
select
andinclude
, thanks to Florent Vilmart
- Fix error when updating installation with useMasterKey (#2888), thanks to Jeremy Louie
- Fix bug affecting usage of multiple
notEqualTo
, thanks to Jeremy Louie - Improved support for null values in arrays, thanks to Florent Vilmart
- Minimum nodejs engine is now 4.5
- New: CLI for parse-live-query-server, thanks to Florent Vilmart
- New: Start parse-live-query-server for parse-server CLI, thanks to Florent Vilmart
- Fix: Include with pointers are not conflicting with get CLP anymore, thanks to Florent Vilmart
- Fix: Removes dependency on babel-polyfill, thanks to Florent Vilmart
- Fix: Support nested select calls, thanks to Florent Vilmart
- Fix: Use native column selection instead of runtime, thanks to Florent Vilmart
- Fix: installationId header is properly used when updating
_Installation
objects, thanks to Florent Vilmart - Fix: don't crash parse-server on improperly formatted live-query messages, thanks to Florent Vilmart
- Fix: Passwords are properly stripped out of logs, thanks to Arthur Cinader
- Fix: Lookup for email in username if email is not set, thanks to Florent Vilmart
- Fix: Reverts removal of babel-polyfill
- New: Adds CloudCode handler for
beforeFind
, thanks to Florent Vilmart - New: RedisCacheAdapter for syncing schema, role and user caches across servers, thanks to Florent Vilmart
- New: Latest master build available at
ParsePlatform/parse-server#latest
, thanks to Florent Vilmart - Fix: Better support for upgradeToRevocableSession with missing session token, thanks to Florent Vilmart
- Fix: Removes babel-polyfill runtime dependency, thanks to Florent Vilmart
- Fix: Cluster option now support a boolean value for automatically choosing the right number of processes, thanks to Florent Vilmart
- Fix: Filenames now appear correctly, thanks to Lama Chandrasena
- Fix:
_acl
is properly updated, thanks to Steven Shipton
Other fixes by Mathias Rangel Wulff
- New: support for upgrading to revocable sessions, thanks to Florent Vilmart
- New: NullCacheAdapter for disabling caching, thanks to Yuki Takeichi
- New: Account lockout policy #2601, thanks to Diwakar Cherukumilli
- New: Jobs endpoint for defining and run jobs (no scheduling), thanks to Florent Vilmart
- New: Add --cluster option to the CLI, thanks to Florent Vilmart
- New: Support for login with vk.com, thanks to Nurdaulet Bolatov
- New: experimental support for postgres databases, thanks to Florent Vilmart
- Fix: parse-server doesn't call next() after successful responses, thanks to Florent Vilmart
- Fix: Nested objects are properly includeed with Pointer Permissions on, thanks to Florent Vilmart
- Fix: null values in include calls are properly handled, thanks to Florent Vilmart
- Fix: Schema validations now runs after beforeSave hooks, thanks to Florent Vilmart
- Fix: usersname and passwords are properly type checked, thanks to Bam Wang
- Fix: logging in info log would log also in error log, thanks to Florent Vilmart
- Fix: removes extaneous logging from ParseLiveQueryServer, thanks to Flavio Torres
- Fix: support for Range requests for files, thanks to Brage G. Staven
- Fix: Improve support for objects in push alert, thanks to Antoine Lenoir
- Fix; Prevent pointed from getting clobbered when they are changed in a beforeSave, thanks to sud
- Fix: Improve support for "Bytes" type, thanks to CongHoang
- Fix: Better logging compatability with Parse.com, thanks to Arthur Cinader
- New: Add Janrain Capture and Janrain Engage auth provider, thanks to Andrew Lane
- Improved: Include content length header in files response, thanks to Steven Van Bael
- Improved: Support byte range header for files, thanks to Brage G. Staven
- Improved: Validations for LinkedIn access_tokens, thanks to Felix Dumit
- Improved: Experimental postgres support, thanks to Florent Vilmart
- Perf: Use native bcrypt implementation if available, thanks to Florent Vilmart
2.2.17 (07/23/2016)
- Cloud code logs #2370 (flovilmart)
- Make sure _PushStatus operations are run in order #2367 (flovilmart)
- Typo fix for error message when can't ensure uniqueness of user email addresses #2360 (AndrewLane)
- LiveQuery constrains matching fix #2357 (simonas-notcat)
- Fix typo in logging for commander parseConfigFile #2352 (AndrewLane)
- Fix minor typos in test names #2351 (acinader)
- Makes sure we don't strip authData or session token from users using masterKey #2348 (flovilmart)
- Run coverage with istanbul #2340 (flovilmart)
- Run next() after successfully sending data to the client #2338 (blacha)
- Cache all the mongodb/version folder #2336 (flovilmart)
- updates usage of setting: emailVerifyTokenValidityDuration #2331 (cherukumilli)
- Update Mongodb client to 2.2.4 #2329 (flovilmart)
- Allow usage of analytics adapter #2327 (deashay)
- Fix flaky tests #2324 (flovilmart)
- don't serve null authData values #2320 (yuzeh)
- Fix null relation problem #2319 (flovilmart)
- Clear the connectionPromise upon close or error #2314 (flovilmart)
- Report validation errors with correct error code #2299 (flovilmart)
- Parses correctly Parse.Files and Dates when sent to Cloud Code Functions #2297 (flovilmart)
- Adding proper generic Not Implemented. #2292 (vitaly-t)
- Adds schema caching capabilities (5s by default) #2286 (flovilmart)
- add digits oauth provider #2284 (ranhsd)
- Improve installations query #2281 (flovilmart)
- Adding request headers to cloud functions fixes #1461 #2274 (blacha)
- Creates a new sessionToken when updating password #2266 (flovilmart)
- Add Gitter chat link to the README. #2264 (nlutsenko)
- Restores ability to include non pointer keys #2263 (flovilmart)
- Allow next middleware handle error in handleParseErrors #2260 (mejcz)
- Exposes the ClientSDK infos if available #2259 (flovilmart)
- Adds support for multiple twitter auths options #2256 (flovilmart)
- validate_purchase fix for SANDBOX requests #2253 (valeryvaskabovich)
- New: Expose InMemoryCacheAdapter publicly, thanks to Steven Shipton
- New: Add ability to prevent login with unverified email, thanks to Diwakar Cherukumilli
- Improved: Better error message for incorrect type, thanks to Andrew Lane
- Improved: Better error message for permission denied, thanks to Blayne Chard
- Improved: Update authData on login, thanks to Florent Vilmart
- Improved: Ability to not check for old files on Parse.com, thanks to OzgeAkin
- Fix: Issues with email adapter validation, thanks to Tyler Brock
- Fix: Issues with nested $or queries, thanks to Florent Vilmart
- Fix: Type in description for Parse.Error.INVALID_QUERY, thanks to Andrew Lane
- Improvement: Stop requiring verifyUserEmails for password reset functionality, thanks to Tyler Brock
- Improvement: Kill without validation, thanks to Drew Gross
- Fix: Deleting a file does not delete from fs.files, thanks to David Keita
- Fix: Postgres stoage adapter fix, thanks to Vitaly Tomilov
- Fix: Results invalid session when providing an invalid session token, thanks to Florent Vilmart
- Fix: issue creating an anonymous user, thanks to Hussam Moqhim
- Fix: make http response serializable, thanks to Florent Vilmart
- New: Add postmark email adapter alternative Glenn Reyes
- Hotfix: Fix Parse.Cloud.HTTPResponse serialization
- Hotfix: Pin version of deepcopy
- New: Custom error codes in cloud code response.error, thanks to Jeremy Pease
- Fix: Crash in beforeSave when response is not an object, thanks to Tyler Brock
- Fix: Allow "get" on installations
- Fix: Fix overly restrictive Class Level Permissions, thanks to Florent Vilmart
- Fix: Fix nested date parsing in Cloud Code, thanks to Marco Cheung
- Fix: Support very old file formats from Parse.com
- Security: Censor user password in logs, thanks to Marco Cheung
- New: Add PARSE_SERVER_LOGS_FOLDER env var for setting log folder, thanks to KartikeyaRokde
- New: Webhook key support, thanks to Tyler Brock
- Perf: Add cache adapter and default caching of certain objects, thanks to Blayne Chard
- Improvement: Better error messages for schema type mismatches, thanks to Jeremy Pease
- Improvement: Better error messages for reset password emails
- Improvement: Webhook key support in CLI, thanks to Tyler Brock
- Fix: Remove read only fields when using beforeSave, thanks to Tyler Brock
- Fix: Use content type provided by JS SDK, thanks to Blayne Chard and Florent Vilmart
- Fix: Tell the dashboard the stored push data is available, thanks to Jeremy Pease
- Fix: Add support for HTTP Basic Auth, thanks to Hussam Moqhim
- Fix: Support for MongoDB version 3.2.6, (note: do not use MongoDB 3.2 with migrated apps that still have traffic on Parse.com), thanks to Tyler Brock
- Fix: Prevent
pm2
from crashing when push notifications fail, thanks to benishak - Fix: Add full list of default _Installation fields, thanks to Jeremy Pease
- Fix: Strip objectId out of hooks responses, thanks to Tyler Brock
- Fix: Fix external webhook response format, thanks to Tyler Brock
- Fix: Fix beforeSave when object is passed to
success
, thanks to Madhav Bhagat - Fix: Remove use of deprecated APIs, thanks to Emad Ehsan
- Fix: Crash when multiple Parse Servers on the same machine try to write to the same logs folder, thanks to Steven Shipton
- Fix: Various issues with key names in
Parse.Object
s - Fix: Treat Bytes type properly
- Fix: Caching bugs that caused writes by masterKey or other session token to not show up to users reading with a different session token
- Fix: Pin mongo driver version, preventing a regression in version 2.1.19
- Fix: Various issues with pointer fields not being treated properly
- Fix: Issues with pointed getting un-fetched due to changes in beforeSave
- Fix: Fixed crash when deleting classes that have CLPs
- Fix: Write legacy ACLs to Mongo so that clients that still go through Parse.com can read them, thanks to Tyler Brock and carmenlau
- Fix: Querying installations with limit = 0 and count = 1 now works, thanks to ssk7833
- Fix: Return correct error when violating unique index, thanks to Marco Cheung
- Fix: Allow unsetting user's email, thanks to Marco Cheung
- New: Support for Node 6.1
- Fix: Fix a regression that caused Parse Server to crash when a null parameter is passed to a Cloud function
- New: Support for Pointer Permissions
- New: Expose logger in Cloud Code
- New: Option to revoke sessions on password reset
- New: Option to expire inactive sessions
- Perf: Improvements in ACL checking query
- Fix: Issues when sending pushes to list of devices that contains invalid values
- Fix: Issues caused by using babel-polyfill outside of Parse Server, but in the same express app
- Fix: Remove creation of extra session tokens
- Fix: Return authData when querying with master key
- Fix: Bugs when deleting webhooks
- Fix: Ignore _RevocableSession header, which might be sent by the JS SDK
- Fix: Issues with querying via URL params
- Fix: Properly encode "Date" parameters to cloud code functions
- Adds support for --verbose and verbose option when running ParseServer #1414 (flovilmart)
- Adds limit = 0 as a valid parameter for queries #1493 (seijiakiyama)
- Makes sure we preserve Installations when updating a token (#1475) #1486 (flovilmart)
- Hotfix for tests #1503 (flovilmart)
- Enable logs #1502 (drew-gross)
- Do some triple equals for great justice #1499 (TylerBrock)
- Apply credential stripping to all untransforms for _User #1498 (TylerBrock)
- Checking if object has defined key for Pointer constraints in liveQuery #1487 (simonas-notcat)
- Remove collection prefix and default mongo URI #1479 (drew-gross)
- Store collection prefix in mongo adapter, and clean up adapter interface #1472 (drew-gross)
- Move field deletion logic into mongo adapter #1471 (drew-gross)
- Adds support for Long and Double mongodb types (fixes #1316) #1470 (flovilmart)
- Schema.js database agnostic #1468 (flovilmart)
- Remove console.log #1465 (drew-gross)
- Push status nits #1462 (flovilmart)
- Fixes #1444 #1451 (flovilmart)
- Removing sessionToken and authData from _User objects included in a query #1450 (simonas-notcat)
- Move mongo field type logic into mongoadapter #1432 (drew-gross)
- Prevents _User lock out when setting ACL on signup or afterwards #1429 (flovilmart)
- Update .travis.yml #1428 (flovilmart)
- Adds relation fields to objects #1424 (flovilmart)
- Update .travis.yml #1423 (flovilmart)
- Sets the defaultSchemas keys in the SchemaCollection #1421 (flovilmart)
- Fixes #1417 #1420 (drew-gross)
- Untransform should treat Array's as nested objects #1416 (blacha)
- Adds X-Parse-Push-Status-Id header #1412 (flovilmart)
- Schema format cleanup #1407 (drew-gross)
- Updates the publicServerURL option #1397 (flovilmart)
- Fix exception with non-expiring session tokens. #1386 (0x18B2EE)
- Move mongo schema format related logic into mongo adapter #1385 (drew-gross)
- WIP: Huge performance improvement on roles queries #1383 (flovilmart)
- Removes GCS Adapter from provided adapters #1339 (flovilmart)
- DBController refactoring #1228 (flovilmart)
- Spotify authentication #1226 (1nput0utput)
- Expose DatabaseAdapter to simplify application tests #1121 (steven-supersolid)
- Important Fix: Disables find on installation from clients #1374 (flovilmart)
- Adds missing options to the CLI #1368 (flovilmart)
- Removes only master on travis #1367 (flovilmart)
- Auth._loadRoles should not query the same role twice. #1366 (blacha)
- Improves config loading and tests #1363 (flovilmart)
- Adds travis configuration to deploy NPM on new version tags #1361 (gfosco)
- Inject the default schemas properties when loading it #1357 (flovilmart)
- Adds console transport when testing with VERBOSE=1 #1351 (flovilmart)
- Make notEqual work on relations #1350 (flovilmart)
- Accept only bool for $exists in LiveQuery #1315 (drew-gross)
- Adds more options when using CLI/config #1305 (flovilmart)
- Update error message #1297 (drew-gross)
- Properly let masterKey add fields #1291 (flovilmart)
- Point to #1271 as how to write a good issue report #1290 (drew-gross)
- Adds ability to override mount with publicServerURL for production uses #1287 (flovilmart)
- Single object queries to use include and keys #1280 (jeremyjackson89)
- Improves report for Push error in logs and _PushStatus #1269 (flovilmart)
- Removes all stdout/err logs while testing #1268 (flovilmart)
- Matching queries with doesNotExist constraint #1250 (andrecardoso)
- Added session length option for session tokens to server configuration #997 (Kenishi)
- Regression test for #1259 #1286 (drew-gross)
- Regression test for #871 #1283 (drew-gross)
- Add a test to repro #701 #1281 (drew-gross)
- Fix for #1334: using relative cloud code files broken #1353 (airdrummingfool)
- Fix Issue/1288 #1346 (flovilmart)
- Fixes #1271 #1295 (drew-gross)
- Fixes issue #1302 #1314 (flovilmart)
- Fixes bug related to include in queries #1312 (flovilmart)
- Hotfix: fixed imports issue for S3Adapter, GCSAdapter, FileSystemAdapter #1263 (drew-gross
- Fix: Clean null authData values on _User update #1199 (yuzeh)
- Fixed bug with invalid email verification link on email update. #1253 (kzielonka)
- Badge update supports increment as well as Increment #1248 (flovilmart)
- Config/Push Tested with the dashboard. #1235 (drew-gross)
- Better logging with winston #1234 (flovilmart)
- Make GlobalConfig work like parse.com #1210 (framp)
- Improve flattening of results from pushAdapter #1204 (flovilmart)
- Push adapters are provided by external packages #1195 (flovilmart)
- Fix flaky test #1188 (drew-gross)
- Fixes problem affecting finding array pointers #1185 (flovilmart)
- Moves Files adapters to external packages #1172 (flovilmart)
- Mark push as enabled in serverInfo endpoint #1164 (drew-gross)
- Document email adapter #1144 (drew-gross)
- Reset password fix #1133 (carmenlau)
- Important Fix: Mounts createLiveQueryServer, fix babel induced problem #1153 (flovilmart)
- Move ParseServer to it's own file #1166 (flovilmart)
- Update README.md * remove deploy buttons * replace with community links #1139 (drew-gross)
- Adds bootstrap.sh #1138 (flovilmart)
- Fix: Do not override username #1142 (flovilmart)
- Fix: Add pushId back to GCM payload #1168 (wangmengyan95)
- New: Add FileSystemAdapter file adapter #1098 (dtsolis)
- New: Enabled CLP editing #1128 (drew-gross)
- Improvement: Reduces the number of connections to mongo created #1111 (flovilmart)
- Improvement: Make ParseServer a class #980 (flovilmart)
- Fix: Adds support for plain object in $add, $addUnique, $remove #1114 (flovilmart)
- Fix: Generates default CLP, freezes objects #1132 (flovilmart)
- Fix: Properly sets installationId on creating session with 3rd party auth #1110 (flovilmart)
- New Feature: Real-time functionality with Live Queries! #1092 (wangmengyan95)
- Improvement: Push Status API #1004 (flovilmart)
- Improvement: Allow client operations on Roles #1068 (flovilmart)
- Improvement: Add URI encoding to mongo auth parameters #986 (bgw)
- Improvement: Adds support for apps key in config file, but only support single app for now #979 (flovilmart)
- Documentation: Getting Started and Configuring Parse Server #988 (hramos)
- Fix: Various edge cases with REST API #1066 (flovilmart)
- Fix: Makes sure the location in results has the proper objectId #1065 (flovilmart)
- Fix: Third-party auth is properly removed when unlinked #1081 (flovilmart)
- Fix: Clear the session-user cache when changing _User objects #1072 (gfosco)
- Fix: Bug related to subqueries on unfetched objects #1046 (flovilmart)
- Fix: Properly urlencode parameters for email validation and password reset #1001 (flovilmart)
- Fix: Better sanitization/decoding of object data for afterSave triggers #992 (flovilmart)
- Fix: Changes default encoding for httpRequest #892 (flovilmart)
- Improvement: Full query support for badge Increment (#931) #983 (flovilmart)
- Improvement: Shutdown standalone parse server gracefully #958 (raulr)
- Improvement: Add database options to ParseServer constructor and pass to MongoStorageAdapter #956 (steven-supersolid)
- Improvement: AuthData logic refactor #952 (flovilmart)
- Improvement: Changed FileLoggerAdapterSpec to fail gracefully on Windows #946 (aneeshd16)
- Improvement: Add new schema collection type and replace all usages of direct mongo collection for schema operations. #943 (nlutsenko)
- Improvement: Adds CLP API to Schema router #898 (flovilmart)
- Fix: Cleans up authData null keys on login for android crash #978 (flovilmart)
- Fix: Do master query for before/afterSaveHook #959 (wangmengyan95)
- Fix: re-add shebang #944 (flovilmart)
- Fix: Added test command for Windows support #886 (aneeshd16)
- New: FileAdapter for Google Cloud Storage #708 (mcdonamp)
- Improvement: Minimize extra schema queries in some scenarios. #919 (Marco129)
- Improvement: Move DatabaseController and Schema fully to adaptive mongo collection. #909 (nlutsenko)
- Improvement: Cleanup PushController/PushRouter, remove raw mongo collection access. #903 (nlutsenko)
- Improvement: Increment badge the right way #902 (flovilmart)
- Improvement: Migrate ParseGlobalConfig to new database storage API. #901 (nlutsenko)
- Improvement: Improve delete flow for non-existent _Join collection #881 (Marco129)
- Improvement: Adding a role scenario test for issue 827 #878 (gfosco)
- Improvement: Test empty authData block on login for #413 #863 (gfosco)
- Improvement: Modified the npm dev script to support Windows #846 (aneeshd16)
- Improvement: Move HooksController to use MongoCollection instead of direct Mongo access. #844 (nlutsenko)
- Improvement: Adds public_html and views for packaging #839 (flovilmart)
- Improvement: Better support for windows builds #831 (flovilmart)
- Improvement: Convert Schema.js to ES6 class. #826 (nlutsenko)
- Improvement: Remove duplicated instructions #816 (hramos)
- Improvement: Completely migrate SchemasRouter to new MongoCollection API. #794 (nlutsenko)
- Fix: Do not require where clause in $dontSelect condition on queries. #925 (nlutsenko)
- Fix: Make sure that ACLs propagate to before/after save hooks. #924 (nlutsenko)
- Fix: Support params option in Parse.Cloud.httpRequest. #912 (carmenlau)
- Fix: Fix flaky Parse.GeoPoint test. #908 (nlutsenko)
- Fix: Handle legacy _client_permissions key in _SCHEMA. #900 (drew-gross)
- Fix: Fixes bug when querying equalTo on objectId and relation #887 (flovilmart)
- Fix: Allow crossdomain on filesRouter #876 (flovilmart)
- Fix: Remove limit when counting results. #867 (gfosco)
- Fix: beforeSave changes should propagate to the response #865 (gfosco)
- Fix: Delete relation field when _Join collection not exist #864 (Marco129)
- Fix: Related query on non-existing column #861 (gfosco)
- Fix: Update markdown in .github/ISSUE_TEMPLATE.md #859 (igorshubovych)
- Fix: Issue with creating wrong _Session for Facebook login #857 (tobernguyen)
- Fix: Leak warnings in tests, use mongodb-runner from node_modules #843 (drew-gross)
- Fix: Reversed roles lookup #841 (flovilmart)
- Fix: Improves loading of Push Adapter, fix loading of S3Adapter #833 (flovilmart)
- Fix: Add field to system schema #828 (Marco129)
- New: serverInfo endpoint that returns server version and info about the server's features
- Improvement: Add support for badges on iOS
- Improvement: Improve failure handling in cloud code http requests
- Improvement: Add support for queries on pointers and relations
- Improvement: Add support for multiple $in clauses in a query
- Improvement: Add allowClientClassCreation config option
- Improvement: Allow atomically setting subdocument keys
- Improvement: Allow arbitrarily deeply nested roles
- Improvement: Set proper content-type in S3 File Adapter
- Improvement: S3 adapter auto-creates buckets
- Improvement: Better error messages for many errors
- Performance: Improved algorithm for validating client keys
- Experimental: Parse Hooks and Hooks API
- Experimental: Email verification and password reset emails
- Experimental: Improve compatability of logs feature with Parse.com
- Fix: Fix for attempting to delete missing classes via schemas API
- Fix: Allow creation of system classes via schemas API
- Fix: Allow missing where cause in $select
- Fix: Improve handling of invalid object ids
- Fix: Replace query overwriting existing query
- Fix: Propagate installationId in cloud code triggers
- Fix: Session expiresAt is now a Date instead of a string
- Fix: Fix count queries
- Fix: Disallow _Role objects without names or without ACL
- Fix: Better handling of invalid types submitted
- Fix: beforeSave will not be triggered for attempts to save with invalid authData
- Fix: Fix duplicate device token issues on Android
- Fix: Allow empty authData on signup
- Fix: Allow Master Key Headers (CORS)
- Fix: Fix bugs if JavaScript key was not provided in server configuration
- Fix: Parse Files on objects can now be stored without URLs
- Fix: allow both objectId or installationId when modifying installation
- Fix: Command line works better when not given options
- Feature: Add initial support for in-app purchases
- Feature: Better error messages when attempting to run the server on a port that is already in use or without a server URL
- Feature: Allow customization of max file size
- Performance: Faster saves if not using beforeSave triggers
- Fix: Send session token in response to current user endpoint
- Fix: Remove triggers for _Session collection
- Fix: Improve compatability of cloud code beforeSave hook for newly created object
- Fix: ACL creation for master key only objects
- Fix: Allow uploading files without Content-Type
- Fix: Add features to http request to match Parse.com
- Fix: Bugs in development script when running from locations other than project root
- Fix: Can pass query constraints in URL
- Fix: Objects with legacy "_tombstone" key now don't cause issues.
- Fix: Allow nested keys in objects to begin with underscores
- Fix: Allow correct headers for CORS
- Change: The S3 file adapter constructor requires a bucket name
- Fix: Parse Query should throw if improperly encoded
- Fix: Issue where roles were not used in some requests
- Fix: serverURL will no longer default to api.parse.com/1
- Experimental: Schemas API support for DELETE operations
- Fix: Session token issue fetching Users
- Fix: Facebook auth validation
- Fix: Invalid error when deleting missing session
- Feature: Support for additional OAuth providers
- Feature: Ability to implement custom OAuth providers
- Feature: Support for deleting Parse Files
- Feature: Allow querying roles
- Feature: Support for logs, extensible via Log Adapter
- Feature: New Push Adapter for sending push notifications through OneSignal
- Feature: Tighter default security for Users
- Feature: Pass parameters to cloud code in query string
- Feature: Disable anonymous users via configuration.
- Experimental: Schemas API support for PUT operations
- Fix: Prevent installation ID from being added to User
- Fix: Becoming a user works properly with sessions
- Fix: Including multiple object when some object are unavailable will get all the objects that are available
- Fix: Invalid URL for Parse Files
- Fix: Making a query without a limit now returns 100 results
- Fix: Expose installation id in cloud code
- Fix: Correct username for Anonymous users
- Fix: Session token issue after fetching user
- Fix: Issues during install process
- Fix: Issue with Unity SDK sending _noBody
- Add: support for Android and iOS push notifications
- Experimental: cloud code validation hooks (can mark as non-experimental after we have docs)
- Experimental: support for schemas API (GET and POST only)
- Experimental: support for Parse Config (GET and POST only)
- Fix: Querying objects with equality constraint on array column
- Fix: User logout will remove session token
- Fix: Various files related bugs
- Fix: Force minimum node version 4.3 due to security issues in earlier version
- Performance Improvement: Improved caching