Skip to content

Commit 94998cf

Browse files
authored
Merge branch 'master' into chore/databases/mysql
2 parents 6f683c7 + 6b2407c commit 94998cf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+939
-548
lines changed

.github/dependabot.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,20 @@ updates:
88
open-pull-requests-limit: 10
99
schedule:
1010
interval: "monthly"
11+
time: "06:00"
12+
timezone: "Europe/Paris"
1113
reviewers:
1214
- "Anouchka-M"
13-
- "aurelien-reeves-scalingo"
15+
- "annabelle-scalingo"
1416
- package-ecosystem: "npm"
1517
directory: "/"
1618
allow:
1719
- dependency-type: "all"
20+
open-pull-requests-limit: 10
1821
schedule:
1922
interval: "monthly"
23+
time: "06:00"
24+
timezone: "Europe/Paris"
2025
reviewers:
2126
- "Anouchka-M"
22-
- "aurelien-reeves-scalingo"
27+
- "annabelle-scalingo"

Gemfile.lock

+27-23
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,23 @@ GEM
2525
uri (>= 0.13.1)
2626
addressable (2.8.7)
2727
public_suffix (>= 2.0.2, < 7.0)
28-
ast (2.4.2)
28+
ast (2.4.3)
2929
base64 (0.2.0)
3030
benchmark (0.4.0)
3131
bigdecimal (3.1.9)
3232
coderay (1.1.3)
3333
colorator (1.1.0)
3434
concurrent-ruby (1.3.5)
3535
connection_pool (2.5.0)
36-
csv (3.3.2)
36+
csv (3.3.3)
3737
drb (2.2.1)
3838
em-websocket (0.5.3)
3939
eventmachine (>= 0.12.9)
4040
http_parser.rb (~> 0)
4141
eventmachine (1.2.7)
4242
ffi (1.17.1-x86_64-linux-gnu)
4343
forwardable-extended (2.6.0)
44-
google-protobuf (4.29.3-x86_64-linux)
44+
google-protobuf (4.30.2-x86_64-linux)
4545
bigdecimal
4646
rake (>= 13)
4747
http_parser.rb (0.8.0)
@@ -77,7 +77,7 @@ GEM
7777
nokogiri (~> 1.12)
7878
jekyll-watch (2.2.1)
7979
listen (~> 3.0)
80-
json (2.10.1)
80+
json (2.10.2)
8181
kramdown (2.5.1)
8282
rexml (>= 3.3.9)
8383
kramdown-parser-gfm (1.1.0)
@@ -90,19 +90,20 @@ GEM
9090
listen (3.9.0)
9191
rb-fsevent (~> 0.10, >= 0.10.3)
9292
rb-inotify (~> 0.9, >= 0.9.10)
93-
logger (1.6.6)
93+
logger (1.7.0)
9494
mercenary (0.4.0)
9595
method_source (1.1.0)
9696
minitest (5.25.4)
9797
nio4r (2.7.4)
98-
nokogiri (1.18.3-x86_64-linux-gnu)
98+
nokogiri (1.18.4-x86_64-linux-gnu)
9999
racc (~> 1.4)
100100
parallel (1.26.3)
101-
parser (3.3.7.1)
101+
parser (3.3.7.4)
102102
ast (~> 2.4.1)
103103
racc
104104
pathutil (0.16.2)
105105
forwardable-extended (~> 2.6)
106+
prism (1.4.0)
106107
pry (0.14.2)
107108
coderay (~> 1.1)
108109
method_source (~> 1.0)
@@ -112,7 +113,7 @@ GEM
112113
pry (>= 0.13.0)
113114
psych (3.3.4)
114115
public_suffix (6.0.1)
115-
puma (6.5.0)
116+
puma (6.6.0)
116117
nio4r (~> 2.0)
117118
racc (1.8.1)
118119
rack (2.2.13)
@@ -131,38 +132,41 @@ GEM
131132
regexp_parser (2.10.0)
132133
rexml (3.4.1)
133134
rouge (4.5.1)
134-
rubocop (1.71.2)
135+
rubocop (1.75.2)
135136
json (~> 2.3)
136-
language_server-protocol (>= 3.17.0)
137+
language_server-protocol (~> 3.17.0.2)
138+
lint_roller (~> 1.1.0)
137139
parallel (~> 1.10)
138140
parser (>= 3.3.0.2)
139141
rainbow (>= 2.2.2, < 4.0)
140142
regexp_parser (>= 2.9.3, < 3.0)
141-
rubocop-ast (>= 1.38.0, < 2.0)
143+
rubocop-ast (>= 1.44.0, < 2.0)
142144
ruby-progressbar (~> 1.7)
143145
unicode-display_width (>= 2.4.0, < 4.0)
144-
rubocop-ast (1.38.1)
145-
parser (>= 3.3.1.0)
146-
rubocop-performance (1.23.1)
147-
rubocop (>= 1.48.1, < 2.0)
148-
rubocop-ast (>= 1.31.1, < 2.0)
146+
rubocop-ast (1.44.0)
147+
parser (>= 3.3.7.2)
148+
prism (~> 1.4)
149+
rubocop-performance (1.25.0)
150+
lint_roller (~> 1.1)
151+
rubocop (>= 1.75.0, < 2.0)
152+
rubocop-ast (>= 1.38.0, < 2.0)
149153
ruby-progressbar (1.13.0)
150154
safe_yaml (1.0.5)
151-
sass-embedded (1.85.1-x86_64-linux-gnu)
152-
google-protobuf (~> 4.29)
155+
sass-embedded (1.86.1-x86_64-linux-gnu)
156+
google-protobuf (~> 4.30)
153157
securerandom (0.4.1)
154-
standard (1.45.0)
158+
standard (1.49.0)
155159
language_server-protocol (~> 3.17.0.2)
156160
lint_roller (~> 1.0)
157-
rubocop (~> 1.71.0)
161+
rubocop (~> 1.75.2)
158162
standard-custom (~> 1.0.0)
159-
standard-performance (~> 1.6)
163+
standard-performance (~> 1.8)
160164
standard-custom (1.0.2)
161165
lint_roller (~> 1.0)
162166
rubocop (~> 1.50)
163-
standard-performance (1.6.0)
167+
standard-performance (1.8.0)
164168
lint_roller (~> 1.1)
165-
rubocop-performance (~> 1.23.0)
169+
rubocop-performance (~> 1.25.0)
166170
terminal-table (3.0.2)
167171
unicode-display_width (>= 1.1.1, < 3)
168172
tzinfo (2.0.6)

redirections.yml

+6
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,12 @@
624624
old: "/databases/mongodb/robo3t"
625625
new: "/databases/mongodb/studio3t"
626626

627+
- old: "/platform/app/scaling"
628+
new: "/platform/app/scaling/scaling"
629+
630+
- old: "/platform/app/autoscaler"
631+
new: "/platform/app/scaling/scalingo-autoscaler"
632+
627633
obsolete:
628634
- "/how-to-migrate-from-cloudcontrol/"
629635
- "/how-to-migrate-from-shelly-cloud/"

src/_includes/database_postgresql_extensions.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ vim Syntax:
5353
</tr>
5454
<tr valign="top">
5555
<td align="left"><code class="language-plaintext highlighter-rouge">earthdistance</code></td>
56-
<td align="left"><code>1.1</code></td>
56+
<td align="left"><code>1.2</code></td>
5757
<td align="left">calculate great-circle distances on the surface of the Earth</td>
5858
</tr>
5959
<tr valign="top">
@@ -108,27 +108,27 @@ vim Syntax:
108108
</tr>
109109
<tr valign="top">
110110
<td align="left"><code class="language-plaintext highlighter-rouge">postgis</code></td>
111-
<td align="left"><code>3.5.1</code></td>
111+
<td align="left"><code>3.5.2</code></td>
112112
<td align="left">PostGIS geometry and geography spatial types and functions</td>
113113
</tr>
114114
<tr valign="top">
115115
<td align="left"><code class="language-plaintext highlighter-rouge">postgis_raster</code></td>
116-
<td align="left"><code>3.5.1</code></td>
116+
<td align="left"><code>3.5.2</code></td>
117117
<td align="left">PostGIS raster types and functions</td>
118118
</tr>
119119
<tr valign="top">
120120
<td align="left"><code class="language-plaintext highlighter-rouge">postgis_sfcgal</code></td>
121-
<td align="left"><code>3.5.1</code></td>
121+
<td align="left"><code>3.5.2</code></td>
122122
<td align="left">PostGIS SFCGAL functions</td>
123123
</tr>
124124
<tr valign="top">
125125
<td align="left"><code class="language-plaintext highlighter-rouge">postgis_tiger_geocoder</code></td>
126-
<td align="left"><code>3.5.1</code></td>
126+
<td align="left"><code>3.5.2</code></td>
127127
<td align="left">PostGIS tiger geocoder and reverse geocoder</td>
128128
</tr>
129129
<tr valign="top">
130130
<td align="left"><code class="language-plaintext highlighter-rouge">postgis_topology</code></td>
131-
<td align="left"><code>3.5.1</code></td>
131+
<td align="left"><code>3.5.2</code></td>
132132
<td align="left">PostGIS topology spatial types and functions</td>
133133
</tr>
134134
<tr valign="top">
@@ -143,7 +143,7 @@ vim Syntax:
143143
</tr>
144144
<tr valign="top">
145145
<td align="left"><code class="language-plaintext highlighter-rouge">timescaledb</code></td>
146-
<td align="left"><code>2.17.2</code></td>
146+
<td align="left"><code>2.19.3</code></td>
147147
<td align="left">Enables scalable inserts and complex queries for time-series data</td>
148148
</tr>
149149
<tr valign="top">

src/_posts/databases/2000-01-01-overview.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Scalingo Database Addons
33
nav: Overview
4-
modified_at: 2024-11-28 12:00:00
4+
modified_at: 2025-04-01 12:00:00
55
tags: index-databases
66
index: 1
77
---
@@ -71,11 +71,6 @@ is extended to 1 year.
7171
* [Scalingo for InfluxDB®]({% post_url databases/influxdb/2000-01-01-start %})
7272

7373

74-
## Backups Retention Policy
75-
76-
{% include database_backups.md %}
77-
78-
7974
## Encryption at Rest
8075

8176
All databases created after the 6th of January 2019 have encryption at rest

src/_posts/databases/postgresql/2000-01-01-accessing.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Accessing Your Scalingo for PostgreSQL® Addon
33
nav: Accessing
4-
modified_at: 2024-10-21 00:00:00
4+
modified_at: 2025-03-14 00:00:00
55
tags: databases postgresql addon
66
index: 4
77
---
@@ -29,8 +29,8 @@ depends on your needs and preferences.
2929

3030
---> Download and extract the database CLI
3131
---> Database CLI installed:
32-
psql (PostgreSQL) 15.8
33-
psql (15.8, server 15.8 (Debian 15.8-1.pgdg120+1))
32+
psql (PostgreSQL) 16.6
33+
psql (16.6, server 16.6 (Debian 16.6-1.pgdg120+1))
3434
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: 256, compression: off)
3535
Type "help" for help.
3636

@@ -55,7 +55,7 @@ depends on your needs and preferences.
5555
```text
5656
---> Download and extract the database CLI
5757
---> Database CLI installed:
58-
psql (PostgreSQL) 15.8
58+
psql (PostgreSQL) 16.6
5959
```
6060

6161
If you ever need a specific version, just add it as a second parameter:

src/_posts/databases/postgresql/2000-01-01-overview.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Scalingo for PostgreSQL® Overview
33
nav: Overview
4-
modified_at: 2025-01-29 12:00:00
4+
modified_at: 2025-03-14 12:00:00
55
tags: database postgresql addon
66
index: 1
77
---
@@ -69,13 +69,13 @@ ensure security, performance, and operational efficiency.
6969

7070
| PostgreSQL Version | Full Version |
7171
| ------------------: | ----------------: |
72-
| `16` | up to `16.6.0-1` |
73-
| **`15`** | up to `15.10.0-1` |
72+
| **`16`** | up to `16.6.0-1` |
73+
| `15` | up to `15.10.0-1` |
7474
| `14` | up to `14.15.0-1` |
7575
| `13` | up to `13.18.0-1` |
7676

7777
The default version when provisioning a Scalingo for PostgreSQL® addon is
78-
**`15.10.0-1`**.
78+
**`16.6.0-1`**.
7979

8080
{% note %}
8181
If you need to provision a Scalingo for PostgreSQL® addon with a specific

src/_posts/languages/go/2000-01-01-start.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Go
33
nav: Introduction
4-
modified_at: 2025-03-05 12:00:00
4+
modified_at: 2025-04-04 12:00:00
55
tags: go
66
index: 1
77
---
@@ -16,8 +16,8 @@ The following versions of Go are available:
1616

1717
| Go Version | `scalingo-20` | `scalingo-22` |
1818
| -----------: | --------------: | --------------: |
19-
| **`go1.24`** | up to `1.24.1` | up to `1.24.1` |
20-
| **`go1.23`** | up to `1.23.7` | up to `1.23.7` |
19+
| **`go1.24`** | up to `1.24.2` | up to `1.24.2` |
20+
| **`go1.23`** | up to `1.23.8` | up to `1.23.8` |
2121
| **`go1.22`** | up to `1.22.12` | up to `1.22.12` |
2222
| **`go1.21`** | up to `1.21.13` | up to `1.21.13` |
2323
| **`go1.20`** | up to `1.20.14` | up to `1.20.14` |

src/_posts/languages/php/2000-01-01-dependencies.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Managing Dependencies
33
nav: Managing Dependencies
4-
modified_at: 2025-02-25 12:00:00
4+
modified_at: 2025-04-07 12:00:00
55
tags: php
66
index: 3
77
---
@@ -95,7 +95,7 @@ You can select the Composer version to install by specifying it in your
9595

9696
Scalingo currently supports the following versions of Composer:
9797

98-
- `2.8.6`
98+
- `2.8.8`
9999
- `2.7.9`
100100
- `2.6.6`
101101
- `2.2.25` (LTS)

src/_posts/languages/php/2000-01-01-extensions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Managing PHP Extensions
33
nav: Managing PHP Extensions
4-
modified_at: 2025-03-03 12:00:00
4+
modified_at: 2025-03-25 12:00:00
55
tags: php
66
index: 4
77
---
@@ -159,7 +159,7 @@ The following table lists the supported versions of available PECL extensions:
159159
| `ext-memcached` | `3.3.0` | `3.3.0` | `3.3.0` | `3.3.0` |
160160
| `ext-mongodb` | `1.21.0` | `1.21.0` | `1.21.0` | `1.21.0` |
161161
| `ext-oci8` | | `3.4.0` | `3.4.0` | `3.4.0` |
162-
| `ext-redis` | `6.1.0` | `6.1.0` | `6.1.0` | `6.1.0` |
162+
| `ext-redis` | `6.2.0` | `6.2.0` | `6.2.0` | `6.2.0` |
163163

164164
### Enabling an Available PECL Extension
165165

src/_posts/languages/php/2000-01-01-start.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: PHP on Scalingo
33
nav: Introduction
4-
modified_at: 2025-03-12 12:00:00
4+
modified_at: 2025-04-11 12:00:00
55
tags: php
66
index: 1
77
---
@@ -39,8 +39,8 @@ The following PHP versions are available:
3939

4040
| PHP Version | scalingo-20 | scalingo-22 |
4141
| ----------: | -------------: | -------------: |
42-
| **`8.4`** | up to `8.4.5` | up to `8.4.5` |
43-
| **`8.3`** | up to `8.3.19` | up to `8.3.19` |
42+
| **`8.4`** | up to `8.4.6` | up to `8.4.6` |
43+
| **`8.3`** | up to `8.3.20` | up to `8.3.20` |
4444
| **`8.2`** | up to `8.2.28` | up to `8.2.28` |
4545
| **`8.1`** | up to `8.1.32` | up to `8.1.32` |
4646
| **`8.0`** | up to `8.0.30` | unsupported |

src/_posts/languages/php/2000-01-01-symfony.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Deploying Symfony on Scalingo
33
nav: Symfony
4-
modified_at: 2024-06-21 00:00:00
4+
modified_at: 2025-04-01 00:00:00
55
tags: php framework symfony assetic deployment
66
index: 7
77
---
@@ -150,6 +150,21 @@ here](https://symfony.com/doc/current/reference/dic_tags.html#kernel-cache-warme
150150

151151
Managing assets in a Symfony apps only requires a handful of PHP packages. Refer to the [Symfony documentation](https://symfony.com/doc/current/frontend/asset_mapper.html#installation) for comprehensive instructions on how to install AssetMapper.
152152

153+
## Database Connection over TLS
154+
155+
If your database requires connections over the TLS protocol, you need to configure Symfony to use Scalingo’s certificate authority (CA) file for the connection to work.
156+
These settings are typically defined in `config/packages/doctrine.yaml`.
157+
158+
```yaml
159+
doctrine:
160+
dbal:
161+
url: '%env(DATABASE_URL)%'
162+
options:
163+
# Path to the CA file inside the container
164+
!php/const PDO::MYSQL_ATTR_SSL_CA: '/usr/share/ca-certificates/Scalingo/scalingo-database.pem'
165+
!php/const PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT: true
166+
```
167+
153168
## Applying Database Migration
154169

155170
During the lifetime of your application, you may need to update the schema of

0 commit comments

Comments
 (0)