Releases: gjsify/ts-for-gir
4.0.0-beta.19
What's Changed
- fix(#195): Enable instanceof checks by @JumpLink in #214
- Add Requires property to MetaInfo by @JumpLink in #216
- Inject more IterableIterator and AsyncIterableIterator types for Gtk 4 and Gio by @JumpLink in #215
- Add Gtk 4 generics for FlowBox.bind_model ,ListBox.bind_model and StringList by @JumpLink in #212
- Mark enum parameters as nullable by @JumpLink in #213
- Upgrade ESLint 8 to 9 by @JumpLink in #217
Full Changelog: 4.0.0-beta.18...4.0.0-beta.19
4.0.0-beta.18
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
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
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
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
- Update gir files
- Add missing ambient module
console
- Add missing static property
Object.$gtype
(notGObject.Object.$gtype
)
Full Changelog: 4.0.0-beta.12...4.0.0-beta.14
4.0.0-beta.12
What's Changed
- Preparations for GNOME Shell 46 and 47 by @JumpLink in #184
- Add basic cairo overrides by @JumpLink in #186
Full Changelog: 4.0.0-beta.11...4.0.0-beta.12
4.0.0-beta.8
Improved GJS package core types
Full Changelog: 4.0.0-beta.7...4.0.0-beta.8
4.0.0-beta.11
4.0.0-beta.10
Add support for $gtype
for enums.
Full Changelog: 4.0.0-beta.8...4.0.0-beta.10