File tree Expand file tree Collapse file tree 3 files changed +26
-8
lines changed Expand file tree Collapse file tree 3 files changed +26
-8
lines changed Original file line number Diff line number Diff line change 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
523More platforms are [ on the roadmap] ( https://github.com/un-oj/core/issues/3 ) . Contributions are welcome!
Original file line number Diff line number Diff line change 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" 
Original file line number Diff line number Diff line change 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" 
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" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments