Skip to content

Releases: ialex32x/GodotJS

v0.8.6

14 Sep 04:48
Compare
Choose a tag to compare
  • Experimental: Automatically collect all dependent JS files when exporting (include JS source files in node_modules)
  • Experimental: Add code doc helper annotations (@deprecated @experimental @help)
  • Experimental: Add Android and iOS build support (not fully tested)
  • Fixed: tsc doesn't emit JS with relative path of TS source (explicitly define rootDir='./' in tsconfig.json now)

v0.8.4

05 Sep 11:26
Compare
Choose a tag to compare
  • compatible with Godot 4.2/4.3/4.4
  • expose special properties (with a hidden parameter for the underlying getter/setter)
  • add the missing methods (set_keyed/get_keyed) of Dictionary
  • add a statistics panel of the running script engine
  • optimize float value get/set in reflect-bindings
  • support for of iteration on GDictionary/GArray in JS
  • embed internal jsb scripts into C++ (no jsb.*.ts sources to install)
  • fix any type for arguments/return in d.ts
  • fix an issue of directly debugging typescript sources in devtools
  • fix unary operator

v0.8.3

06 Aug 14:17
Compare
Choose a tag to compare
  • generate strongly typed Signal/Callable in d.ts
  • optimize the primitive type bindings (replace indirect variant helper call with validated function pointer call)
  • minor fixes

v0.8.1

26 Jul 13:15
Compare
Choose a tag to compare
  • provide more commonly used annotations (export_range, export_file, ...)
  • ProcessImpl for unix systems
  • minor fixes

v0.8.0

20 Jul 14:36
Compare
Choose a tag to compare
  • automatically execute npm install after presets installed to a project
  • output source filename, lineno of typescript instead of C++ for console.warn and console.error
  • improve the generated d.ts (accept JS array for packed array, JS string for NodePath, and exact default values for more types of parameters)
  • fix unresolved symbol StringName and Array in d.ts
  • reload scripts by checking time modified and content hash both
  • minor fixes

v0.7.6

16 Jul 11:56
Compare
Choose a tag to compare
  • [experimental] support hot-reloading
  • improve the generated d.ts
  • directly use typescript source as GodotJSScript, and support placing .ts in any sub directory in the project
  • fix GodotJSScript class registration flow (avoid reporting class not found when starting the engine)
  • provide essential GodotJSScript templates
  • support tsc watch in the editor

v0.7.1

05 Jul 13:56
Compare
Choose a tag to compare
  • add index accessor of godot primitive types (set_indexed/get_indexed of packed array types)
  • fix object leaks on quiting (improve the Realm lifetime control)
  • fix GodotJSScript method reference leaks on reloading
  • fix crash on printing a ordinary JS object in REPL
  • improve JSB_LOG outputs

v0.7

02 Jul 08:08
Compare
Choose a tag to compare
  • generate godot class help docs in d.ts
  • improve gc performance on Variant objects
  • add @icon annotation support
  • minor fixes

v0.6

15 Jun 08:16
Compare
Choose a tag to compare
  • support godot class getset property
  • implicitly translate godot Packed*Array from javascript Array
  • add add_module/find_module helper functions
  • resolve modules with package.json if exists
  • fix array buffer allocator (zeroed and non-zeroed)
  • get rid of the use of lfs files

v0.5

06 Jun 01:51
Compare
Choose a tag to compare
  • define the built-in jsb utilities as a module (instead of a global namespace)
  • conversions between ArrayBuffer and PackedByteArray
  • generate bindings of godot primitive types operators