Skip to content

Commit 5a0eb01

Browse files
authored
feat: refactor with typescript (#12)
BREAKING CHANGE: Drop Node.js < 16 support Other BREAKING changes: - remove stsToken support - remove headerEncoding support - remove Bucket, Image Client support eggjs/egg#5257
1 parent 3e3f7ae commit 5a0eb01

File tree

165 files changed

+5333
-19187
lines changed

Some content is hidden

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

165 files changed

+5333
-19187
lines changed

β€Ž.eslintrcβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"extends": "eslint-config-egg"
2+
"extends": [
3+
"eslint-config-egg/typescript",
4+
"eslint-config-egg/lib/rules/enforce-node-prefix"
5+
]
36
}

β€Ž.github/workflows/codeql.ymlβ€Ž

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

β€Ž.github/workflows/nodejs.ymlβ€Ž

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,10 @@ name: Node.js CI
66
on:
77
push:
88
branches:
9-
- main
109
- master
11-
- 1.x
1210
pull_request:
1311
branches:
14-
- main
1512
- master
16-
- 1.x
1713

1814
jobs:
1915
build:
@@ -22,15 +18,15 @@ jobs:
2218
strategy:
2319
fail-fast: false
2420
matrix:
25-
node-version: [14.18.0, 14, 16, 18, 20]
21+
node-version: [16, 18, 20]
2622
os: [ubuntu-latest]
2723

2824
steps:
2925
- name: Checkout Git Source
30-
uses: actions/checkout@v2
26+
uses: actions/checkout@v3
3127

3228
- name: Use Node.js ${{ matrix.node-version }}
33-
uses: actions/setup-node@v1
29+
uses: actions/setup-node@v3
3430
with:
3531
node-version: ${{ matrix.node-version }}
3632

@@ -52,6 +48,6 @@ jobs:
5248
ALI_SDK_STS_ENDPOINT: ${{ secrets.ALI_SDK_STS_ENDPOINT }}
5349

5450
- name: Code Coverage
55-
uses: codecov/codecov-action@v1
51+
uses: codecov/codecov-action@v3
5652
with:
5753
token: ${{ secrets.CODECOV_TOKEN }}

β€Ž.github/workflows/release.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22

33
on:
44
push:
5-
branches: [ master, 1.x ]
5+
branches: [ master ]
66

77
jobs:
88
release:

β€Ž.gitignoreβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@ package-lock.json
4242

4343
es
4444
.eslintcache
45+
46+
.tshy*/
47+
dist/

β€ŽAUTHORSβ€Ž

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

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,57 @@
2727
### Bug Fixes
2828

2929
* auto release on action ([#8](https://github.com/node-modules/oss-client/issues/8)) ([e5bfe04](https://github.com/node-modules/oss-client/commit/e5bfe042163951d709c8197c136be7e9e6b9e89b))
30+
31+
---
32+
33+
34+
1.2.2 / 2022-12-09
35+
==================
36+
37+
**fixes**
38+
* [[`fc2fb8f`](http://github.com/node-modules/oss-client/commit/fc2fb8f9d1b23d355cc8cf12f46d1df6182c6f6f)] - πŸ› FIX: try to use result code first (fengmk2 <<fengmk2@gmail.com>>)
39+
40+
1.2.1 / 2022-12-04
41+
==================
42+
43+
**fixes**
44+
* [[`cc2cc06`](http://github.com/node-modules/oss-client/commit/cc2cc065ede44d5d40120b4877dfa85e25cd0199)] - πŸ› FIX: object.list type define (#7) (fengmk2 <<fengmk2@gmail.com>>)
45+
46+
1.2.0 / 2022-12-04
47+
==================
48+
49+
**features**
50+
* [[`a9ad395`](http://github.com/node-modules/oss-client/commit/a9ad39539889f083e0d7671ca19ecc1b263eed74)] - πŸ“¦ NEW: Try to use ctx.httpclient first (#6) (fengmk2 <<fengmk2@gmail.com>>)
51+
52+
1.1.1 / 2022-12-04
53+
==================
54+
55+
**fixes**
56+
* [[`38cebaa`](http://github.com/node-modules/oss-client/commit/38cebaa9f5868d67530cc34ef3cdb4023b9d3a1f)] - πŸ› FIX: Should add oss-interface to dependencies (#5) (fengmk2 <<fengmk2@gmail.com>>)
57+
58+
**others**
59+
* [[`301b0a2`](http://github.com/node-modules/oss-client/commit/301b0a2a3fa9af2ce85e093747f59c8f677dded1)] - πŸ€– TEST: Test enable parallel (#4) (fengmk2 <<fengmk2@gmail.com>>)
60+
61+
1.1.0 / 2022-10-27
62+
==================
63+
64+
**features**
65+
* [[`79b6302`](http://github.com/node-modules/oss-client/commit/79b6302b77bfabfc2750a5c5d48b4059cb04ac78)] - πŸ“¦ NEW: Add d.ts and IObjectSimple Client define (#3) (fengmk2 <<fengmk2@gmail.com>>)
66+
67+
**others**
68+
* [[`8d9e935`](http://github.com/node-modules/oss-client/commit/8d9e935ee530ebd9477e6334991465ff59a75b4b)] - πŸ“– DOC: Remove browser document content (fengmk2 <<fengmk2@gmail.com>>)
69+
70+
1.0.1 / 2022-10-23
71+
==================
72+
73+
**fixes**
74+
* [[`e7b229f`](http://github.com/node-modules/oss-client/commit/e7b229f839925ff7a8069834b73fe34789e5e00f)] - πŸ› FIX: ClusterClient use class style (fengmk2 <<fengmk2@gmail.com>>)
75+
76+
1.0.0 / 2022-10-23
77+
==================
78+
79+
**features**
80+
* [[`fe3e2c1`](http://github.com/node-modules/oss-client/commit/fe3e2c1a119ffd3b8a8c77ab6b38ee545c14fb59)] - πŸ‘Œ IMPROVE: Remove unuse ts files (#2) (fengmk2 <<fengmk2@gmail.com>>),fatal: No names found, cannot describe anything.
81+
82+
**others**
83+

β€ŽHistory.mdβ€Ž

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

0 commit comments

Comments
Β (0)