You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[v3] Binding generator tests for Go 1.24 features (#4068)
* Enable go1.24 tests
This reverts commit e38684e7885c9c7b5ad3f704ad500c39bbce7715.
* Testdata for go1.24
This reverts commit 7ed397dc452f420551dfdd05dfe0c6a7646b3ba4.
* Require go 1.24
* Update changelog
* Add test for omitzero
---------
Co-authored-by: Lea Anthony <[email protected]>
Copy file name to clipboardexpand all lines: docs/src/content/docs/changelog.mdx
+1
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
53
53
- Add `//wails:ignore` directive to prevent binding generation for chosen service methods by [@fbbdev](https://github.com/fbbdev) in [#4045](https://github.com/wailsapp/wails/pull/4045)
54
54
- Add `//wails:internal` directive on services and models to allow for types that are exported in Go but not in JS/TS by [@fbbdev](https://github.com/fbbdev) in [#4045](https://github.com/wailsapp/wails/pull/4045)
55
55
- Add binding generator support for constants of alias type to allow for weakly typed enums by [@fbbdev](https://github.com/fbbdev) in [#4045](https://github.com/wailsapp/wails/pull/4045)
56
+
- Add binding generator tests for Go 1.24 features by [@fbbdev](https://github.com/fbbdev) in [#4068](https://github.com/wailsapp/wails/pull/4068)
56
57
- Add support for macOS 15 "Sequoia" to `OSInfo.Branding` for improved OS version detection in [#4065](https://github.com/wailsapp/wails/pull/4065)
57
58
- Add `PostShutdown` hook for running custom code after the shutdown process completes by [@fbbdev](https://github.com/fbbdev) in [#4066](https://github.com/wailsapp/wails/pull/4066)
58
59
- Add `FatalError` struct to support detection of fatal errors in custom error handlers by [@fbbdev](https://github.com/fbbdev) in [#4066](https://github.com/wailsapp/wails/pull/4066)
Copy file name to clipboardexpand all lines: v3/internal/generator/testdata/output/lang=JS/UseInterfaces=false/UseNames=false/github.com/wailsapp/wails/v3/internal/generator/testcases/aliases/greetservice.js
+20-7
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,18 @@ export function GetButForeignPrivateAlias() {
Copy file name to clipboardexpand all lines: v3/internal/generator/testdata/output/lang=JS/UseInterfaces=false/UseNames=false/github.com/wailsapp/wails/v3/internal/generator/testcases/aliases/index.js
+23-1
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,15 @@ export {
8
8
};
9
9
10
10
export{
11
+
AliasGroup,
11
12
AliasedPerson,
12
13
EmptyStruct,
13
14
GenericPerson,
15
+
GenericPersonAlias,
16
+
IndirectPersonAlias,
14
17
Person,
15
-
StrangelyAliasedPerson
18
+
StrangelyAliasedPerson,
19
+
TPIndirectPersonAlias
16
20
}from"./models.js";
17
21
18
22
import*as$modelsfrom"./models.js";
@@ -33,6 +37,24 @@ import * as $models from "./models.js";
0 commit comments