Skip to content

Releases: godotjs/GodotJS

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

v0.4

31 May 05:57
Compare
Choose a tag to compare
  • Support @export_enum and @export_flags annotations
  • Fix the binding of nested enums of Variant
  • Support retrieving enum name by value, and value by name
export_enum_inspector

v0.3

29 May 11:30
Compare
Choose a tag to compare

Full Changelog: v0.2...v0.3