Skip to content

Commit c036979

Browse files
authored
Merge branch 'alpha' into generalizingResponse
2 parents c1449ac + 7d8603f commit c036979

38 files changed

+1641
-1485
lines changed

.eslintrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
"space-infix-ops": "error",
2626
"no-useless-escape": "off",
2727
"require-atomic-updates": "off",
28-
"object-curly-spacing": ["error", "always"]
28+
"object-curly-spacing": ["error", "always"],
29+
"curly": ["error", "all"],
30+
"block-spacing": ["error", "always"]
2931
},
3032
"globals": {
3133
"Parse": true

.github/workflows/ci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -235,14 +235,20 @@ jobs:
235235
- name: PostgreSQL 13, PostGIS 3.4
236236
POSTGRES_IMAGE: postgis/postgis:13-3.4
237237
NODE_VERSION: 22.4.1
238-
- name: PostgreSQL 14, PostGIS 3.4
239-
POSTGRES_IMAGE: postgis/postgis:14-3.4
238+
- name: PostgreSQL 13, PostGIS 3.5
239+
POSTGRES_IMAGE: postgis/postgis:13-3.5
240240
NODE_VERSION: 22.4.1
241-
- name: PostgreSQL 15, PostGIS 3.4
242-
POSTGRES_IMAGE: postgis/postgis:15-3.4
241+
- name: PostgreSQL 14, PostGIS 3.5
242+
POSTGRES_IMAGE: postgis/postgis:14-3.5
243243
NODE_VERSION: 22.4.1
244-
- name: PostgreSQL 16, PostGIS 3.4
245-
POSTGRES_IMAGE: postgis/postgis:16-3.4
244+
- name: PostgreSQL 15, PostGIS 3.5
245+
POSTGRES_IMAGE: postgis/postgis:15-3.5
246+
NODE_VERSION: 22.4.1
247+
- name: PostgreSQL 16, PostGIS 3.5
248+
POSTGRES_IMAGE: postgis/postgis:16-3.5
249+
NODE_VERSION: 22.4.1
250+
- name: PostgreSQL 17, PostGIS 3.5
251+
POSTGRES_IMAGE: postgis/postgis:17-3.5
246252
NODE_VERSION: 22.4.1
247253
fail-fast: false
248254
name: ${{ matrix.name }}

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,15 +272,15 @@ If your pull request introduces a change that may affect the storage or retrieva
272272
[PostGIS images (select one with v2.2 or higher) on docker hub](https://hub.docker.com/r/postgis/postgis) is based off of the official [postgres](https://hub.docker.com/_/postgres) image and will work out-of-the-box (as long as you create a user with the necessary extensions for each of your Parse databases; see below). To launch the compatible Postgres instance, copy and paste the following line into your shell:
273273

274274
```
275-
docker run -d --name parse-postgres -p 5432:5432 -e POSTGRES_PASSWORD=password --rm postgis/postgis:16-3.4-alpine && sleep 20 && docker exec -it parse-postgres psql -U postgres -c 'CREATE DATABASE parse_server_postgres_adapter_test_database;' && docker exec -it parse-postgres psql -U postgres -c 'CREATE EXTENSION pgcrypto; CREATE EXTENSION postgis;' -d parse_server_postgres_adapter_test_database && docker exec -it parse-postgres psql -U postgres -c 'CREATE EXTENSION postgis_topology;' -d parse_server_postgres_adapter_test_database
275+
docker run -d --name parse-postgres -p 5432:5432 -e POSTGRES_PASSWORD=password --rm postgis/postgis:17-3.5-alpine && sleep 20 && docker exec -it parse-postgres psql -U postgres -c 'CREATE DATABASE parse_server_postgres_adapter_test_database;' && docker exec -it parse-postgres psql -U postgres -c 'CREATE EXTENSION pgcrypto; CREATE EXTENSION postgis;' -d parse_server_postgres_adapter_test_database && docker exec -it parse-postgres psql -U postgres -c 'CREATE EXTENSION postgis_topology;' -d parse_server_postgres_adapter_test_database
276276
```
277277
To stop the Postgres instance:
278278

279279
```
280280
docker stop parse-postgres
281281
```
282282

283-
You can also use the [postgis/postgis:16-3.4-alpine](https://hub.docker.com/r/postgis/postgis) image in a Dockerfile and copy this [script](https://github.com/parse-community/parse-server/blob/master/scripts/before_script_postgres.sh) to the image by adding the following lines:
283+
You can also use the [postgis/postgis:17-3.5-alpine](https://hub.docker.com/r/postgis/postgis) image in a Dockerfile and copy this [script](https://github.com/parse-community/parse-server/blob/master/scripts/before_script_postgres.sh) to the image by adding the following lines:
284284

285285
```
286286
#Install additional scripts. These are run in abc order during initial start

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
############################################################
22
# Build stage
33
############################################################
4-
FROM node:20.14.0-alpine3.20 AS build
4+
FROM node:20.17.0-alpine3.20 AS build
55

66
RUN apk --no-cache add \
77
build-base \
@@ -28,7 +28,7 @@ RUN npm ci --omit=dev --ignore-scripts \
2828
############################################################
2929
# Release stage
3030
############################################################
31-
FROM node:20.14.0-alpine3.20 AS release
31+
FROM node:20.17.0-alpine3.20 AS release
3232

3333
VOLUME /parse-server/cloud /parse-server/config
3434

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
[![Node Version](https://img.shields.io/badge/nodejs-18,_20,_22-green.svg?logo=node.js&style=flat)](https://nodejs.org)
1313
[![MongoDB Version](https://img.shields.io/badge/mongodb-4.2,_4.4,_5,_6,_7,_8-green.svg?logo=mongodb&style=flat)](https://www.mongodb.com)
14-
[![Postgres Version](https://img.shields.io/badge/postgresql-13,_14,_15,_16-green.svg?logo=postgresql&style=flat)](https://www.postgresql.org)
14+
[![Postgres Version](https://img.shields.io/badge/postgresql-13,_14,_15,_16,_17-green.svg?logo=postgresql&style=flat)](https://www.postgresql.org)
1515

1616
[![npm latest version](https://img.shields.io/npm/v/parse-server/latest.svg)](https://www.npmjs.com/package/parse-server)
1717
[![npm beta version](https://img.shields.io/npm/v/parse-server/beta.svg)](https://www.npmjs.com/package/parse-server)
@@ -152,10 +152,11 @@ Parse Server is continuously tested with the most recent releases of PostgreSQL
152152

153153
| Version | PostGIS Version | End-of-Life | Parse Server Support | Compatible |
154154
|-------------|--------------------|---------------|----------------------|------------|
155-
| Postgres 13 | 3.1, 3.2, 3.3, 3.4 | November 2025 | <= 6.x (2023) | ✅ Yes |
156-
| Postgres 14 | 3.4 | November 2026 | <= 7.x (2024) | ✅ Yes |
157-
| Postgres 15 | 3.4 | November 2027 | <= 8.x (2025) | ✅ Yes |
158-
| Postgres 16 | 3.4 | November 2028 | <= 9.x (2026) | ✅ Yes |
155+
| Postgres 13 | 3.1, 3.2, 3.3, 3.4, 3.5 | November 2025 | <= 6.x (2023) | ✅ Yes |
156+
| Postgres 14 | 3.5 | November 2026 | <= 7.x (2024) | ✅ Yes |
157+
| Postgres 15 | 3.5 | November 2027 | <= 8.x (2025) | ✅ Yes |
158+
| Postgres 16 | 3.5 | November 2028 | <= 9.x (2026) | ✅ Yes |
159+
| Postgres 17 | 3.5 | November 2029 | <= 9.x (2026) | ✅ Yes |
159160

160161
### Locally
161162

changelogs/CHANGELOG_alpha.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# [7.4.0-alpha.5](https://github.com/parse-community/parse-server/compare/7.4.0-alpha.4...7.4.0-alpha.5) (2024-10-22)
2+
3+
4+
### Bug Fixes
5+
6+
* Security upgrade node from 20.14.0-alpine3.20 to 20.17.0-alpine3.20 ([#9300](https://github.com/parse-community/parse-server/issues/9300)) ([15bb17d](https://github.com/parse-community/parse-server/commit/15bb17d87153bf0d38f08fe4c720da29a204b36b))
7+
8+
# [7.4.0-alpha.4](https://github.com/parse-community/parse-server/compare/7.4.0-alpha.3...7.4.0-alpha.4) (2024-10-22)
9+
10+
11+
### Bug Fixes
12+
13+
* `Parse.Query.distinct` fails due to invalid aggregate stage 'hint' ([#9295](https://github.com/parse-community/parse-server/issues/9295)) ([5f66c6a](https://github.com/parse-community/parse-server/commit/5f66c6a075cbe1cdaf9d1b108ee65af8ae596b89))
14+
15+
# [7.4.0-alpha.3](https://github.com/parse-community/parse-server/compare/7.4.0-alpha.2...7.4.0-alpha.3) (2024-10-22)
16+
17+
18+
### Features
19+
20+
* Add support for PostGIS 3.5 ([#9354](https://github.com/parse-community/parse-server/issues/9354)) ([8ea3538](https://github.com/parse-community/parse-server/commit/8ea35382db3436d54ab59bd30706705564b0985c))
21+
22+
# [7.4.0-alpha.2](https://github.com/parse-community/parse-server/compare/7.4.0-alpha.1...7.4.0-alpha.2) (2024-10-07)
23+
24+
25+
### Features
26+
27+
* Add support for Postgres 17 ([#9324](https://github.com/parse-community/parse-server/issues/9324)) ([fa2ee31](https://github.com/parse-community/parse-server/commit/fa2ee3196e4319a142b3838bb947c98dcba5d5cb))
28+
129
# [7.4.0-alpha.1](https://github.com/parse-community/parse-server/compare/7.3.1-alpha.1...7.4.0-alpha.1) (2024-10-06)
230

331

0 commit comments

Comments
 (0)