Skip to content

Commit 9cea939

Browse files
Merge branch 'master' into GH-1926
2 parents 1a70ccd + b6f64c4 commit 9cea939

26 files changed

Lines changed: 640 additions & 1217 deletions

File tree

.github/workflows/run-python-tests-epas.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939
steps:
4040
- uses: actions/checkout@v4
4141

42+
- name: Update python version
43+
uses: actions/setup-python@v5
44+
with:
45+
python-version: '3.10'
46+
4247
- name: Setup the EDB APT repo on Linux
4348
if: ${{ matrix.os == 'ubuntu-22.04' }}
4449
run: |

.github/workflows/run-python-tests-pg.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030

31+
- name: Update python version
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: '3.10'
35+
3136
- name: Setup the PGDG APT repo on Linux
3237
if: ${{ matrix.os == 'ubuntu-22.04' }}
3338
run: |

DEPENDENCIES

Lines changed: 0 additions & 586 deletions
This file was deleted.

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ COPY --from=env-builder /venv /venv
172172
# Copy in the tools
173173
COPY --from=tool-builder /usr/local/pgsql /usr/local/
174174
COPY --from=pg17-builder /usr/local/lib/libpq.so.5.17 /usr/lib/
175-
COPY --from=pg17-builder /usr/lib/libzstd.so.1.5.6 /usr/lib/
175+
COPY --from=pg17-builder /usr/lib/libzstd.so.1.5.7 /usr/lib/
176176
COPY --from=pg17-builder /usr/lib/liblz4.so.1.10.0 /usr/lib/
177177

178178
RUN ln -s libpq.so.5.17 /usr/lib/libpq.so.5 && \
@@ -192,7 +192,6 @@ COPY pkg/docker/entrypoint.sh /entrypoint.sh
192192

193193
# License files
194194
COPY LICENSE /pgadmin4/LICENSE
195-
COPY DEPENDENCIES /pgadmin4/DEPENDENCIES
196195

197196
# Install runtime dependencies and configure everything in one RUN step
198197
RUN apk add --no-cache \

Make.bat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ REM Main build sequence Ends
239239

240240
ECHO Staging license files...
241241
COPY "%WD%\LICENSE" "%BUILDROOT%\" > nul || EXIT /B 1
242-
COPY "%WD%\DEPENDENCIES" "%BUILDROOT%\" > nul || EXIT /B 1
243242

244243
ECHO Creating config_distro.py
245244
ECHO SERVER_MODE = False > "%BUILDROOT%\web\config_distro.py"

docs/en_US/release_notes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ notes for it.
1212
:maxdepth: 1
1313

1414

15+
release_notes_9_5
1516
release_notes_9_4
1617
release_notes_9_3
1718
release_notes_9_2

docs/en_US/release_notes_9_5.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
***********
2+
Version 9.5
3+
***********
4+
5+
Release date: 2025-06-26
6+
7+
This release contains a number of bug fixes and new features since the release of pgAdmin 4 v9.4.
8+
9+
Supported Database Servers
10+
**************************
11+
**PostgreSQL**: 13, 14, 15, 16 and 17
12+
13+
**EDB Advanced Server**: 13, 14, 15, 16 and 17
14+
15+
Bundled PostgreSQL Utilities
16+
****************************
17+
**psql**, **pg_dump**, **pg_dumpall**, **pg_restore**: 17.2
18+
19+
20+
New features
21+
************
22+
23+
| `Issue #8665 <https://github.com/pgadmin-org/pgadmin4/issues/8665>`_ - Supports JSON logging for gunicorn process within Docker.
24+
25+
Housekeeping
26+
************
27+
28+
29+
Bug fixes
30+
*********
31+
32+
| `Issue #6118 <https://github.com/pgadmin-org/pgadmin4/issues/6118>`_ - Improved PL/pgSQL code folding and support nested blocks.
33+
| `Issue #7466 <https://github.com/pgadmin-org/pgadmin4/issues/7466>`_ - Fixed an issue where utilities such as pg_dump and pg_restore failed to log error messages when required dependency files were missing.
34+
| `Issue #8032 <https://github.com/pgadmin-org/pgadmin4/issues/8032>`_ - Fixed an issue where the Schema Diff Tool incorrectly reported differences due to variations in the order of the privileges.
35+
| `Issue #8691 <https://github.com/pgadmin-org/pgadmin4/issues/8691>`_ - Fixed an issue in the query tool where using multiple cursors to copy text resulted in only the first line being copied.

pkg/docker/gunicorn_config.py

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,45 @@
11
import gunicorn
2-
gunicorn.SERVER_SOFTWARE = 'Python'
2+
3+
# Can be resolved because of how Dockerfile organizes the code during build
4+
from config import JSON_LOGGER, CONSOLE_LOG_LEVEL, CONSOLE_LOG_FORMAT_JSON
5+
6+
gunicorn.SERVER_SOFTWARE = "Python"
7+
8+
if JSON_LOGGER:
9+
logconfig_dict = {
10+
"version": 1,
11+
"disable_existing_loggers": False,
12+
"root": {"level": CONSOLE_LOG_LEVEL, "handlers": []},
13+
"loggers": {
14+
"gunicorn.error": {
15+
"level": CONSOLE_LOG_LEVEL,
16+
"handlers": ["error_console"],
17+
"propagate": True,
18+
"qualname": "gunicorn.error",
19+
},
20+
"gunicorn.access": {
21+
"level": CONSOLE_LOG_LEVEL,
22+
"handlers": ["console"],
23+
"propagate": True,
24+
"qualname": "gunicorn.access",
25+
},
26+
},
27+
"handlers": {
28+
"console": {
29+
"class": "logging.StreamHandler",
30+
"formatter": "json",
31+
"stream": "ext://sys.stdout",
32+
},
33+
"error_console": {
34+
"class": "logging.StreamHandler",
35+
"formatter": "json",
36+
"stream": "ext://sys.stderr",
37+
},
38+
},
39+
"formatters": {
40+
"json": {
41+
"class": "jsonformatter.JsonFormatter",
42+
"format": CONSOLE_LOG_FORMAT_JSON,
43+
},
44+
},
45+
}

pkg/linux/build-functions.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ _copy_code() {
242242

243243
# License files
244244
cp "${SOURCEDIR}/LICENSE" "${SERVERROOT}/usr/${APP_NAME}/"
245-
cp "${SOURCEDIR}/DEPENDENCIES" "${SERVERROOT}/usr/${APP_NAME}/"
246245

247246
# Web setup script
248247
mkdir -p "${WEBROOT}/usr/${APP_NAME}/bin/"

pkg/mac/build-functions.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ _complete_bundle() {
317317

318318
# License files
319319
cp -r "${SOURCE_DIR}/LICENSE" "${BUNDLE_DIR}/Contents/"
320-
cp -r "${SOURCE_DIR}/DEPENDENCIES" "${BUNDLE_DIR}/Contents/"
321320

322321
# Remove the .pyc files if any
323322
find "${BUNDLE_DIR}" -name "*.pyc" -print0 | xargs -0 rm -f

0 commit comments

Comments
 (0)