Skip to content

Releases: gjsify/ts-for-gir

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

4.0.0-beta.11

21 Jul 19:11
Compare
Choose a tag to compare

4.0.0-beta.10

21 Jul 18:09
Compare
Choose a tag to compare

Add support for $gtype for enums.

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