Manuel
7b9fa18f96
fix: Queries with object field authData.provider.id are incorrectly transformed to _auth_data_provider.id for custom classes ( #9932 )
2025-11-17 17:47:39 +01:00
Manuel
d3d4003570
fix: GridFSBucketAdapter throws when using some Parse Server specific options in MongoDB database options ( #9915 )
2025-11-08 18:41:45 +01:00
Lucas Coratger
4456b02280
feat: Add Parse Server option allowPublicExplain to allow Parse.Query.explain without master key ( #9890 )
2025-11-08 17:02:13 +01:00
Manuel
b760733b98
feat: Add MongoDB client event logging via database option logClientEvents ( #9914 )
2025-11-08 15:48:29 +01:00
Manuel
ea91aca142
feat: Add options to skip automatic creation of internal database indexes on server start ( #9897 )
2025-11-01 18:22:52 +01:00
Manuel
62dd3c565a
fix: Indexes _email_verify_token for email verification and _perishable_token password reset are not created automatically ( #9893 )
2025-11-01 13:52:23 +01:00
Antoine Cormouls
1b2347524c
feat: Disable index-field validation to create index for fields that don't yet exist ( #8137 )
2025-10-10 00:03:52 +02:00
Manuel
847a274cdb
fix: MongoDB aggregation pipeline with $dateSubtract from $$NOW returns no results ( #9822 )
2025-07-13 02:44:08 +02:00
Rahul Lanjewar
0db3a6ff27
fix: Parse.Query.containedIn and matchesQuery do not work with nested objects ( #9738 )
2025-05-03 12:52:31 +02:00
Daniel
12b5d781dc
feat: Add default ACL ( #8701 )
2025-03-24 15:15:27 +01:00
Daniel
889dbb5aee
refactor: Upgrade to eslint 9.19.0 ( #9580 )
2025-02-01 15:32:43 +01:00
Antoine Cormouls
7d8603f1c2
refactor: Upgrade to mongodb 6.10.0 ( #9362 )
2024-10-23 21:27:42 +02:00
Diamond Lewis
cf4c8807b9
feat: Add support for dot notation on array fields of Parse Object ( #9115 )
2024-07-08 23:29:58 +02:00
Manuel
2edf1e4c03
fix: SQL injection when using Parse Server with PostgreSQL; fixes security vulnerability [GHSA-c2hr-cqg6-8j6r]( https://github.com/parse-community/parse-server/security/advisories/GHSA-c2hr-cqg6-8j6r ) ( #9167 )
2024-06-30 03:34:08 +02:00
Oussama Meglali
2170962a50
feat: Add support for MongoDB query comment ( #8928 )
2024-03-03 02:27:57 +01:00
Manuel
cbefe770a7
fix: 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 )
2024-03-01 16:52:05 +01:00
Lucas Coratger
3de8494a22
feat: Add support for MongoDB 7 ( #8761 )
...
BREAKING CHANGE: `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.
2023-12-10 02:42:40 +01:00
Manuel
f630a45aa5
feat: Add $setOnInsert operator to Parse.Server.database.update ( #8791 )
2023-10-25 19:13:27 +02:00
Manuel
e212eb5195
refactor: Add option to convert Parse.Object to instance in Cloud Function payload ( #8656 )
2023-06-23 16:29:32 +02:00
Daniel
967700bdbc
fix: LiveQuery server is not shut down properly when handleShutdown is called ( #8491 )
2023-06-08 11:04:49 +02:00
Manuel
6722110f20
revert: fix: Inaccurate table total row count for PostgreSQL
...
This reverts commit 0823a02fbf .
2023-05-28 21:44:42 +02:00
patelmilanun
0823a02fbf
fix: Inaccurate table total row count for PostgreSQL ( #8511 )
2023-05-28 13:32:02 +02:00
Corey
87cab09b6a
refactor: Upgrade pg-promise to 11.3.0 and pg-monitor to 2.0.0 ( #8453 )
2023-03-06 00:16:04 +01:00
Daniel
22d2446dfe
fix: Nested date is incorrectly decoded as empty object {} when fetching a Parse Object ( #8446 )
2023-03-05 01:22:19 +01:00
Daniel
b3b76de71b
feat: Add option schemaCacheTtl for schema cache pulling as alternative to enableSchemaHooks ( #8436 )
2023-02-27 01:55:47 +01:00
Daniel
d0d30c4f13
feat: Remove deprecation DEPPS1: Native MongoDB syntax in aggregation pipeline ( #8362 )
...
BREAKING CHANGE: The MongoDB aggregation pipeline requires native MongoDB syntax instead of the custom Parse Server syntax; for example pipeline stage names require a leading dollar sign like `$match` and the MongoDB document ID is referenced using `_id` instead of `objectId` (#8362 )
2023-01-05 15:53:43 +01:00
Daniel
1412666f75
fix: Nested objects are encoded incorrectly for MongoDB ( #8209 )
...
BREAKING CHANGE: Nested objects are now properly stored in the database using JSON serialization; previously, due to a bug only top-level objects were serialized, but nested objects were saved as raw JSON; for example, a nested `Date` object was saved as a JSON object like `{ "__type": "Date", "iso": "2020-01-01T00:00:00.000Z" }` instead of its serialized representation `2020-01-01T00:00:00.000Z` (#8209 )
2022-12-20 16:57:29 +01:00
dblythy
5bbf9cade9
feat: Improve authentication adapter interface to support multi-factor authentication (MFA), authentication challenges, and provide a more powerful interface for writing custom authentication adapters ( #8156 )
2022-11-10 17:35:39 +01:00
dblythy
e424137406
fix: query aggregation pipeline cannot handle value of type Date when directAccess: true ( #8167 )
2022-09-17 16:19:28 +02:00
Jong Eun Lee
7f5a15d5df
fix: graphQL query ignores condition equalTo with value false ( #8032 )
2022-07-03 12:13:10 +02:00
Manuel Trezza
1593575a87
build: release
2022-03-18 15:17:12 +01:00
Antoine Cormouls
f88aa2a62a
feat: upgrade to MongoDB Node.js driver 4.x for MongoDB 5.0 support ( #7794 )
...
BREAKING CHANGE: The MongoDB GridStore adapter has been removed. By default, Parse Server already uses GridFS, so if you do not manually use the GridStore adapter, you can ignore this change.
2022-02-06 18:30:36 +01:00
Corey
a5ffb95022
refactor: remove deprecated url.parse() method ( #7751 )
2022-01-06 15:26:00 +01:00
Corey
0c3feaaa17
feat: add Idempotency to Postgres ( #7750 )
2022-01-02 19:25:53 +01:00
Corey
5e363eae44
refactor: remove unnecessary error checking in PostgresAdapter ( #7761 )
2022-01-02 18:43:12 +01:00
Corey
16b1b2a197
feat: support relativeTime query constraint on Postgres ( #7747 )
2022-01-02 01:10:54 +01:00
Manuel
8ee0445c0a
fix: unable to use objectId size higher than 19 on GraphQL API ( #7722 )
2021-11-27 13:36:49 +01:00
Antoine Cormouls
ed86c80772
fix: unable to use objectId size higher than 19 on GraphQL API ( #7627 )
2021-11-27 12:27:08 +01:00
Samuel Denis-D'Ortun
25d5c30be2
feat: add user-defined schema and migrations ( #7418 )
2021-11-01 14:28:49 +01:00
Corey
090350a7a0
feat: add support for Postgres 14 ( #7644 )
2021-10-31 20:49:03 +01:00
Antoine Cormouls
68057c49f3
refactor: minor changes to remove mongo deprecation warnings ( #7626 )
2021-10-17 21:16:24 +02:00
Antonio Davi Macedo Coelho de Castro
308668c894
Merge pull request from GHSA-xqp8-w826-hh6x
...
* Added a test case that triggers the query parameter crash
* rest.js: validate the explain parameter to keep the nodejs driver from throwing an uncatchable exception and crashing the server (see https://jira.mongodb.org/browse/NODE-3463 )
RestQuery.js: Check whether explain mode is enabled not by "!== true", but by the "!" operator. explain can have string values.
Added tests that validate correct behaviour on different explain values
* Refactor the new tests
* Simplify the new tests
Also do a sanity check on the explain results
* Test refactor
* Exclude queryPlannerExtended as it is not supported by the testing environment
Simplifies the tests
* Restrict the changes to mongodb
Moved the verification of the explain value from rest.js to MongoStorageAdapter.js
Also restricted the relevant unit tests to mongodb
* Added changelog entry
* reformat changelog entry
* Update CHANGELOG.md
Co-authored-by: Kartal Kaan Bozdoğan <kartalkaanbozdogan@gmail.com >
Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com >
2021-09-02 12:46:48 +02:00
Kartal Kaan Bozdoğan
5e7c9d2e1a
Fixed a bug affecting updates to nested pointers ( #7392 )
...
* Fixed a bug affecting updates to nested pointers
Also created unit tests
* Marked the regression test for #7391 as pending for postgre
The issue is not fixed yet
Use cont instead of var
2021-05-25 15:33:40 -07:00
Snyk bot
755c49404d
[Snyk] Upgrade pg-promise from 10.9.2 to 10.10.1 ( #7286 )
...
* fix: upgrade pg-promise from 10.9.2 to 10.9.3
Snyk has created this PR to upgrade pg-promise from 10.9.2 to 10.9.3.
See this package in npm:
https://www.npmjs.com/package/pg-promise
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
* bump pg-promise to 10.10.1
* fix add field if not exists
* lint
Co-authored-by: Diamond Lewis <findlewis@gmail.com >
2021-04-29 12:10:15 -05:00
Vitaly Tomilov
25fb476bf8
Update PostgresClient.js ( #7276 )
...
Proper pg-monitor re-attachment logic.
2021-03-18 15:54:17 -05:00
Diamond Lewis
a02014f557
Improve single schema cache ( #7214 )
...
* Initial Commit
* fix flaky test
* temporary set ci timeout
* turn off ci check
* fix postgres tests
* fix tests
* node flaky test
* remove improvements
* Update SchemaPerformance.spec.js
* fix tests
* revert ci
* Create Singleton Object
* properly clear cache testing
* Cleanup
* remove fit
* try PushController.spec
* try push test rewrite
* try push enqueue time
* Increase test timeout
* remove pg server creation test
* xit push tests
* more xit
* remove skipped tests
* Fix conflicts
* reduce ci timeout
* fix push tests
* Revert "fix push tests"
This reverts commit 05aba62f1cbbca7d5d3e80b9444529f59407cb56.
* improve initialization
* fix flaky tests
* xit flaky test
* Update CHANGELOG.md
* enable debug logs
* Update LogsRouter.spec.js
* create initial indexes in series
* lint
* horizontal scaling documentation
* Update Changelog
* change horizontalScaling db option
* Add enableSchemaHooks option
* move enableSchemaHooks to databaseOptions
2021-03-16 16:05:36 -05:00
Diamond Lewis
9563793303
Allow single server instance in test suite ( #7262 )
...
* initial pass
* reconfigureServer when needed
* finish postgres tests
* mongo tests
* more tests
* clean up
* re-add skipped test
* Fix transaction tests
* handle batch
* AuthenticationAdapter fix
* More reconfiguration
* clean up
* properly terminate cli servers
* handle Parse.Push
* Flaky PushController
* ensure reconfigureServer when changed
* fix postgres tests
* remove console.log
* LiveQuery spec remove duplicates and listeners
2021-03-13 09:05:22 -06:00
Diamond Lewis
39fa17f914
Postgres: Properly initialize database on startup and debugger ( #7255 )
...
* PG: Properly initialize database
* fix flaky tests
* flaky test
* correct test
* no idea
* clean up debugger
2021-03-10 11:31:35 -08:00
Antonio Davi Macedo Coelho de Castro
a430d6f7b7
Fix flaky test with transactions ( #7187 )
...
* Fix flaky test with transactions
* Add CHANGELOG entry
* Fix the other transactions related tests that became flaky because now Parse Server tries to submit the transaction multilpe times in the case of TransientError
* Remove fit from tests
2021-02-18 10:18:54 -08:00
Diamond Lewis
033a0bd443
Fix Prettier ( #7066 )
2020-12-13 11:19:04 -06:00