Skip to content

Commit

Permalink
feat: refactor with typescript (#12)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Drop Node.js < 16 support

Other BREAKING changes:
- remove stsToken support
- remove headerEncoding support
- remove Bucket, Image Client support

eggjs/egg#5257
  • Loading branch information
fengmk2 authored Oct 5, 2023
1 parent 3e3f7ae commit 5a0eb01
Show file tree
Hide file tree
Showing 165 changed files with 5,333 additions and 19,187 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "eslint-config-egg"
"extends": [
"eslint-config-egg/typescript",
"eslint-config-egg/lib/rules/enforce-node-prefix"
]
}
72 changes: 0 additions & 72 deletions .github/workflows/codeql.yml

This file was deleted.

12 changes: 4 additions & 8 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@ name: Node.js CI
on:
push:
branches:
- main
- master
- 1.x
pull_request:
branches:
- main
- master
- 1.x

jobs:
build:
Expand All @@ -22,15 +18,15 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14.18.0, 14, 16, 18, 20]
node-version: [16, 18, 20]
os: [ubuntu-latest]

steps:
- name: Checkout Git Source
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -52,6 +48,6 @@ jobs:
ALI_SDK_STS_ENDPOINT: ${{ secrets.ALI_SDK_STS_ENDPOINT }}

- name: Code Coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

on:
push:
branches: [ master, 1.x ]
branches: [ master ]

jobs:
release:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ package-lock.json

es
.eslintcache

.tshy*/
dist/
12 changes: 0 additions & 12 deletions AUTHORS

This file was deleted.

54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,57 @@
### Bug Fixes

* auto release on action ([#8](https://github.com/node-modules/oss-client/issues/8)) ([e5bfe04](https://github.com/node-modules/oss-client/commit/e5bfe042163951d709c8197c136be7e9e6b9e89b))

---


1.2.2 / 2022-12-09
==================

**fixes**
* [[`fc2fb8f`](http://github.com/node-modules/oss-client/commit/fc2fb8f9d1b23d355cc8cf12f46d1df6182c6f6f)] - πŸ› FIX: try to use result code first (fengmk2 <<[email protected]>>)

1.2.1 / 2022-12-04
==================

**fixes**
* [[`cc2cc06`](http://github.com/node-modules/oss-client/commit/cc2cc065ede44d5d40120b4877dfa85e25cd0199)] - πŸ› FIX: object.list type define (#7) (fengmk2 <<[email protected]>>)

1.2.0 / 2022-12-04
==================

**features**
* [[`a9ad395`](http://github.com/node-modules/oss-client/commit/a9ad39539889f083e0d7671ca19ecc1b263eed74)] - πŸ“¦ NEW: Try to use ctx.httpclient first (#6) (fengmk2 <<[email protected]>>)

1.1.1 / 2022-12-04
==================

**fixes**
* [[`38cebaa`](http://github.com/node-modules/oss-client/commit/38cebaa9f5868d67530cc34ef3cdb4023b9d3a1f)] - πŸ› FIX: Should add oss-interface to dependencies (#5) (fengmk2 <<[email protected]>>)

**others**
* [[`301b0a2`](http://github.com/node-modules/oss-client/commit/301b0a2a3fa9af2ce85e093747f59c8f677dded1)] - πŸ€– TEST: Test enable parallel (#4) (fengmk2 <<[email protected]>>)

1.1.0 / 2022-10-27
==================

**features**
* [[`79b6302`](http://github.com/node-modules/oss-client/commit/79b6302b77bfabfc2750a5c5d48b4059cb04ac78)] - πŸ“¦ NEW: Add d.ts and IObjectSimple Client define (#3) (fengmk2 <<[email protected]>>)

**others**
* [[`8d9e935`](http://github.com/node-modules/oss-client/commit/8d9e935ee530ebd9477e6334991465ff59a75b4b)] - πŸ“– DOC: Remove browser document content (fengmk2 <<[email protected]>>)

1.0.1 / 2022-10-23
==================

**fixes**
* [[`e7b229f`](http://github.com/node-modules/oss-client/commit/e7b229f839925ff7a8069834b73fe34789e5e00f)] - πŸ› FIX: ClusterClient use class style (fengmk2 <<[email protected]>>)

1.0.0 / 2022-10-23
==================

**features**
* [[`fe3e2c1`](http://github.com/node-modules/oss-client/commit/fe3e2c1a119ffd3b8a8c77ab6b38ee545c14fb59)] - πŸ‘Œ IMPROVE: Remove unuse ts files (#2) (fengmk2 <<[email protected]>>),fatal: No names found, cannot describe anything.

**others**

51 changes: 0 additions & 51 deletions History.md

This file was deleted.

Loading

0 comments on commit 5a0eb01

Please sign in to comment.