What's Changed
feature auto closure:
• autoclosure (#2818) by @xushiwei in https://github.com/goplus/xgo/pull/2826
• cl:autoclosure errmsg by @xushiwei in https://github.com/goplus/xgo/pull/2827
feature auto lambda:
• parser,printer:Auto Lambda by @xushiwei in https://github.com/goplus/xgo/pull/2829
• cl,build:Auto Lambda by @xushiwei in https://github.com/goplus/xgo/pull/2830
• ast:rename LambdaExpr => ArrowExpr, LambdaExpr2 => LambdaExpr by @xushiwei in https://github.com/goplus/xgo/pull/2831
• parser:autolambda bugfix by @xushiwei in https://github.com/goplus/xgo/pull/2833
• format:support loading autolambda info from gox.mod by @xushiwei in https://github.com/goplus/xgo/pull/2836
• cl:compileLambdaExpr with gogen.AutoLambdaCategory; gogen update from upstream by @xushiwei in https://github.com/goplus/xgo/pull/2839
feature for loop:
• cl:mv for range / for phrase test cases to cl/_testxgo by @xushiwei in https://github.com/goplus/xgo/pull/2838
• cl:rm support for obj.XGo_Enum(func(...)) by @xushiwei in https://github.com/goplus/xgo/pull/2842
• doc/for.md:The for Statement by @xushiwei in https://github.com/goplus/xgo/pull/2843
• doc/docs.md:for loop by @xushiwei in https://github.com/goplus/xgo/pull/2844
• fix(printer):handle for-phrase statements before expressions by @aofei in https://github.com/goplus/xgo/pull/2898
feature class fields
• parser,cl:mv 'multiple top-level var declarations in classfile' error from parser to cl by @xushiwei in https://github.com/goplus/xgo/pull/2822
• parser,cl:var declarations in classfile must be declared before functions by @xushiwei in https://github.com/goplus/xgo/pull/2823
• cl:class fields declaration must be declared before functions by @xushiwei in https://github.com/goplus/xgo/pull/2824
• parser:comments for fnExists & classFields by @xushiwei in https://github.com/goplus/xgo/pull/2825
changes:
• go 1.25; mod:golang.org/x/net v0.57.0 by @xushiwei in https://github.com/goplus/xgo/pull/2832
• xgo fmt:ignore Go files by default; chore: xgo fmt XGo source files by @xushiwei in https://github.com/goplus/xgo/pull/2837
• test for Go1.27 by @visualfc in https://github.com/goplus/xgo/pull/2851
• mod:github.com/goplus/lib v0.5.1 by @xushiwei in https://github.com/goplus/xgo/pull/2853
• mod:github.com/goplus/gogen v1.24.1 by @xushiwei in https://github.com/goplus/xgo/pull/2857
• mod:github.com/goplus/gogen v1.24.7; github.com/goplus/lib v0.5.3 by @xushiwei in https://github.com/goplus/xgo/pull/2862
• mod:github.com/goplus/lib v0.5.4 by @xushiwei in https://github.com/goplus/xgo/pull/2863
• mod:upgrade gogen to v1.24.8 by @go-wyvern in https://github.com/goplus/xgo/pull/2864
• tool:fix nil pointer panic in checkGopDeps when compilation fails (#2861) by @fennoai[bot] in https://github.com/goplus/xgo/pull/2865
• tool:preserve classfile requires in xgo mod tidy (#2175) by @fennoai[bot] in https://github.com/goplus/xgo/pull/2879
• mod:github.com/goplus/gogen v1.26.3 by @xushiwei in https://github.com/goplus/xgo/pull/2885
• cmd:use go1.27 by @xushiwei in https://github.com/goplus/xgo/pull/2893
• fix(cl):skip absent expression type information by @aofei in https://github.com/goplus/xgo/pull/2903
• fix(parser):preserve unnamed generic tuple fields by @aofei in https://github.com/goplus/xgo/pull/2901
• docs:rename CLAUDE.md to AGENTS.md by @aofei in https://github.com/goplus/xgo/pull/2900
• fix(cl):preserve class types after initializer errors by @aofei in https://github.com/goplus/xgo/pull/2897
• fix(cl):report positioned errors for recursive type aliases by @aofei in https://github.com/goplus/xgo/pull/2902
• docs:document shared XGo tooling conventions by @aofei in https://github.com/goplus/xgo/pull/2899
• fix(cl):recognize aliases in decorator callbacks by @aofei in https://github.com/goplus/xgo/pull/2905
• release:use go1.27 by @xushiwei in https://github.com/goplus/xgo/pull/2907
• retract v1.7.6 by @xushiwei in https://github.com/goplus/xgo/pull/2908
• fix(cl):support parenthesized assignment targets by @aofei in https://github.com/goplus/xgo/pull/2912
deps:
• build(deps):bump github.com/qiniu/x 1.19.3 by @dependabot[bot] in https://github.com/goplus/xgo/pull/2886
• build(deps):bump github.com/goplus/mod 0.22.1 by @dependabot[bot] in https://github.com/goplus/xgo/pull/2868
• build(deps):bump github.com/goplus/lib 0.7.1 by @dependabot[bot] in https://github.com/goplus/xgo/pull/2891
• build(deps):bump github.com/goplus/gogen 1.26.6 by @dependabot[bot] in https://github.com/goplus/xgo/pull/2892
• build(deps):bump github.com/goplus/cobra 1.10.8 by @dependabot[bot] in https://github.com/goplus/xgo/pull/2855
• build(deps):bump the go-deps group across 2 directories with 2 updates by @dependabot[bot] in https://github.com/goplus/xgo/pull/2909
• build(deps):bump github.com/goplus/lib from 0.7.1 to 0.7.2 in the go-deps group across 1 directory by @dependabot[bot] in https://github.com/goplus/xgo/pull/2913
ci & tools:
• fix(ci):build release binaries from the cmd module by @MeteorsLiu in https://github.com/goplus/xgo/pull/2910
• build(deps):bump docker/login-action 4.8.0 by @dependabot[bot] in https://github.com/goplus/xgo/pull/2896
New Contributors
• @MeteorsLiu made their first contribution in https://github.com/goplus/xgo/pull/2910
Full Changelog:https://github.com/goplus/xgo/compare/v1.7.5...v1.8.0