Skip to content

Commit

Permalink
chore: update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Aug 8, 2024
1 parent bd5ede5 commit 3e3628d
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 12 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.8.13] - 2024-08-08

### Added

- Add uuid support for `mc.getPlayer()`
- Add new PlayerInfo API

### Fixed

- Fix simulateLookAt [#146]

## [0.8.12] - 2024-08-07

### Fixed
Expand Down Expand Up @@ -528,11 +539,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#137]: https://github.com/LiteLDev/LegacyScriptEngine/issues/137
[#143]: https://github.com/LiteLDev/LegacyScriptEngine/issues/143
[#145]: https://github.com/LiteLDev/LegacyScriptEngine/issues/145
[#146]: https://github.com/LiteLDev/LegacyScriptEngine/issues/146
[#152]: https://github.com/LiteLDev/LegacyScriptEngine/issues/152
[#153]: https://github.com/LiteLDev/LegacyScriptEngine/issues/153
[#154]: https://github.com/LiteLDev/LegacyScriptEngine/issues/154
[#157]: https://github.com/LiteLDev/LegacyScriptEngine/issues/157

[0.8.13]: https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.8.12...v0.8.13
[0.8.12]: https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.8.11...v0.8.12
[0.8.11]: https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.8.10...v0.8.11
[0.8.10]: https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.8.9...v0.8.10
Expand Down
4 changes: 2 additions & 2 deletions docs/apis/DataAPI/PlayerData.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ When a player enters the server for the first time, his name and XUID are automa

Tip: The player name stored in the XUID database is named corresponding to the player object. `realName` field.

!!! tip
APIs below are added in LSE 0.8.13, using these API will make plugin not compitable with older version.
!!! warning
APIs below are added in LSE 0.8.13, using these API will make plugin not compitable with older version.
#### Query player information by XUID

`data.fromXuid(xuid)`
Expand Down
4 changes: 2 additions & 2 deletions docs/apis/DataAPI/PlayerData.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ XUID数据库让你可以即使在玩家离线的时候,也可以查询玩家

提示:XUID数据库中储存的玩家名为玩家对象对应的`realName`字段

!!! tip
以下API均为LSE 0.8.13新API,使用以下API将导致插件无法兼容旧版
!!! warning
以下API均为LSE 0.8.13新API,使用以下API将导致插件无法兼容旧版
#### 根据XUID查询玩家信息

`data.fromXuid(xuid)`
Expand Down
6 changes: 6 additions & 0 deletions docs/apis/GameAPI/Player.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ Use this function to manually generate objects. Note that the player you want to

`mc.getPlayer(info)`

!!! tip
Versions before 0.8.13 could not get player by UUID

- Parameters:
- info : `String`
Player's name, XUID or UniqueId or UUID.
Expand Down Expand Up @@ -1511,6 +1514,9 @@ Reference: [mojang-gametest docs](https://docs.microsoft.com/en-us/minecraft/cre
`sp.simulateLookAt(entity, [lookDuration])`
`sp.simulateLookAt(block, [lookDuration])`

!!! tip
`lookDuration` parameter not available in versions prior to 0.8.13

- Parameters:

- target : `Entity`
Expand Down
6 changes: 6 additions & 0 deletions docs/apis/GameAPI/Player.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

`mc.getPlayer(info)`

!!! tip
0.8.13之前的版本无法使用UUID获取玩家

- 参数:
- info : `String`
玩家的名字、XUID、UniqueId或者UUID
Expand Down Expand Up @@ -1892,6 +1895,9 @@
`sp.simulateLookAt(entity, [lookDuration])`
`sp.simulateLookAt(block, [lookDurration])`

!!! tip
`lookDurration`0.8.13之前的版本不可用

- 参数:

- target : `Entity`
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "native",
"description": "A plugin engine for running LLSE plugins on LeviLamina",
"author": "LiteLDev",
"version": "0.8.12",
"version": "0.8.13",
"dependencies": [
{
"name": "LegacyMoney"
Expand Down
6 changes: 3 additions & 3 deletions tooth.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"format_version": 2,
"tooth": "github.com/LiteLDev/LegacyScriptEngine",
"version": "0.8.12",
"version": "0.8.13",
"info": {
"name": "LegacyScriptEngine",
"description": "A plugin engine for running LLSE plugins on LeviLamina",
Expand All @@ -12,7 +12,7 @@
]
},
"dependencies": {
"gitea.litebds.com/LiteLDev/legacy-script-engine-lua": "0.8.12",
"gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs": "0.8.12"
"gitea.litebds.com/LiteLDev/legacy-script-engine-lua": "0.8.13",
"gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs": "0.8.13"
}
}
2 changes: 1 addition & 1 deletion tooth.lua.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"format_version": 2,
"tooth": "gitea.litebds.com/LiteLDev/legacy-script-engine-lua",
"version": "0.8.12",
"version": "0.8.13",
"info": {
"name": "LegacyScriptEngine with Lua backend",
"description": "A plugin engine for running LLSE plugins on LeviLamina",
Expand Down
2 changes: 1 addition & 1 deletion tooth.nodejs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"format_version": 2,
"tooth": "gitea.litebds.com/LiteLDev/legacy-script-engine-nodejs",
"version": "0.8.12",
"version": "0.8.13",
"info": {
"name": "LegacyScriptEngine with NodeJs backend",
"description": "A plugin engine for running LLSE plugins on LeviLamina",
Expand Down
2 changes: 1 addition & 1 deletion tooth.python.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"format_version": 2,
"tooth": "gitea.litebds.com/LiteLDev/legacy-script-engine-python",
"version": "0.8.12",
"version": "0.8.13",
"info": {
"name": "LegacyScriptEngine with Python backend",
"description": "A plugin engine for running LLSE plugins on LeviLamina",
Expand Down
2 changes: 1 addition & 1 deletion tooth.quickjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"format_version": 2,
"tooth": "gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs",
"version": "0.8.12",
"version": "0.8.13",
"info": {
"name": "LegacyScriptEngine with QuickJs backend",
"description": "A plugin engine for running LLSE plugins on LeviLamina",
Expand Down

0 comments on commit 3e3628d

Please sign in to comment.