Skip to content

Releases: gjsify/ts-for-gir

v4.0.0-beta.21

17 Feb 18:52
cd7cbc3
Compare
Choose a tag to compare

This release adopts the types from GNOME 48

What's Changed

Full Changelog: v4.0.0-beta.20...v4.0.0-beta.21

v4.0.0-beta.20

17 Feb 14:41
5526efd
Compare
Choose a tag to compare

Release v4.0.0-beta.20

🚀 Highlights

  • Fixed several type definition issues in GObject and GTK libraries
  • Improved documentation
  • Updated dependencies to latest versions

🔧 Type Definition Improvements

  • Fixed types for ActionMap.add_action_entries method in GIO (#219)
  • Made GObject.ParamSpec.* blurb and nick properties nullable (#224)
  • Added Cogl.SnippetHook support for Shell.GLSLEffect.add_glsl_snippet (#236)
  • Replaced keyword module with namespace for better TypeScript compatibility (#235)

📚 Documentation

  • Improved installation instructions for Fedora users (#230)

🔄 Other Changes

  • Attempted (#225) and reverted (#233) fix for LayoutManager generics
  • Updated project dependencies to latest versions

👥 Contributors

Special thanks to:

For the complete list of changes, please see the full changelog.

4.0.0-beta.19

09 Nov 10:18
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.0.0-beta.18...4.0.0-beta.19

4.0.0-beta.18

05 Nov 13:17
d3644fd
Compare
Choose a tag to compare

Fixed wrong return types for some promisified methods like load_contents_async and similar methods, see #211

Full Changelog: 4.0.0-beta.17...4.0.0-beta.18

4.0.0-beta.17

03 Nov 14:41
8de2706
Compare
Choose a tag to compare

4.0.0-beta.17 - Support for Promisified Method Types 🎉

We're excited to announce full TypeScript support for promisified methods, now enabled by default and available in the published NPM types. The implementation uses TypeScript overloads, providing:

  • Automatic Promise return types when the callback argument is omitted
  • Backward compatibility with original types when using callbacks
  • Full integration with the type system

Check out our new example demonstrating asynchronous file operations with the new typing system.

Note: As this is a new feature, we welcome your feedback and real-world usage reports.

What's Changed

  • ✨ Add promisified overload methods (@JumpLink in #210)
  • 🔄 Implement promisification for class members in typescript generator (@ewlsh in #177)
  • 📝 Add example code for promisified methods
  • 📦 Update dependencies
  • 🔄 Update GIR files

Full Changelog: 4.0.0-beta.16...4.0.0-beta.17

4.0.0-beta.16

20 Sep 16:58
Compare
Choose a tag to compare

What's Changed

  • Improve System module types by @swsnr in #202
  • Add GLib.Error.stack property by @swsnr in #201
  • Upgrade dependencies
  • Upgrade GNOME Shell 47 .gir files
  • Upgrade .gir from latest version in Fedora Workstation 41 Beta

Full Changelog: 4.0.0-beta.15...4.0.0-beta.16

4.0.0-beta.15

31 Aug 14:28
Compare
Choose a tag to compare

What's Changed

  • feat(GObject): Add missing TYPE_JSOBJECT definition by @JumpLink in #189
  • Upgrade gir files
  • Upgrade dependencies

Full Changelog: 4.0.0-beta.14...4.0.0-beta.15

4.0.0-beta.14

26 Jul 11:07
70838c7
Compare
Choose a tag to compare
  • Update gir files
  • Add missing ambient module console
  • Add missing static property Object.$gtype (not GObject.Object.$gtype)

Full Changelog: 4.0.0-beta.12...4.0.0-beta.14

4.0.0-beta.12

24 Jul 18:39
b76e8b5
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.0.0-beta.11...4.0.0-beta.12

4.0.0-beta.8

21 Jul 12:03
5604fc2
Compare
Choose a tag to compare

Improved GJS package core types

Full Changelog: 4.0.0-beta.7...4.0.0-beta.8