Skip to content

Commit 1e9277e

Browse files
committed
release: v0.3.0
1 parent 7b26b71 commit 1e9277e

File tree

3 files changed

+26
-8
lines changed

3 files changed

+26
-8
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## 0.3.0 (2025-06-02)
4+
5+
### ⚠️ Breaking Changes
6+
7+
- The `Tag` generic of `Problem` doesn't allow `number[]` anymore. Use `TagInfo[]` instead
8+
- `DEFAULT_BASE_URL` of each platform is moved out of the class. You can directly import it from the platform module
9+
- **luogu:** `Problem#tags` is now `TagInfo[]` instead of `number[]`
10+
11+
### 🚀 Features
12+
13+
- Add Hydro platform
14+
- Add LeetCode platform
15+
- Add Lyrio platform
16+
- Add `Platform#getContest` to get contest information
17+
- **atcoder:** Compat with new memory limit format
18+
- **luogu:** Support `Platform#getContest`
19+
- **luogu:** Correct problem description when some of its sections aren't complete. Non-existing sections are now `''` instead of `null`
20+
321
## 0.2.0 (2025-05-04)
422

523
More platforms are [on the roadmap](https://github.com/un-oj/core/issues/3). Contributions are welcome!

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://jsr.io/schema/config-file.v1.json",
33
"name": "@un-oj/core",
4-
"version": "0.2.0",
4+
"version": "0.3.0",
55
"exports": {
66
".": "./src/index.ts",
77
"./platforms/atcoder": "./src/platforms/atcoder.ts",

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "un-oj",
33
"type": "module",
4-
"version": "0.2.0",
4+
"version": "0.3.0",
55
"description": "Unified Online Judge information collector.",
66
"author": "UnOJ Team",
77
"license": "MIT",
@@ -17,21 +17,21 @@
1717
],
1818
"exports": {
1919
".": {
20-
"types": "./dist/index.d.ts",
21-
"import": "./dist/index.js"
20+
"types": "./dist/index.d.mts",
21+
"import": "./dist/index.mjs"
2222
},
2323
"./package.json": "./package.json",
2424
"./platforms/*": {
25-
"types": "./dist/platforms/*.d.ts",
26-
"import": "./dist/platforms/*.js"
25+
"types": "./dist/platforms/*.d.mts",
26+
"import": "./dist/platforms/*.mjs"
2727
}
2828
},
2929
"publishConfig": {
3030
"provenance": true,
3131
"access": "public"
3232
},
33-
"module": "./dist/index.js",
34-
"types": "./dist/index.d.ts",
33+
"module": "./dist/index.mjs",
34+
"types": "./dist/index.d.mts",
3535
"files": [
3636
"LICENSE",
3737
"README.md",

0 commit comments

Comments
 (0)