Skip to content

Commit e1d6033

Browse files
authored
Revert "feat: release v0.11.0 (#1492)" (#1493)
This reverts commit c024089.
1 parent c024089 commit e1d6033

20 files changed

+3756
-5218
lines changed

.eslintrc.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
parser: '@typescript-eslint/parser'
2+
plugins:
3+
- '@typescript-eslint'
4+
parserOptions:
5+
ecmaVersion: 2018
6+
sourceType: module
7+
project:
8+
- ./tsconfig.json
9+
- ./tsconfig.spec.json
10+
extends:
11+
- 'plugin:@typescript-eslint/recommended'
12+
- 'plugin:@typescript-eslint/recommended-requiring-type-checking'
13+
- 'plugin:jest/recommended'
14+
- 'prettier'
15+
rules:
16+
'@typescript-eslint/explicit-member-accessibility': off
17+
'@typescript-eslint/no-angle-bracket-type-assertion': off
18+
'@typescript-eslint/no-parameter-properties': off
19+
'@typescript-eslint/explicit-function-return-type': off
20+
'@typescript-eslint/member-delimiter-style': off
21+
'@typescript-eslint/no-inferrable-types': off
22+
'@typescript-eslint/no-explicit-any': off
23+
'@typescript-eslint/member-ordering': 'error'
24+
'@typescript-eslint/no-unused-vars':
25+
- 'error'
26+
- args: 'none'
27+
# TODO: Remove these and fixed issues once we merged all the current PRs.
28+
'@typescript-eslint/ban-types': off
29+
'@typescript-eslint/no-unsafe-return': off
30+
'@typescript-eslint/no-unsafe-assignment': off
31+
'@typescript-eslint/no-unsafe-call': off
32+
'@typescript-eslint/no-unsafe-member-access': off
33+
'@typescript-eslint/explicit-module-boundary-types': off
34+
'@typescript-eslint/no-unsafe-argument': off
35+
'@typescript-eslint/no-var-requires': off

.github/workflows/continuous-integration-workflow.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,10 @@ jobs:
2727
node-version: ${{ matrix.node-version }}
2828
- run: npm ci --ignore-scripts
2929
- run: npm run test:ci
30-
- name: Upload coverage to Codecov
31-
uses: codecov/codecov-action@v3
30+
- run: npm install codecov -g
31+
if: ${{ matrix.node-version == 'current' }}
32+
- run: codecov -f ./coverage/clover.xml -t ${{ secrets.CODECOV_TOKEN }} --commit=$GITHUB_SHA --branch=${GITHUB_REF##*/}
3233
if: ${{ matrix.node-version == 'current' }}
33-
with:
34-
file: ./coverage/clover.xml
35-
token: ${{ secrets.CODECOV_TOKEN }}
36-
commit: ${{ github.sha }}
37-
branch: ${{ github.ref }}
3834
build:
3935
name: Build
4036
runs-on: ubuntu-latest

CHANGELOG.md

-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
# Changelog and release notes
22

3-
## [0.11.0](https://github.com/typestack/routing-controllers/compare/v0.10.4...v0.11.0) (2025-02-14)
4-
5-
### Changed
6-
7-
- `cookie` package updated to `1.0.2` from `0.5.0`
8-
- `glob` package updated to `11.0.0` from `10.2.2`
9-
- `reflect-metadata` package updated to `0.2.2` from `0.1.13`
10-
- Introduced `UnprocessableEntityError`
11-
- Dropped support for node versions below 20
12-
13-
### Fixed
14-
15-
- Fixed koa trailing slash handling
16-
- Fixed controller method inheritance
17-
183
## [0.10.4](https://github.com/typestack/routing-controllers/compare/v0.10.3...v0.10.4) (2023-04-17)
194

205
### Changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ In prior versions, these were direct dependencies, but now they are peer depende
126126
1. Create a file `UserController.ts`
127127

128128
```typescript
129-
import 'reflect-metadata';
130129
import { Controller, Param, Body, Get, Post, Put, Delete } from 'routing-controllers';
131130

132131
@Controller()
@@ -766,7 +765,6 @@ There are set of prepared errors you can use:
766765
- NotAcceptableError
767766
- NotFoundError
768767
- UnauthorizedError
769-
- UnprocessableEntityError
770768

771769
You can also create and use your own errors by extending `HttpError` class.
772770
To define the data returned to the client, you could define a toJSON method in your error.

docs/lang/chinese/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,6 @@ getOne(@Param("id") id: number) {
724724
- NotAcceptableError
725725
- NotFoundError
726726
- UnauthorizedError
727-
- UnprocessableEntityError
728727

729728
可以继承 `HttpError` 类自行创建使用 error。
730729
也可实现一个 toJson 函数定义返回给客户端的数据。

eslint.config.mjs

-61
This file was deleted.

lang/chinese/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,6 @@ getOne(@Param("id") id: number) {
727727
- NotAcceptableError
728728
- NotFoundError
729729
- UnauthorizedError
730-
- UnprocessableEntityError
731730

732731
可以继承 `HttpError` 类自行创建使用 error。
733732
也可实现一个 toJson 函数定义返回给客户端的数据。

0 commit comments

Comments
 (0)