From ead272834a8c7541e39e16216b9a9807584f82bf Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 11 Jan 2023 14:10:25 +0100 Subject: [PATCH] Use PostgreSQL 15 by default (#1166) --- doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml | 2 +- doctrine/doctrine-bundle/1.12/manifest.json | 4 ++-- doctrine/doctrine-bundle/1.12/post-install.txt | 4 ++-- doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml | 2 +- doctrine/doctrine-bundle/1.6/manifest.json | 4 ++-- doctrine/doctrine-bundle/1.6/post-install.txt | 4 ++-- doctrine/doctrine-bundle/2.0/config/packages/doctrine.yaml | 2 +- doctrine/doctrine-bundle/2.0/manifest.json | 4 ++-- doctrine/doctrine-bundle/2.0/post-install.txt | 2 +- doctrine/doctrine-bundle/2.3/config/packages/doctrine.yaml | 2 +- doctrine/doctrine-bundle/2.3/manifest.json | 4 ++-- doctrine/doctrine-bundle/2.3/post-install.txt | 2 +- doctrine/doctrine-bundle/2.4/config/packages/doctrine.yaml | 2 +- doctrine/doctrine-bundle/2.4/manifest.json | 4 ++-- doctrine/doctrine-bundle/2.4/post-install.txt | 2 +- doctrine/doctrine-bundle/2.8/config/packages/doctrine.yaml | 2 +- doctrine/doctrine-bundle/2.8/manifest.json | 4 ++-- doctrine/doctrine-bundle/2.8/post-install.txt | 2 +- 18 files changed, 26 insertions(+), 26 deletions(-) diff --git a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml index 1bd3bd12..802b2182 100644 --- a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml @@ -4,7 +4,7 @@ doctrine: # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) - #server_version: '14' + #server_version: '15' # only needed for MySQL charset: utf8mb4 diff --git a/doctrine/doctrine-bundle/1.12/manifest.json b/doctrine/doctrine-bundle/1.12/manifest.json index 8e749586..c1ee5009 100644 --- a/doctrine/doctrine-bundle/1.12/manifest.json +++ b/doctrine/doctrine-bundle/1.12/manifest.json @@ -12,7 +12,7 @@ "#3": "", "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/db_name?serverVersion=8\"", - "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/db_name?serverVersion=14&charset=utf8" + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/db_name?serverVersion=15&charset=utf8" }, "dockerfile": [ "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\", @@ -24,7 +24,7 @@ "docker-compose.yml": { "services": [ "database:", - " image: postgres:${POSTGRES_VERSION:-14}-alpine", + " image: postgres:${POSTGRES_VERSION:-15}-alpine", " environment:", " POSTGRES_DB: ${POSTGRES_DB:-app}", " # You should definitely change the password in production", diff --git a/doctrine/doctrine-bundle/1.12/post-install.txt b/doctrine/doctrine-bundle/1.12/post-install.txt index 99a8825e..e84c63bc 100644 --- a/doctrine/doctrine-bundle/1.12/post-install.txt +++ b/doctrine/doctrine-bundle/1.12/post-install.txt @@ -1,4 +1,4 @@ * Modify your DATABASE_URL config in .env - * Configure the driver (mysql) and - server_version (5.7) in config/packages/doctrine.yaml + * Configure the driver (postgresql) and + server_version (15) in config/packages/doctrine.yaml diff --git a/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml index 2e71ea09..a8e2ebcd 100644 --- a/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml @@ -4,7 +4,7 @@ doctrine: # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) - #server_version: '14' + #server_version: '15' # only needed for MySQL charset: utf8mb4 diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index 9c63d333..34d3cbf3 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -12,7 +12,7 @@ "#3": "", "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8\"", - "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=14&charset=utf8" + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8" }, "dockerfile": [ "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\", @@ -24,7 +24,7 @@ "docker-compose.yml": { "services": [ "database:", - " image: postgres:${POSTGRES_VERSION:-14}-alpine", + " image: postgres:${POSTGRES_VERSION:-15}-alpine", " environment:", " POSTGRES_DB: ${POSTGRES_DB:-app}", " # You should definitely change the password in production", diff --git a/doctrine/doctrine-bundle/1.6/post-install.txt b/doctrine/doctrine-bundle/1.6/post-install.txt index 99a8825e..e84c63bc 100644 --- a/doctrine/doctrine-bundle/1.6/post-install.txt +++ b/doctrine/doctrine-bundle/1.6/post-install.txt @@ -1,4 +1,4 @@ * Modify your DATABASE_URL config in .env - * Configure the driver (mysql) and - server_version (5.7) in config/packages/doctrine.yaml + * Configure the driver (postgresql) and + server_version (15) in config/packages/doctrine.yaml diff --git a/doctrine/doctrine-bundle/2.0/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/2.0/config/packages/doctrine.yaml index 12cfc2fc..8e337f73 100644 --- a/doctrine/doctrine-bundle/2.0/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/2.0/config/packages/doctrine.yaml @@ -4,7 +4,7 @@ doctrine: # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) - #server_version: '14' + #server_version: '15' orm: auto_generate_proxy_classes: true naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware diff --git a/doctrine/doctrine-bundle/2.0/manifest.json b/doctrine/doctrine-bundle/2.0/manifest.json index 9c63d333..34d3cbf3 100644 --- a/doctrine/doctrine-bundle/2.0/manifest.json +++ b/doctrine/doctrine-bundle/2.0/manifest.json @@ -12,7 +12,7 @@ "#3": "", "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8\"", - "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=14&charset=utf8" + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8" }, "dockerfile": [ "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\", @@ -24,7 +24,7 @@ "docker-compose.yml": { "services": [ "database:", - " image: postgres:${POSTGRES_VERSION:-14}-alpine", + " image: postgres:${POSTGRES_VERSION:-15}-alpine", " environment:", " POSTGRES_DB: ${POSTGRES_DB:-app}", " # You should definitely change the password in production", diff --git a/doctrine/doctrine-bundle/2.0/post-install.txt b/doctrine/doctrine-bundle/2.0/post-install.txt index bd9515ed..e84c63bc 100644 --- a/doctrine/doctrine-bundle/2.0/post-install.txt +++ b/doctrine/doctrine-bundle/2.0/post-install.txt @@ -1,4 +1,4 @@ * Modify your DATABASE_URL config in .env * Configure the driver (postgresql) and - server_version (14) in config/packages/doctrine.yaml + server_version (15) in config/packages/doctrine.yaml diff --git a/doctrine/doctrine-bundle/2.3/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/2.3/config/packages/doctrine.yaml index 12cfc2fc..8e337f73 100644 --- a/doctrine/doctrine-bundle/2.3/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/2.3/config/packages/doctrine.yaml @@ -4,7 +4,7 @@ doctrine: # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) - #server_version: '14' + #server_version: '15' orm: auto_generate_proxy_classes: true naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware diff --git a/doctrine/doctrine-bundle/2.3/manifest.json b/doctrine/doctrine-bundle/2.3/manifest.json index 625230fc..249c4dac 100644 --- a/doctrine/doctrine-bundle/2.3/manifest.json +++ b/doctrine/doctrine-bundle/2.3/manifest.json @@ -12,7 +12,7 @@ "#3": "", "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4\"", - "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=14&charset=utf8" + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8" }, "dockerfile": [ "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\", @@ -24,7 +24,7 @@ "docker-compose.yml": { "services": [ "database:", - " image: postgres:${POSTGRES_VERSION:-14}-alpine", + " image: postgres:${POSTGRES_VERSION:-15}-alpine", " environment:", " POSTGRES_DB: ${POSTGRES_DB:-app}", " # You should definitely change the password in production", diff --git a/doctrine/doctrine-bundle/2.3/post-install.txt b/doctrine/doctrine-bundle/2.3/post-install.txt index bd9515ed..e84c63bc 100644 --- a/doctrine/doctrine-bundle/2.3/post-install.txt +++ b/doctrine/doctrine-bundle/2.3/post-install.txt @@ -1,4 +1,4 @@ * Modify your DATABASE_URL config in .env * Configure the driver (postgresql) and - server_version (14) in config/packages/doctrine.yaml + server_version (15) in config/packages/doctrine.yaml diff --git a/doctrine/doctrine-bundle/2.4/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/2.4/config/packages/doctrine.yaml index ba9d078e..1bb885e6 100644 --- a/doctrine/doctrine-bundle/2.4/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/2.4/config/packages/doctrine.yaml @@ -4,7 +4,7 @@ doctrine: # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) - #server_version: '14' + #server_version: '15' orm: auto_generate_proxy_classes: true naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware diff --git a/doctrine/doctrine-bundle/2.4/manifest.json b/doctrine/doctrine-bundle/2.4/manifest.json index 49b4292e..352fbdbc 100644 --- a/doctrine/doctrine-bundle/2.4/manifest.json +++ b/doctrine/doctrine-bundle/2.4/manifest.json @@ -12,7 +12,7 @@ "#3": "", "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4\"", - "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=14&charset=utf8" + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8" }, "dockerfile": [ "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\", @@ -24,7 +24,7 @@ "docker-compose.yml": { "services": [ "database:", - " image: postgres:${POSTGRES_VERSION:-14}-alpine", + " image: postgres:${POSTGRES_VERSION:-15}-alpine", " environment:", " POSTGRES_DB: ${POSTGRES_DB:-app}", " # You should definitely change the password in production", diff --git a/doctrine/doctrine-bundle/2.4/post-install.txt b/doctrine/doctrine-bundle/2.4/post-install.txt index bd9515ed..e84c63bc 100644 --- a/doctrine/doctrine-bundle/2.4/post-install.txt +++ b/doctrine/doctrine-bundle/2.4/post-install.txt @@ -1,4 +1,4 @@ * Modify your DATABASE_URL config in .env * Configure the driver (postgresql) and - server_version (14) in config/packages/doctrine.yaml + server_version (15) in config/packages/doctrine.yaml diff --git a/doctrine/doctrine-bundle/2.8/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/2.8/config/packages/doctrine.yaml index e098899b..bdff96fe 100644 --- a/doctrine/doctrine-bundle/2.8/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/2.8/config/packages/doctrine.yaml @@ -4,7 +4,7 @@ doctrine: # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) - #server_version: '14' + #server_version: '15' orm: auto_generate_proxy_classes: true enable_lazy_ghost_objects: true diff --git a/doctrine/doctrine-bundle/2.8/manifest.json b/doctrine/doctrine-bundle/2.8/manifest.json index 95734076..dbbcddaa 100644 --- a/doctrine/doctrine-bundle/2.8/manifest.json +++ b/doctrine/doctrine-bundle/2.8/manifest.json @@ -12,7 +12,7 @@ "#3": "", "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4\"", - "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=14&charset=utf8" + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8" }, "dockerfile": [ "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\", @@ -24,7 +24,7 @@ "docker-compose.yml": { "services": [ "database:", - " image: postgres:${POSTGRES_VERSION:-14}-alpine", + " image: postgres:${POSTGRES_VERSION:-15}-alpine", " environment:", " POSTGRES_DB: ${POSTGRES_DB:-app}", " # You should definitely change the password in production", diff --git a/doctrine/doctrine-bundle/2.8/post-install.txt b/doctrine/doctrine-bundle/2.8/post-install.txt index bd9515ed..e84c63bc 100644 --- a/doctrine/doctrine-bundle/2.8/post-install.txt +++ b/doctrine/doctrine-bundle/2.8/post-install.txt @@ -1,4 +1,4 @@ * Modify your DATABASE_URL config in .env * Configure the driver (postgresql) and - server_version (14) in config/packages/doctrine.yaml + server_version (15) in config/packages/doctrine.yaml