Skip to content

Commit 36af62e

Browse files
Merge branch 'main' into serverless-jobs-permissions
2 parents 32c05a1 + 4c2f952 commit 36af62e

File tree

571 files changed

+4192
-2521
lines changed

Some content is hidden

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

571 files changed

+4192
-2521
lines changed

bin/check-review-dates.py

Lines changed: 49 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
import logging
33
from slack_sdk import WebClient
44
from datetime import timedelta, date, datetime
5-
import json
5+
import re
6+
import ast
67

78
DEFAULT_VAL_FREQ = 6
89
FILEPATH = "./" ## for local testing use "../" and shift filepath_list[] indexes +1
@@ -22,18 +23,53 @@ def get_prod_cat_ref():
2223

2324
product_categories = {}
2425

25-
# Load the menu file
26-
with open(FILEPATH + 'menu/navigation.json', 'r') as file:
27-
data = json.load(file) # Parse the JSON content into a Python dictionary or list
28-
29-
for grouping in data:
30-
for category in grouping["items"]:
31-
category_label = category["label"]
32-
for product in category["items"]:
33-
product_label = product["label"]
34-
product_slug = product["slug"]
35-
36-
product_categories[product_slug] = [category_label, product_label]
26+
# Read the menu file
27+
with open(FILEPATH + "menu/navigation.ts", "r", encoding="utf-8") as f:
28+
js = f.read()
29+
30+
# remove all lines up to "export default"
31+
js = re.sub(r"^import .*", "", js, flags=re.M) # remove import lines
32+
js = re.sub(r"//.*", "", js) # strip line comments
33+
js = re.sub(r"/\*.*?\*/", "", js, flags=re.S) # strip block comments
34+
js = js.replace("export default", "").strip() # strip "export default" and cleanup
35+
36+
# Convert items - [accountMenu, billingMenu] → ['account', 'billing']
37+
js = re.sub(r"\b([a-zA-Z0-9_]+)Menu\b(?!')", r"'\1'", js)
38+
39+
# Convert icons - OrganizationDashboardCategoryIcon → 'OrganizationDashboardCategory'
40+
js = re.sub(r"\b([A-Z][A-Za-z0-9]+)Icon\b(?!')", r"'\1'", js)
41+
42+
# Normalize JS → Python syntax ---
43+
js = re.sub(r"(\w+):", r"'\1':", js) # quote keys
44+
js = js.replace("null", "None") # replace nulls with Nones
45+
js = re.sub(r",(\s*[}\]])", r"\1", js) # remove trailing commas
46+
47+
# Convert the js string now containing Python literal syntax, into an actual Python object.
48+
data = ast.literal_eval(js)
49+
50+
# Helper function
51+
def camel_to_kebab(name: str) -> str:
52+
"""Convert camelCase or PascalCase to kebab-case."""
53+
s1 = re.sub('(.)([A-Z][a-z]+)', r'\1-\2', name)
54+
s2 = re.sub('([a-z0-9])([A-Z])', r'\1-\2', s1)
55+
return s2.lower()
56+
57+
# Helper function
58+
def prettify_label(slug: str) -> str:
59+
"""Convert kebab-case to title case."""
60+
return slug.replace("-", " ").title()
61+
62+
# Walk structure and make new dict
63+
64+
product_categories = {}
65+
66+
for section in data:
67+
for category in section["items"]:
68+
category_label = category["label"]
69+
for item in category["items"]:
70+
key = camel_to_kebab(item).lower().replace("_", "-")
71+
label = prettify_label(key)
72+
product_categories[key] = [category_label, label]
3773

3874
return(product_categories)
3975

changelog/april2024/2024-04-04-webhosting-added-web-hosting-migration-between-online-a.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A significant upgrade for all our clients is available now: the ability to seaml
1313

1414
**How it works:**
1515

16-
The migration process starts off from your [Online Console](https://console.online.net/). Simply initiate the process when prompted, and you will be guided through each step. If you have not already created a Scaleway account, you will receive an invitation to create one in the near future.
16+
The migration process starts off from your [Online Console](https://console.online.net/en/login). Simply initiate the process when prompted, and you will be guided through each step. If you have not already created a Scaleway account, you will receive an invitation to create one in the near future.
1717

1818
Our migration tool handles everything for you, ensuring a smooth transition. Plus, if you also have domains hosted with Scaleway/Online, the process becomes even more streamlined. All you need to do is select your new hosting offer, and let the tool take care of the rest.
1919

changelog/april2025/2025-04-08-public-gateways-changed-new-public-gateway-api-v2.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ category: network
66
product: public-gateways
77
---
88

9-
We have released a new [Public Gateways API v2](https://www.scaleway.com/en/developers/api/public-gateway/), which comes with a new security feature for SSH bastion: [Allowed IPs](https://www.scaleway.com/en/docs/public-gateways/concepts/#allowed-ips). This version also removes some old DHCP features that are now managed by the IPAM and the built-in DHCP of the Private Networks.
9+
We have released a new [Public Gateways API v2](https://www.scaleway.com/en/developers/api/public-gateways/), which comes with a new security feature for SSH bastion: [Allowed IPs](https://www.scaleway.com/en/docs/public-gateways/concepts/#allowed-ips). This version also removes some old DHCP features that are now managed by the IPAM and the built-in DHCP of the Private Networks.
1010

1111
The API v1 is now deprecated and will be definitively removed by October 1, 2025. Public Gateways users are encouraged to migrate to the API v2.
1212
[Learn more in our detailed documentation.](/public-gateways/reference-content/understanding-v2/)

changelog/august2025/2025-08-14-generative-apis-added-gpt-oss-and-qwen3-coder-are-now-a.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ product: generative-apis
88

99
[GPT-OSS](/generative-apis/reference-content/supported-models/), [Qwen3 Coder](/generative-apis/reference-content/supported-models/) and [Mistral Small 3.2](/generative-apis/reference-content/supported-models/) are now available on Generative APIs.
1010

11-
GPT-OSS is a frontier open source model with significant reasoning capabilities and increased tokens thoughput performance.
11+
GPT-OSS is a frontier open source model with significant reasoning capabilities and increased tokens throughput performance.
1212

changelog/databases/january2023/2023-01-06-redistm-added-managed-database-for-redis™.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Managed Database for Redis™ has a new Availabilty Zone!
2+
title: Managed Database for Redis™ has a new Availability Zone!
33
status: added
44
author:
55
fullname: 'Join the #managed-database-for-redis channel on Slack.'

changelog/december2023/2023-12-04-messaging-and-queuing-deprecated-api-v1alpha1-nats.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ category: serverless
99
product: nats
1010
---
1111

12-
Effective December 1st 2023, the Messaging and Queuing v1alpha1 API has been deprecated and its resources and endpoints are no longer available. The v1beta1 APIs, available for Messaging and Queuing [SQS](https://www.scaleway.com/en/developers/api/messaging-and-queuing/sqs-api/), [SNS](https://www.scaleway.com/en/developers/api/messaging-and-queuing/sns-api/) and [NATS](https://www.scaleway.com/en/developers/api/messaging-and-queuing/nats-api/), must now be used going forward.
12+
Effective December 1st 2023, the Messaging and Queuing v1alpha1 API has been deprecated and its resources and endpoints are no longer available. The v1beta1 APIs, available for Messaging and Queuing [SQS](https://www.scaleway.com/en/developers/api/queues/sqs-api/), [SNS](https://www.scaleway.com/en/developers/api/topics-and-events/sns-api/) and [NATS](https://www.scaleway.com/en/developers/api/nats/nats-api/), must now be used going forward.
1313

changelog/december2023/2023-12-04-messaging-and-queuing-deprecated-api-v1alpha1-queues.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ category: serverless
99
product: queues
1010
---
1111

12-
Effective December 1st 2023, the Messaging and Queuing v1alpha1 API has been deprecated and its resources and endpoints are no longer available. The v1beta1 APIs, available for Messaging and Queuing [SQS](https://www.scaleway.com/en/developers/api/messaging-and-queuing/sqs-api/), [SNS](https://www.scaleway.com/en/developers/api/messaging-and-queuing/sns-api/) and [NATS](https://www.scaleway.com/en/developers/api/messaging-and-queuing/nats-api/), must now be used going forward.
12+
Effective December 1st 2023, the Messaging and Queuing v1alpha1 API has been deprecated and its resources and endpoints are no longer available. The v1beta1 APIs, available for Messaging and Queuing [SQS](https://www.scaleway.com/en/developers/api/queues/sqs-api/), [SNS](https://www.scaleway.com/en/developers/api/topics-and-events/sns-api/) and [NATS](https://www.scaleway.com/en/developers/api/nats/nats-api/), must now be used going forward.
1313

changelog/december2023/2023-12-04-messaging-and-queuing-deprecated-api-v1alpha1-topics.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ category: serverless
99
product: topics-and-events
1010
---
1111

12-
Effective December 1st 2023, the Messaging and Queuing v1alpha1 API has been deprecated and its resources and endpoints are no longer available. The v1beta1 APIs, available for Messaging and Queuing [SQS](https://www.scaleway.com/en/developers/api/messaging-and-queuing/sqs-api/), [SNS](https://www.scaleway.com/en/developers/api/messaging-and-queuing/sns-api/) and [NATS](https://www.scaleway.com/en/developers/api/messaging-and-queuing/nats-api/), must now be used going forward.
12+
Effective December 1st 2023, the Messaging and Queuing v1alpha1 API has been deprecated and its resources and endpoints are no longer available. The v1beta1 APIs, available for Messaging and Queuing [SQS](https://www.scaleway.com/en/developers/api/queues/sqs-api/), [SNS](https://www.scaleway.com/en/developers/api/topics-and-events/sns-api/) and [NATS](https://www.scaleway.com/en/developers/api/nats/nats-api/), must now be used going forward.
1313

changelog/july2025/2025-07-11-mongodb-added-managed-mongodb-v1-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ category: databases
66
product: mongodb
77
---
88

9-
The Managed MongoDB API is now in `v1`. All new features from now on will not be available on `v1alpha1`. Check [the Managed MongoDB API documentation](https://www.scaleway.com/en/developers/api/managed-database-mongodb/) for more information.
9+
The Managed MongoDB API is now in `v1`. All new features from now on will not be available on `v1alpha1`. Check [the Managed MongoDB API documentation](https://www.scaleway.com/en/developers/api/managed-mongodb-databases/) for more information.

changelog/june2024/2024-06-18-load-balancers-changed-static-private-network-attachmen.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ category: network
99
product: load-balancers
1010
---
1111

12-
Following the deprecation of [static Private Network attachment](https://www.scaleway.com/en/docs/changelog/?product=load-balancers&status=deprecated#static-attachment-is-no-longer-available), the Load Balancer API will no longer accept static Private Network attachement with an IP address outside of the Private Network subnet.
12+
Following the deprecation of [static Private Network attachment](https://www.scaleway.com/en/docs/changelog/?product=load-balancers&status=deprecated#static-attachment-is-no-longer-available), the Load Balancer API will no longer accept static Private Network attachment with an IP address outside of the Private Network subnet.
1313

1414
Please update to [DHCP attachment type](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-private-networks-attach-a-load-balancer-to-a-private-network) (recommended) or use an IP address which belongs to the Private Network subnet.
1515

16-
If you already use DHCP attachment mode or static attachement mode with an IP address belonging to the Private Network subnet, you're not affected by this change.
16+
If you already use DHCP attachment mode or static attachment mode with an IP address belonging to the Private Network subnet, you're not affected by this change.
1717

0 commit comments

Comments
 (0)