Releases: cleolibrary/CLEO-Redux
Releases · cleolibrary/CLEO-Redux
1.2.2
1.2.1
- fix an issue when importing the same file from different folders would result in duplicate code
- fix a crash in
Memory.Fn
methods returning 8-bit or 16-bit results (#97) - fix a bug with corona rendering when only one corona was visible (#98)
SDK AND PLUGINS
- Dylib 2.0: the plugin rewritten to provide a behavior identical to CLEO4's LOAD_DYNAMIC_LIBRARY. Now a returned value is the loaded module's address in memory.
BREAKING CHANGES
- bumped minimum required versions of command definitions
1.2.0
- add support for GTA The Trilogy - The Definitive Edition v1.0.17.39540 (Epic Games Store)
- fix an issue when constructor commands for derived classes returned incorrect values (
Heli.Create
,Boat.Create
, etc.) #93 - fix an issue when the library could not read the host version if the path to the executable contained non-ASCII characters
- improve log for objects: now they get serialized with all properties, not just
[object Object]
INSTALLER
- update references to Ultimate ASI Loader files to match their new names on GitHub
- append
Gameface\Binary\Win64
if a root directory of GTA The Trilogy - The Definitive Edition is selected
SDK AND PLUGINS
- Events 1.1: add support for latest version of GTA The Trilogy - The Definitive Edition (v1.0.17.39540), all launchers
BREAKING CHANGES
- bumped minimum required versions of command definitions
1.1.3
1.1.2
1.1.1
1.1.0
- add support for GTA The Trilogy - The Definitive Edition (Steam) - v1.0.17.38838
- add
"moduleDetection": "force"
in defaulttsconfig.json
to solve error TS2451 in VS Code. Delete yourtsconfig.json
if you want to recreate it with the new option.
BREAKING CHANGES
- bumped minimum required versions of command definitions for GTA IV
Thanks to my Patreon supporters for making this release possible.
1.0.7
- add a new property
CLEO.hostVersion
that returns the version of the current host. Currently only available if the current exe file has version info (e.g. GTA IV or GTA Trilogy) - fix a crash in GTA IV when loading a script with a syntax error
- fix an issue in GTA IV when some commands always returned the same value (e.g.
GET_CURRENT_CHAR_WEAPON
)
BREAKING CHANGES
- bumped minimum required versions of command definitions
CLEO.version
andCLEO.apiVersion
incorrectly returned empty strings for missing parts of the version string. Now they returnundefined
instead.
log(CLEO.apiVersion.patch); // was "" now undefined
log(CLEO.apiVersion.pre); // was "" now undefined
log(CLEO.apiVersion.build); // was "" now undefined
1.0.6
- new built-in functions
addEventListener
anddispatchEvent
. See https://re.cleo.li/docs/en/events.html - add
setTimeout
,setInterval
,clearTimeout
,clearInterval
. See https://re.cleo.li/docs/en/api.html - add
.cs
,.js
,.ts
to the list of allowed file extensions for CLEO.runScript - fix a rare deadlock causing scripts to stop on timeout
- fix an issue causing script failures after hot reload
- fix an issue when Bully commands returned incorrect values
SDK AND PLUGINS
- new SDK method
TriggerEvent
to trigger custom events with some payload. SDK version is now 7. - new Events plugin that brings in a few events to react on in JS/TS code:
OnVehicleCreate
,OnPedCreate
,OnObjectCreate
,OnVehicleDelete
,OnPedDelete
,OnObjectDelete
- IdeLoader 1.3: generate
ide_loader.d.ts
for better intellisense in TS scripts - TxtLoader 1.1: generate
txt_loader.d.ts
for better intellisense in TS scripts
BREAKING CHANGES
- bumped minimum required versions of command definitions
Thanks to @VitalRus95 for the help with testing.
1.0.5
- add TypeScript support
- add support for commands using global SCM variables (e.g. counters or timers). See scm.ts
- delete previously deprecated variable
GAME
. UseHOST
instead - update script watcher: changing
.mjs
files in a script directory or any nested directories triggers script reload FxtStore
can be forced to mutate global FXT keys by setting the last argument inFxtStore.insert
andFxtStore.delete
to true
SDK AND PLUGINS
- IdeLoader 1.2: fixed a parser bug that prevented
.ide
files with a2dfx
section to be loaded - Frontend 1.1: reduced a timeout during a check for updates to 10 seconds
- ImGuiRedux (by Grinch_): more commands
BREAKING CHANGES
- bumped minimum required versions of command definitions
Thanks to DadlyPrey, BroXe, and Junior_Djjr for supporting my work on Patreon!