Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query using pointers in deep sub-documents #7426

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a7fd0ea
test and code
oallouch Jun 9, 2021
3973c5f
start of changelog update
oallouch Jun 9, 2021
bea4707
fix: package.json & package-lock.json to reduce vulnerabilities (#7423)
snyk-bot Jun 10, 2021
61affe2
fix: upgrade mongodb from 3.6.6 to 3.6.7 (#7425)
snyk-bot Jun 10, 2021
bfdb6a9
fix: upgrade apollo-server-express from 2.24.0 to 2.24.1 (#7424)
snyk-bot Jun 10, 2021
0638e5e
chore(deps): bump normalize-url from 4.5.0 to 4.5.1 (#7428)
dependabot[bot] Jun 10, 2021
f6a4172
bump mongo (#7429)
mtrezza Jun 11, 2021
6deb7ec
restriction to mongo testing
oallouch Jun 12, 2021
1069519
CHANGELOG: typo fix braking->breaking [ci skip] (#7432)
olleolleolle Jun 15, 2021
3a2afda
bump node version (#7441)
mtrezza Jun 20, 2021
d8dc524
Add check for property (#7421)
Jun 21, 2021
770e36f
fix: upgrade graphql-relay from 0.6.0 to 0.7.0 (#7443)
snyk-bot Jun 24, 2021
7df6c02
fix: upgrade ldapjs from 2.2.4 to 2.3.0 (#7436)
snyk-bot Jun 24, 2021
4e5eba6
fix: upgrade apollo-server-express from 2.24.1 to 2.25.0 (#7435)
snyk-bot Jun 24, 2021
c36588e
fix: upgrade mongodb from 3.6.7 to 3.6.8 (#7430)
snyk-bot Jun 24, 2021
17cf1a4
fix: upgrade mongodb from 3.6.8 to 3.6.9 (#7445)
snyk-bot Jun 28, 2021
d36a53b
fix: upgrade subscriptions-transport-ws from 0.9.19 to 0.10.0 (#7450)
snyk-bot Jun 30, 2021
682f1bf
fix: upgrade apollo-server-express from 2.25.0 to 2.25.1 (#7449)
snyk-bot Jun 30, 2021
05882bc
bumped node (#7452)
mtrezza Jul 3, 2021
1594afe
add runtime deprecation warning (#7451)
mtrezza Jul 12, 2021
6a39cfe
test and code
oallouch Jun 9, 2021
3efe6f6
fix changelog message
oallouch Jul 13, 2021
5b82047
restriction to mongo testing
oallouch Jun 12, 2021
2ea03da
Merge branch 'deep-nested-pointers' of https://github.com/oallouch/pa…
oallouch Jul 13, 2021
0e215ea
unnecessary comments removal
oallouch Jul 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- '**'
env:
NODE_VERSION: 14.17.0
NODE_VERSION: 14.17.2
PARSE_SERVER_TEST_TIMEOUT: 20000
jobs:
check-ci:
Expand Down Expand Up @@ -97,33 +97,33 @@ jobs:
MONGODB_VERSION: 4.4.6
MONGODB_TOPOLOGY: replicaset
MONGODB_STORAGE_ENGINE: wiredTiger
NODE_VERSION: 14.17.0
NODE_VERSION: 14.17.2
- name: MongoDB 4.2, ReplicaSet, WiredTiger
MONGODB_VERSION: 4.2.14
MONGODB_TOPOLOGY: replicaset
MONGODB_STORAGE_ENGINE: wiredTiger
NODE_VERSION: 14.17.0
NODE_VERSION: 14.17.2
- name: MongoDB 4.0, ReplicaSet, WiredTiger
MONGODB_VERSION: 4.0.23
MONGODB_VERSION: 4.0.25
MONGODB_TOPOLOGY: replicaset
MONGODB_STORAGE_ENGINE: wiredTiger
NODE_VERSION: 14.17.0
NODE_VERSION: 14.17.2
- name: MongoDB 4.0, Standalone, MMAPv1
MONGODB_VERSION: 4.0.23
MONGODB_VERSION: 4.0.25
MONGODB_TOPOLOGY: standalone
MONGODB_STORAGE_ENGINE: mmapv1
NODE_VERSION: 14.17.0
NODE_VERSION: 14.17.2
- name: Redis Cache
PARSE_SERVER_TEST_CACHE: redis
MONGODB_VERSION: 4.4.6
MONGODB_TOPOLOGY: standalone
MONGODB_STORAGE_ENGINE: wiredTiger
NODE_VERSION: 14.17.0
NODE_VERSION: 14.17.2
- name: Node 12
MONGODB_VERSION: 4.4.6
MONGODB_TOPOLOGY: standalone
MONGODB_STORAGE_ENGINE: wiredTiger
NODE_VERSION: 12.22.1
NODE_VERSION: 12.22.2
- name: Node 15
MONGODB_VERSION: 4.4.6
MONGODB_TOPOLOGY: standalone
Expand Down Expand Up @@ -170,16 +170,16 @@ jobs:
include:
- name: PostgreSQL 11, PostGIS 3.0
POSTGRES_IMAGE: postgis/postgis:11-3.0
NODE_VERSION: 14.17.0
NODE_VERSION: 14.17.2
- name: PostgreSQL 11, PostGIS 3.1
POSTGRES_IMAGE: postgis/postgis:11-3.1
NODE_VERSION: 14.17.0
NODE_VERSION: 14.17.2
- name: PostgreSQL 12, PostGIS 3.1
POSTGRES_IMAGE: postgis/postgis:12-3.1
NODE_VERSION: 14.17.0
NODE_VERSION: 14.17.2
- name: PostgreSQL 13, PostGIS 3.1
POSTGRES_IMAGE: postgis/postgis:13-3.1
NODE_VERSION: 14.17.0
NODE_VERSION: 14.17.2
fail-fast: false
name: ${{ matrix.name }}
timeout-minutes: 15
Expand Down
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ___
- Added Parse Server Security Check to report weak security settings (Manuel Trezza, dblythy) [#7247](https://github.com/parse-community/parse-server/issues/7247)
- EXPERIMENTAL: Added new page router with placeholder rendering and localization of custom and feature pages such as password reset and email verification (Manuel Trezza) [#7128](https://github.com/parse-community/parse-server/pull/7128)
- EXPERIMENTAL: Added custom routes to easily customize flows for password reset, email verification or build entirely new flows (Manuel Trezza) [#7231](https://github.com/parse-community/parse-server/pull/7231)
- Added Deprecation Policy to govern the introduction of braking changes in a phased pattern that is more predictable for developers (Manuel Trezza) [#7199](https://github.com/parse-community/parse-server/pull/7199)
- Added Deprecation Policy to govern the introduction of breaking changes in a phased pattern that is more predictable for developers (Manuel Trezza) [#7199](https://github.com/parse-community/parse-server/pull/7199)
- Add REST API endpoint `/loginAs` to create session of any user with master key; allows to impersonate another user. (GormanFletcher) [#7406](https://github.com/parse-community/parse-server/pull/7406)

### Other Changes
Expand Down Expand Up @@ -134,8 +134,10 @@ ___
- Add NPM package-lock version check to CI (Manuel Trezza) [#7333](https://github.com/parse-community/parse-server/pull/7333)
- Fix incorrect LiveQuery events triggered for multiple subscriptions on the same class with different events [#7341](https://github.com/parse-community/parse-server/pull/7341)
- Fix select and excludeKey queries to properly accept JSON string arrays. Also allow nested fields in exclude (Corey Baker) [#7242](https://github.com/parse-community/parse-server/pull/7242)
- Fix LiveQuery server crash when using $all query operator on a missing object key (Jason Posthuma) [#7421](https://github.com/parse-community/parse-server/pull/7421)
- Added runtime deprecation warnings (Manuel Trezza) [#7451](https://github.com/parse-community/parse-server/pull/7451)
- Fix querying deep nested pointers (Olivier Allouch) [#7526](https://github.com/parse-community/parse-server/pull/7426)___

___
## 4.5.0
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.4.0...4.5.0)
### Breaking Changes
Expand Down
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ If you change or remove an existing feature that would lead to a breaking change
- Use a default value that falls back to existing behavior.
- Add a deprecation definition in `Deprecator/Deprecations.js` that will output a deprecation warning log message on Parse Server launch, for example:
> DeprecationWarning: The Parse Server option 'example' will be removed in a future release.


For deprecations that can only be determined ad-hoc during runtime, for example Parse Query syntax deprecations, use the `Deprecator.logRuntimeDeprecation()` method.

Deprecations become breaking changes after notifying developers through deprecation warnings for at least one entire previous major release. For example:
- `4.5.0` is the current version
- `4.6.0` adds a new optional feature and a deprecation warning for the existing feature
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,16 @@ Parse Server is continuously tested with the most recent releases of Node.js to

| Version | Latest Version | End-of-Life Date | Compatibility |
|------------|----------------|------------------|--------------------|
| Node.js 12 | 12.22.1 | April 2022 | ✅ Fully compatible |
| Node.js 14 | 14.17.0 | April 2023 | ✅ Fully compatible |
| Node.js 12 | 12.22.2 | April 2022 | ✅ Fully compatible |
| Node.js 14 | 14.17.2 | April 2023 | ✅ Fully compatible |
| Node.js 15 | 15.14.0 | June 2021 | ✅ Fully compatible |

#### MongoDB
Parse Server is continuously tested with the most recent releases of MongoDB to ensure compatibility. We follow the [MongoDB support schedule](https://www.mongodb.com/support-policy) and only test against versions that are officially supported and have not reached their end-of-life date.

| Version | Latest Version | End-of-Life Date | Compatibility |
|-------------|----------------|------------------|--------------------|
| MongoDB 4.0 | 4.0.23 | January 2022 | ✅ Fully compatible |
| MongoDB 4.0 | 4.0.25 | January 2022 | ✅ Fully compatible |
| MongoDB 4.2 | 4.2.14 | TBD | ✅ Fully compatible |
| MongoDB 4.4 | 4.4.6 | TBD | ✅ Fully compatible |

Expand Down
Loading