Skip to content

Latest commit

 

History

History
1360 lines (875 loc) · 35.6 KB

File metadata and controls

1360 lines (875 loc) · 35.6 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.17.12 - 2026-04-01

Changed

  • Bumped ScriptX to 2026.4.1
  • Bumped quickjs-ng to v0.13.0
  • Bumped lua to v5.5.0

Fixed

  • Fixed memory leak issue in Python engine #343

0.17.11 - 2026-04-01

Changed

  • Replaced legacy CommandCompatibleAPI(fake command based on event) with LegacyCommandAPI(real registered command)
  • Improved translations

0.17.10 - 2026-03-31

Changed

  • Added globalEngineSnapshot to improve performance

0.17.9 - 2026-03-30

Changed

  • Breaking Change: Exceptions will be thrown to scripts directly when API calls fail, instead of returning null or undefined. This may cause some old scripts to break if they don't handle exceptions properly. @zimuya4153 @ShrBox

Fixed

  • Fixed the nbt get @zimuya4153
  • Fixed TextPacket #358 @ShrBox

0.17.8 - 2026-03-24

Fixed

  • Fixed the container close event #294 @zimuya4153
  • Fixed Node.js installation for tooth.json in newer version of lip

0.17.7 - 2026-03-08

Changed

  • Update 7-zip tooth url in tooth.json

0.17.6 - 2026-03-07

Changed

  • Rollbacked LightWebSocketClient to v1.0.1

0.17.5 - 2026-02-27

Fixed

  • Fixed crash on stop for Node.js engine
  • Fixed item.maxDamage #349 (#354) @LWenK

0.17.4 - 2026-02-24

Changed

  • Bumped LightWebSocketClient to v1.0.2 #353

0.17.3 - 2026-02-24

Added

  • Added onPortalTrySpawn event #318/#306 @yangyangzhong82
  • Added onPortalTrySpawnPigZombie event @yangyangzhong82
  • Added onDispenseItem event #318 @yangyangzhong82

Fixed

  • Fixed crash on stop for Node.js engine

0.17.2 - 2026-02-04

Fixed

  • Fixed ScriptEngine lifecycle

0.17.1 - 2026-01-27

Fixed

  • Fixed mc.newItem #348

0.17.0 - 2026-01-25

Added

  • Added client support

Changed

  • Supported LeviLamina 1.9.0
  • Replace int with CommandPermissionLevel for debugCommandLevel

0.17.0-rc.2 - 2026-01-19

Changed

  • Supported LeviLamina 1.8.0-rc.2
  • Added client support
  • Replace int with CommandPermissionLevel for debugCommandLevel

0.16.8 - 2026-01-14

Added

  • Added debugCommandLevel config @ShrBox
  • Fixed onLiquidFlow @killcerr

0.16.7 - 2026-01-13

Changed

  • Used shared_ptr to manage script::ScriptEngine @ShrBox

0.16.6 - 2026-01-13

Changed

  • No need to copy raw pointer of nbt @ShrBox
  • Optimized ItemAPI
  • Added std::monostate to DB::Any for preventing some exceptions @ShrBox
  • Avoided unnecessary new and raw pointer @ShrBox

Fixed

  • Fixed potential memory leak in _extractValue(RemoteCall::ItemType&& v) of RemoteCallAPI @ShrBox

0.16.5 - 2026-01-12

Changed

  • Stored CommandOutput and CommandOrigin as shared_ptr for asynchronous command processing

0.16.4 - 2026-01-12

Fixed

  • Fixed mysql query @ShrBox
  • Fixed memory leak in BinaryStream @ShrBox

0.16.3 - 2026-01-12

Changed

  • Optimized FileClass constructor @ShrBox
  • Optimized SimpleIni creation @ShrBox

Fixed

  • Fixed several potential memory leak issues(FileSystemAPI, InternationalAPI, SystemAPI, IniHelper) @ShrBox

0.16.2 - 2026-01-11

Changed

  • Bumped QuickJs-Ng to 0.11.0 @Yushu2606
  • Bumped Python to 3.12.10 @Yushu2606

Fixed

  • Fixed data.toMD5 & data.toSHA1 #339 @ShrBox
  • Fixed memory leak in network.httpGet & network.httpPost @ShrBox

0.16.1 - 2025-11-12

Added

  • Added the maxCount attribute to the Item class @zimuya4153

Fixed

  • Fixed the Vec3 parameter of the command @zimuya4153
  • Fixed the objectificationMoneyHistory function of money #332 @zimuya4153
  • Fixed the Player::giveItem method #326 @zimuya4153
  • Fixed the NbtCompound::toObject method #315 #317 @zimuya4153
  • Fixed the syntax error output of runcmdEx @zimuya4153
  • Fixed the asynchronous output of commands #322 @zimuya4153
  • Fixed the hurt method of the Actor class #330 @zimuya4153

0.16.0 - 2025-11-04

Changed

  • Supported LeviLamina 1.7.0 @ShrBox

0.15.0 - 2025-10-04

Changed

  • Supported LeviLamina 1.6.0 @ShrBox
  • Removed LegacyParticleAPI

0.14.0 - 2025-09-23

Changed

  • Supported LeviLamina 1.5.0 @ShrBox

Fixed

  • Fixed logger.setFile #323 @ShrBox

0.13.2 - 2025-08-07

Fixed

  • Fixed Node engine installation issue
  • Fixed the simulated player using Player::getLangCode (#316) @zimuya4153

0.13.1 - 2025-07-18

Fixed

  • Fixed 7-zip tooth #309
  • Fixed mc.getEntities #310

0.13.0 - 2025-07-15

Changed

  • Supported LeviLamina 1.4.0 @xiaoqch

Fixed

  • Ensured onUnload is invoked prior to engine cleanup @xiaoqch

0.12.1 - 2025-07-13

Added

  • Implemented the internal support for event cancellation #285 @xiaoqch
  • Added file version info @xiaoqch

Changed

  • Refactored npm command, revert event commit @xiaoqch

Fixed

  • Fixed entity.setMaxHealth #291 @xiaoqch
  • Fixed onSetArmor, onEffectAdded and onEffectRemoved #299 @xiaoqch
  • Fixed npm command @xiaoqch
  • Fixed unload crash #300 @xiaoqch
  • Disabled input in console npm command @xiaoqch
  • Fixed old nodejs addon load error #9 @xiaoqch
  • Ensured microtasks are executed automatically #10 @xiaoqch
  • Fixed ll.onUnload #303 @xiaoqch
  • Fixed onServerStarted event for nodejs engine @xiaoqch
  • Ensured mods are unloaded when the server stops #303 @xiaoqch
  • Added missing enter scope on mods unload @xiaoqch
  • Fixed ll.isRelease @xiaoqch

0.12.0 - 2025-06-12

Added

  • Added tooltip support for CustomFormBuilder @xiaoqch

Changed

  • Removed obsolete GUI logic @xiaoqch
  • Improved PlayerClass::talkAs (#287) @killcerr

Fixed

  • Fixed Player.transServer @xiaoqch
  • Fixed data.toMD5 and data.toSHA1 @xiaoqch
  • Fixed simulateLookAt #278 @ShrBox

0.11.3 - 2025-06-03

Added

  • Added onEndermanTakeBlock event #233 @zimuya4153

0.11.2 - 2025-06-01

Fixed

  • Fixed onPlaceBlock #242 @ShrBox

0.11.1 - 2025-05-31

Added

  • Added ll.pluginsRoot and ll.getCurrentPluginInfo apis @xiaoqch

Changed

  • Updated LeviLamina to 1.2.0
  • Updated ScriptX to fix v8 backend issue #277 @ShrBox
  • Refactored onAte event (#279) @killcerr

Fixed

  • Fixed compatibility with custom mods directory @xiaoqch
  • Fixed ll.getPluginInfo fails to get current plugin info during loading @xiaoqch

0.11.0 - 2025-05-20

Changed

  • Refactored GUI API
  • Support LeviLamina 1.2.0-rc.2

Fixed

  • Fixed ll.import and ll.export for nodejs engine (#270) @xiaoqch
  • Fixed ang.toFacing (#271) @xiaoqch
  • Fixed entity.speed and player.speed (#184) @xiaoqch
  • Fixed mc.deletePlayerNbt @xiaoqch
  • Improved logging in NodeJs plugin loading @xiaoqch
  • Fixed return type for invalid dimension in mc.getBlock @xiaoqch

0.10.9 - 2025-06-01

Added

  • Added ll.pluginsRoot and ll.getCurrentPluginInfo apis @xiaoqch

Changed

  • Updated ScriptX to fix v8 backend issue #277 @ShrBox
  • Refactored onAte event (#279) @killcerr

Fixed

  • Fixed compatibility with custom mods directory @xiaoqch
  • Fixed ll.getPluginInfo fails to get current plugin info during loading @xiaoqch
  • Fixed onPlaceBlock #242 @ShrBox

0.10.8 - 2025-05-22

Changed

  • Update LeviLamina to 1.1.2

Fixed

  • Fixed mc.getPlayerScore #273
  • Fixed network.httpGet #269

0.10.7 - 2025-05-20

Fixed

  • Fixed ll.import and ll.export for nodejs engine (#270) @xiaoqch
  • Fixed ang.toFacing (#271) @xiaoqch
  • Fixed entity.speed and player.speed (#184) @xiaoqch
  • Fixed mc.deletePlayerNbt @xiaoqch
  • Improved logging in NodeJs plugin loading @xiaoqch
  • Fixed return type for invalid dimension in mc.getBlock @xiaoqch

0.10.6 - 2025-04-27

Added

  • Added Node.js backend esm support (#268) @engsr6982

Fixed

  • Fixed Direction enum @xiaoqch

0.10.5 - 2025-04-13

Fixed

  • Fixe param of onBlockExploded event callback #264 @xiaoqch

0.10.4 - 2025-04-12

Fixed

  • Fixed mc.getBlock #261 @xiaoqch

0.10.3 - 2025-03-23

Fixed

  • Fixed plugin executeOnModUnload @zimuya4153
  • Fixed output of plugin load error @xiaoqch
  • Fixed system.cmd and system.newProcess callback #258 @xiaoqch

0.10.2 - 2025-03-16

Changed

  • Synced ScriptX with upstream
  • Delay onServerStarted for 1 tick to fix compatibility with old plugins(e.g. LLSE-FakePlayer)
  • Show error when loading plugins failed #240 @xiaoqch

Fixed

  • Fixed DefaultDataLoadHelper

0.10.0 - 2025-03-14

Changed

  • Upgrade tooth.json to manifest v3

Fixed

  • Fixed HttpServer crash #249 @xiaoqch
  • Fixed mc.getBlock #252 @xiaoqch
  • Fixed Player.setCurrentExperience #243 @xiaoqch
  • Fixed getAllTags #251 @ShrBox

0.10.0-rc.2 - 2025-03-02

Fixed

  • Fixed onNpcCmd event
  • Use coro for delay command registration instead of ServerStartedEvent to fix command registration in onServerStarted event

0.10.0-rc.1 - 2025-03-01

Changed

  • Adapted to LeviLamina 1.1.0(MCBE 1.21.60.10)
  • Disabled onNpcCmd temporarily because it is broken
  • Not delay onServerStartedEvent and command registration for compatibility with LeviStone

0.9.7 - 2025-02-10

Added

  • Added more block for onRedStoneUpdate #212

Fixed

  • Fixed debug command output
  • Fixed Player::talkAs & talkTo
  • Fixed onMobHurt #236
  • Fixed onEffectRemoved not triggered when effects are removed manually

0.9.6 - 2025-02-07

Added

  • Added ll.onUnload #227
  • Added onNpcCmd #226
  • Added onEffectAdded/Updated/Removed
  • Added onEntityTransformation

Changed

  • Make version related api show LSE version instead of LeviLamina version

Fixed

  • Fixed onPlayerInteractEntity #231
  • Fixed onEntityExplode #225

0.9.5 - 2025-02-04

Added

  • Added some api and event #220

Changed

  • Updated translation
  • Updated lightwebsocketclient #221

Fixed

  • Fixed onAte event #222 (#223)

0.9.4 - 2025-02-02

Changed

  • Disabled LLSECallEventsOnHotUnload when server stops

Fixed

  • Fixed setTimeout can't be cancelled #219
  • Fixed crash on unload

0.9.3 - 2025-01-30

Fixed

  • Fixed Player::clearItem #216

0.9.2 - 2025-01-29

Fixed

  • Removed redundant endl in ColorLog
  • Add missing destroy engine when load failed
  • Fixed Player/Entity::getBlockFromViewVector #214
  • Fixed Player/Entity::isOnHotBlock
  • Fixed Player::setAbility #213
  • Fixed Logger::setLogLevel & ColorLog
  • Fixed debug engine's logger
  • Fixed npm executing #204

0.9.1 - 2025-01-26

Fixed

  • Fix issue of preRelease in registerPlugin

0.9.0 - 2025-01-25

Added

  • Implemented Logger::setTitle
  • Added mysql support except for Node.js engine
  • Add FormCancelReason for GuiAPI
  • Implemented registerPlugin for old plugins

Fixed

  • Fix setAbility
  • Fix runtime command warning
  • Add missing stacktrace in catch
  • Add missing LLSECallEventsOnHotUnload and fix unload

0.9.0-rc.5 - 2025-01-15

Fixed

  • Add missing condition for onContainerChange
  • Fix onFarmLandDecay cancellation
  • Fix processConsolePipCmd #208
  • Fix NodeJs engine disabling

0.9.0-rc.4 - 2025-01-13

Changed

  • Find modules in python engine's directory

Fixed

  • Fix playerInfo not launch #206
  • Fix plugin reload #207

0.9.0-rc.3 - 2025-01-12

Changed

  • Support LeviLamina 1.0.0-rc.3

0.9.0-rc.2 - 2025-01-10

Fixed

  • Fix command compatibility
  • Fix System::cmd and System::newProcess #203
  • Fix npm & pip command

0.9.0-rc.1 - 2025-01-09

Changed

  • Support LeviLamina 1.0.0-rc.2
  • Replace QuickJs with QuickJs-Ng v0.8.0
  • Upgrade Lua to v5.4.7
  • Upgrade NodeJs to v22.12.0
  • Upgrade Python to v3.12.8
  • Refactor command api

0.8.20 - 2024-12-01

Fixed

  • Fix setGameMode
  • Fix clearItem #186

0.8.19 - 2024-08-23

Changed

  • Remove NativeAPI completely

Fixed

  • Fix LLSECallEventsOnHotLoad's position
  • Fix Entity::teleport with 2 argument

0.8.18 - 2024-08-12

Fixed

  • Fix onMobHurt #157

0.8.17 - 2024-08-10

Fixed

  • Add valid check for Entity

0.8.16 - 2024-08-10

Fixed

  • Fix EntityAPI completely #157

0.8.15 - 2024-08-09

Changed

  • Refactoring PlayerAPI & EntityAPI & DeviceAPI
  • Refactoring ItemAPI

0.8.14 - 2024-08-08

Fixed

  • Fix NbtAPI constructor #160

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

  • Fix bugs related to Nbt ownership

0.8.11 - 2024-08-07

Changed

  • Refactoring DeviceAPI to prevent crash

Fixed

  • Add missing Logger::setPlayer

0.8.10 - 2024-08-06

Fixed

  • Fix Entity::toPlayer

0.8.9 - 2024-08-05

Changed

  • Refactoring PlayerAPI

Fixed

  • Fix onMobHurt crash
  • Fix DefaultDataLoadHelper

0.8.8 - 2024-08-05

Fixed

  • Fix setNbt bug
  • Refactor MoreGlobal
  • Fix a critical issue in 0.8.7

0.8.7 - 2024-08-04

Changed

  • Adapt to LeviLamina 0.13.5
  • Remove useless output
  • Remove useless translation
  • Refactor translation

0.8.6 - 2024-08-03

Fixed

  • Fix onMobHurt exception #157

0.8.5 - 2024-07-29

Changed

  • Downgrade cpp-httplib
  • Refactoring some confusing code
  • Remove useless package for python engine

Fixed

  • Fix exception message in NbtCompoundClass::constructor
  • Fix onMobHurt #154
  • Fix Entity::hurt #153

0.8.4 - 2024-07-24

Changed

  • Adapt to LeviLamina 0.13.4

0.8.3 - 2024-07-14

Fixed

  • Fix Entity::hurt #152
  • Fix trident consumption for onSpawnProjectile #143

0.8.2 - 2024-07-12

Fixed

  • Fix onLiquidFlow's behavior
  • Fix player attribute setter (#149)

0.8.1 - 2024-06-23

Fixed

  • Fix reduceExperience #145
  • Fix ScoreboardAPI #84

0.8.0 - 2024-06-18

Added

  • Adapt to LeviLamina 0.13.x

0.7.12 - 2024-05-22

Fixed

  • Fix onPistonTryPush & onPistonPush #137

0.7.11 - 2024-05-11

Fixed

0.7.10 - 2024-05-09

Changed

  • Allow nodejs engine unload

Fixed

  • Fix transMoney
  • Fix nodejs engine in Non-English directory

0.7.9 - 2024-05-07

Changed

  • Not create manifest.json when migrating if it exists
  • Add compability for mc.explode

Fixed

  • Fix block.name #130
  • Fix getAllPluginInfo #128

0.7.8 - 2024-05-04

Fixed

  • Fix HttpServer
  • Make FileSystemAPI supports utf-8

0.7.7 - 2024-05-03

Fixed

0.7.6 - 2024-05-02

Changed

  • Remove error log in some api

0.7.5 - 2024-05-02

Added

  • Add missing hopper events #88

Changed

  • Replace SimulatedPlayer::create

Fixed

  • Fix unexpected situation of onMobDie
  • Fix some stupid exception process

0.7.4 - 2024-05-02

Changed

  • Make onPlaceBlock returning placing face

Fixed

  • Fix truePos pre calculation
  • Fix onProjectileHitBlock & onProjectileHitEntity #108
  • Fix mc.explode #111

0.7.3 - 2024-05-01

Fixed

  • Fix getRespawnPosition #115
  • Fix onDropItem #110

0.7.2 - 2024-04-29

Fixed

  • Fix output of runcmdEx not integrity

0.7.1 - 2024-04-29

Changed

  • Disable unload in node engine

Fixed

  • Fix PluginManager's error

0.7.0 - 2024-04-28

Changed

  • Adapt to LeviLamina 0.12.x

0.6.4 - 2024-04-21

Fixed

  • Fix NetworkAPI's callback
  • Enlarge NewProcess's buffer #48

0.6.3 - 2024-04-20

Added

  • Add onConsumeTotem #104
  • Add onSetArmor #95
  • Add onProjectileHitEntity & onProjectileHitBlock #87

Changed

  • Set snbt format to ForceQuote in toSNBT

Fixed

  • Fix NetworkPacket #50

0.6.2 - 2024-04-14

Fixed

0.6.1 - 2024-04-13

Fixed

  • Fix clearItem #100
  • Fix getEnderChest #99

0.6.0 - 2024-04-13

Fixed

  • Support deferred command registration #35
  • Fix mc.getStructure #97

0.5.4 - 2024-04-08

Fixed

  • Fix getPlayerNbt #94
  • Fix offline setPlayerNbt

0.5.3 - 2024-04-05

Fixed

  • Add default value process into Entity::hurt #91
  • Fix setScale #92

0.5.2 - 2024-03-28

Fixed

0.5.1 - 2024-03-27

Changed

  • Support LeviLamina 0.10.x
  • Add judgement in getEnderChest

Fixed

0.4.15 - 2024-03-24

Fixed

0.4.14 - 2024-03-18

Changed

  • Support LeviLamina 0.9.5

0.4.13 - 2024-03-15

Fixed

  • Fix economy related events
  • Fix some events cancelled wrongly

0.4.12 - 2024-03-15

Added

  • Add onUseBucketPlace & onUseBucketTake #70

Changed

  • Make event's behavior match LLSE

Fixed

  • Fix setInterval #71

0.4.11 - 2024-03-14

Fixed

  • Fix some api about create directory

0.4.10 - 2024-03-14

Changed

  • Support LeviLamina 0.9.3

Fixed

  • Fix setTimeout dead lock completely

0.4.8 - 2024-03-10

Fixed

  • Fix setTimeout dead lock problem

0.4.7 - 2024-03-10

Added

  • Add onPlayerPullFishingHook
  • Add onScoreChanged

0.4.6 - 2024-03-10

Added

  • Add python & nodejs support (#62)

Fixed

  • Fix some scoreboard api (#60)

0.4.3 - 2024-03-03

Added

  • Add seh translator

Fixed

  • Fix getAllTags (#56)
  • Fix return value of runcmdEx #54
  • Fix HttpServer exception #53
  • Fix an error in Player::getAllItems
  • Fix uncaught exception while loading plugins
  • Fix Player::clearItem

0.4.2 - 2024-03-02

Added

  • Add Device::inputMode

Fixed

  • Fix Player::serverAddress #52

0.4.1 - 2024-02-25

Fixed

  • Fix getLastDeathPos #45
  • Fix Player::talkAs #47
  • Fix Player::setBossBar #49

0.4.0 - 2024-02-24

Changed

  • Support LeviLamina 0.9.x

Fixed

0.3.2 - 2024-02-23

Changed

  • Refactor plugin manager

0.3.1 - 2024-02-21

Fixed

  • Fix player score API (#36)

0.3.0 - 2024-02-13

Added

  • Support LeviLamina 0.8.x

Fixed

  • Fix Player::talkAs
  • Fix Chinese path related problems
  • Fix an error in onMobSpawned

0.2.4 - 2024-02-08

Fixed

  • Fix onCmdBlockExecute

0.2.2 - 2024-02-06

Fixed

  • Fix runcmdEx error when command has no output

0.2.1 - 2024-02-06

Fixed

  • Fix endless loop

0.2.0 - 2024-02-06

Added

  • Support LeviLamina 0.7.x

Fixed

  • Fix Device::getIP

0.1.6 - 2024-02-05

Fixed

  • Fix a logic error while migrating old plugins

0.1.5 - 2024-02-05

Fixed

  • Fix some error while migrating old plugins

0.1.4 - 2024-02-05

Added

  • First release.