Skip to content

Commit 8d8de8f

Browse files
committed
fix: set up maintenance-v3 branch and add deprecation notice
1 parent ae51555 commit 8d8de8f

3 files changed

Lines changed: 17 additions & 31 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: Release
33
on:
44
push:
55
branches:
6-
- main
7-
- stage
6+
- maintenance-v3
87

98
permissions: write-all
109

@@ -39,27 +38,4 @@ jobs:
3938
run: npx semantic-release
4039
env:
4140
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
42-
43-
sync-stage:
44-
needs: release
45-
if: github.ref == 'refs/heads/main'
46-
runs-on: ubuntu-latest
47-
steps:
48-
- name: Checkout
49-
uses: actions/checkout@v5
50-
with:
51-
fetch-depth: 0
52-
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
53-
54-
- name: Set up Git
55-
run: |
56-
git config user.name "GitHub Action"
57-
git config user.email "action@github.com"
58-
59-
- name: Merge main into stage
60-
run: |
61-
git fetch origin
62-
git pull origin main
63-
git checkout stage
64-
git merge main --allow-unrelated-histories --no-edit -Xtheirs -m "Merge branch 'main' into stage [skip ci]"
65-
git push origin stage
41+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.releaserc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"branches": [
3-
"main",
43
{
5-
"name": "stage",
6-
"prerelease": true,
7-
"channel": "stage"
4+
"name": "maintenance-v3"
85
}
96
],
107
"plugins": [

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44

55
# Azion Library - The Edge Developer's Toolkit
66

7+
> ⚠️ **Deprecation Notice - Package Migration**
8+
>
9+
> This package (`azion`) has been **migrated** to scoped packages under `@aziontech/*` (e.g., `@aziontech/sql`, `@aziontech/storage`, `@aziontech/config`, and more).
10+
>
11+
> - This package will only receive **bug fixes** — no new features will be added.
12+
> - Maintenance will be **discontinued at the end of December 2026**.
13+
> - **We strongly recommend migrating to the new scoped packages** to continue receiving updates and new features.
14+
>
15+
> For documentation, see the [`https://www.azion.com/en/blog/why-azion-is-migrating-to-individual-npm-packages-distributed-monorepo`](https://www.azion.com/en/blog/why-azion-is-migrating-to-individual-npm-packages-distributed-monorepo) directory.
16+
717
[![Version](https://img.shields.io/npm/v/azion.svg)](https://www.npmjs.com/package/azion)
818
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.md)
919
[![Downloads](https://img.shields.io/npm/dm/azion.svg)](https://www.npmjs.com/package/azion)
@@ -120,7 +130,10 @@ import { createClient } from 'azion';
120130
const client = createClient({ token: 'your-api-token', debug: true });
121131

122132
// Storage
123-
const { data: newBucket, error } = await client.storage.createBucket({ name: 'my-new-bucket', workloads_access: 'read_only' });
133+
const { data: newBucket, error } = await client.storage.createBucket({
134+
name: 'my-new-bucket',
135+
workloads_access: 'read_only',
136+
});
124137
console.log(`Bucket created with name: ${newBucket.name}`);
125138

126139
const { data: allBuckets, error } = await client.storage.getBuckets();

0 commit comments

Comments
 (0)