Skip to content

Commit

Permalink
chore: bump version 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Dec 4, 2021
1 parent f0b6d2a commit ecf4856
Show file tree
Hide file tree
Showing 9 changed files with 72 additions and 17 deletions.
38 changes: 38 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,43 @@
# Changelog

## 5.1.0
### @xmcl/client@2.1.2
#### Bug Fixes

- fix(client): use 1.14.4 protocol as default ([5cdfe3a9749921c9ac648bc99f918e11ec1d76c1](https://github.com/voxelum/minecraft-launcher-core-node/commit/5cdfe3a9749921c9ac648bc99f918e11ec1d76c1))
- fix(client): should not destroy sock for reconnect ([ae5d771cdb11c1871989b9fb3d476ee7a00d266b](https://github.com/voxelum/minecraft-launcher-core-node/commit/ae5d771cdb11c1871989b9fb3d476ee7a00d266b))
### @xmcl/core@2.8.0
#### Features

- feat(core): support parse javaVersion in version json ([9271499d2c64e17ab4c3e0f4f7eb0ceb9ccd2738](https://github.com/voxelum/minecraft-launcher-core-node/commit/9271499d2c64e17ab4c3e0f4f7eb0ceb9ccd2738))
#### Bug Fixes

- fix: options.maxMemory overwrite bug #221 (#222) ([3072f875d500dec67ae1925482b3097f7f4065a0](https://github.com/voxelum/minecraft-launcher-core-node/commit/3072f875d500dec67ae1925482b3097f7f4065a0))
### @xmcl/task@4.0.2
#### Bug Fixes

- fix(task): typo & task.map ([21875229eeae19670c2b6f062bded2a9e556108c](https://github.com/voxelum/minecraft-launcher-core-node/commit/21875229eeae19670c2b6f062bded2a9e556108c))
### @xmcl/mod-parser@3.2.0
#### Features

- feat(mod-parser): try to parse all .info files in root ([5241cea867da011ac5da1aa4c12a684a71272573](https://github.com/voxelum/minecraft-launcher-core-node/commit/5241cea867da011ac5da1aa4c12a684a71272573))
#### Bug Fixes

- fix: support optifine new version ([9e28696c1e820c5c31ae5fd189ae1fb74772ba17](https://github.com/voxelum/minecraft-launcher-core-node/commit/9e28696c1e820c5c31ae5fd189ae1fb74772ba17))
### @xmcl/installer@4.0.2
#### Bug Fixes

- fix(installer): curseforge unpack task name ([5c4ec33cf7fc262d1427b713c180a68ef4a08c70](https://github.com/voxelum/minecraft-launcher-core-node/commit/5c4ec33cf7fc262d1427b713c180a68ef4a08c70))
- fix: correctly propagate abort/pause ([788234944486d90c1f79f4f10aeb01800cf985e1](https://github.com/voxelum/minecraft-launcher-core-node/commit/788234944486d90c1f79f4f10aeb01800cf985e1))
- fix(installer): not restrict jre runtime target ([1a907bf7ba891301e65dd14a6cb6653d2ac9642a](https://github.com/voxelum/minecraft-launcher-core-node/commit/1a907bf7ba891301e65dd14a6cb6653d2ac9642a))
- fix: support optifine new version ([9e28696c1e820c5c31ae5fd189ae1fb74772ba17](https://github.com/voxelum/minecraft-launcher-core-node/commit/9e28696c1e820c5c31ae5fd189ae1fb74772ba17))
- fix(installer): readable fabric version id ([e824d0ef90d2ccf4b9cf0e17174e39d04ed4ac9f](https://github.com/voxelum/minecraft-launcher-core-node/commit/e824d0ef90d2ccf4b9cf0e17174e39d04ed4ac9f))
- fix(installer): not fail during fallback ([c4e436e911d7fe7e70e019d8ca6fafe19c8caffb](https://github.com/voxelum/minecraft-launcher-core-node/commit/c4e436e911d7fe7e70e019d8ca6fafe19c8caffb))
- fix(installer): handle redirect 3xx ([67bd82e194a0a8f551192a2e4a53ef9fbea735b3](https://github.com/voxelum/minecraft-launcher-core-node/commit/67bd82e194a0a8f551192a2e4a53ef9fbea735b3))
- Dependency @xmcl/core bump **patch**
- Dependency @xmcl/task bump **patch**


## 5.0.2
### @xmcl/user@2.1.6
#### Bug Fixes
Expand Down
31 changes: 24 additions & 7 deletions docs/site/definitions.js
Expand Up @@ -1021,6 +1021,10 @@ export interface ResolvedVersion {
type: string;
};
};
/**
* Recommended java version
*/
javaVersion: JavaVersion;
/**
* The minecraft version of this version
*/
Expand Down Expand Up @@ -1298,6 +1302,14 @@ export declare namespace Version {
*/
function normalizeVersionJson(versionString: string, root: string, platform?: Platform): PartialResolvedVersion;
}
export interface JavaVersion {
/**
* Corresponding with java manifest json.
* @example "jre-legacy"
*/
component: string;
majorVersion: number;
}
/**
* The raw json format provided by Minecraft. Also the namespace of version operation.
*
Expand Down Expand Up @@ -1339,6 +1351,7 @@ export interface Version {
type: string;
};
};
javaVersion?: JavaVersion;
}
export {};
\/\/# sourceMappingURL=version.d.ts.map`;
Expand Down Expand Up @@ -3036,8 +3049,10 @@ export interface JavaRuntimes {
}
export interface JavaRuntimeTargets {
"java-runtime-alpha": JavaRuntimeTarget[];
"java-runtime-beta": JavaRuntimeTarget[];
"jre-legacy": JavaRuntimeTarget[];
"minecraft-java-exe": JavaRuntimeTarget[];
[key: string]: JavaRuntimeTarget[];
}
export declare enum JavaRuntimeTargetType {
/**
Expand All @@ -3047,7 +3062,8 @@ export declare enum JavaRuntimeTargetType {
/**
* The new java environment, which is the java 16
*/
Next = "java-runtime-alpha",
Alpha = "java-runtime-alpha",
Beta = "java-runtime-beta",
JavaExe = "minecraft-java-exe"
}
/**
Expand Down Expand Up @@ -3125,7 +3141,7 @@ export declare type AnyEntry = FileEntry | DirectoryEntry | LinkEntry;
* Contains info about every files in this java runtime
*/
export interface JavaRuntimeManifest {
target: JavaRuntimeTargetType;
target: JavaRuntimeTargetType | string;
/**
* The files of the java runtime
*/
Expand All @@ -3151,11 +3167,11 @@ export interface FetchJavaRuntimeManifestOptions extends DownloadBaseOptions {
* The install java runtime type
* @default InstallJavaRuntimeTarget.Next
*/
target?: JavaRuntimeTargetType;
target?: JavaRuntimeTargetType | string;
/**
* The index manifest of the java runtime. If this is not presented, it will fetch by platform and all platform url.
*/
manfiestIndex?: JavaRuntimes;
manifestIndex?: JavaRuntimes;
}
/**
* Fetch java runtime manifest. It should be able to resolve to your platform, or you can assign the platform.
Expand Down Expand Up @@ -5256,14 +5272,15 @@ export declare class MultipleError extends Error {
constructor(errors: unknown[], message?: string);
}
export declare enum TaskState {
Idel = 0,
Idle = 0,
Running = 1,
Cancelled = 2,
Paused = 3,
Successed = 4,
Succeed = 4,
Failed = 5
}
export interface Task<T = any> {
readonly id: number;
readonly name: string;
readonly param: Record<string, any>;
readonly progress: number;
Expand Down Expand Up @@ -5296,7 +5313,7 @@ export interface TaskContext {
onStart?(task: Task<any>): void;
onUpdate?(task: Task<any>, chunkSize: number): void;
onFailed?(task: Task<any>, error: any): void;
onSuccessed?(task: Task<any>, result: any): void;
onSucceed?(task: Task<any>, result: any): void;
onPaused?(task: Task<any>): void;
onResumed?(task: Task<any>): void;
onCancelled?(task: Task<any>): void;
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"private": true,
"version": "5.0.2",
"version": "5.1.0",
"scripts": {
"build": "npm run lint && npm run compile && npm run build:definition && npm run build:readme",
"build:clean": "node scripts/clean.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
@@ -1,6 +1,6 @@
{
"name": "@xmcl/client",
"version": "2.1.1",
"version": "2.1.2",
"main": "./index.ts",
"description": "Minecraft socket client pipeline, containing server status query by default",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@xmcl/core",
"version": "2.7.1",
"version": "2.8.0",
"main": "./index.ts",
"description": "Minecraft version parsing and game launching.",
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions packages/installer/package.json
@@ -1,6 +1,6 @@
{
"name": "@xmcl/installer",
"version": "4.0.1",
"version": "4.0.2",
"main": "./index.ts",
"description": "Provides Minecraft/Forge/Fabric/Liteloader installers",
"engines": {
Expand All @@ -13,9 +13,9 @@
},
"dependencies": {
"@xmcl/asm": "^0.1.3",
"@xmcl/core": "^2.7.1",
"@xmcl/core": "^2.8.0",
"@xmcl/forge-site-parser": "^2.0.8",
"@xmcl/task": "^4.0.1",
"@xmcl/task": "^4.0.2",
"@xmcl/unzip": "^2.0.0",
"yauzl": "^2.10.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mod-parser/package.json
@@ -1,6 +1,6 @@
{
"name": "@xmcl/mod-parser",
"version": "3.1.2",
"version": "3.2.0",
"main": "./index.ts",
"description": "Minecraft Mod parser. Provides the utilities to parse forge/liteloader/fabric mod metadata.",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/task/package.json
Expand Up @@ -15,5 +15,5 @@
"type": "git",
"url": "git+https://github.com/Voxelum/minecraft-launcher-core-node.git"
},
"version": "4.0.1"
"version": "4.0.2"
}
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ecf4856

Please sign in to comment.