Releases: goplus/xgo
Releases · goplus/xgo
v1.6.0
What's Changed
release notes:
- break GopXXX => XGoXXX (incompatible changes, see goplus/[email protected])
- keep Gop_Exec, Gop_Env
- keep Gop_sched (to be removed, so there is no XGo_sched)
release tools:
features:
- classfile variable initialization (#2522) by @xushiwei @xgopilot in #2528 #2544 #2545
- feat(ast,parser,printer): add TupleType for Phase 1 of Tuple Type proposal by @xgopilot[bot] in #2539
changes:
- fix(types): include FileSet in convGoErr for better error context by @go-wyvern in #2537
- prototype: GopXXX => XGoXXX by @xushiwei in #2541
- docs(spec-mini): document Commands and Calls syntax by @xgopilot[bot] in #2477
- docs: update built-in interfaces in XGo MiniSpec by @xgopilot[bot] in #2507
- parser mode: GoPlus => XGo by @xushiwei in #2524
- feat(printer): add CommentedNodes support for statement-level comments by @xgopilot[bot] in #2527
- feat(checker): enhance error handling by converting Go errors by @go-wyvern in #2531
- refactor(env): replace hardcoded environment variable keys with constants by @go-wyvern in #2530
ci & tools:
- chore(Dockerfile): use heredoc for build steps by @aofei in #2510
- chore(build): add
-trimpathandmod_timestampfor reproducible builds by @aofei in #2511 - chore(release): migrate to
dockers_v2from GoReleaser 2.12 by @aofei in #2512 - chore: configure Claude model to use claude-4.5-opus by @CarlJi in #2533
- docs: update CLAUDE.md with language spec structure guidance by @xgopilot[bot] in #2505
deps:
- chore(deps): bump github.com/qiniu/x from 1.15.2 to 1.15.3 by @dependabot[bot] in #2516
- chore(deps): bump github.com/goplus/mod 0.18.0 by @dependabot[bot] in #2520
- chore(deps): bump github.com/goplus/gogen v1.20.2 by @xushiwei in #2544
Full Changelog: v1.5.3...v1.6.0
v1.6.0-pre.3
What's Changed
release notes:
- break GopXXX => XGoXXX (incompatible changes, see goplus/[email protected])
- keep Gop_Exec, Gop_Env
- keep Gop_sched (to be removed, so there is no XGo_sched)
features:
- feat(ast,parser,printer): add TupleType for Phase 1 of Tuple Type proposal by @xgopilot[bot] in #2539
changes:
- fix(types): include FileSet in convGoErr for better error context by @go-wyvern in #2537
- prototype: GopXXX => XGoXXX by @xushiwei in #2541
Full Changelog: v1.6.0-pre.2...v1.6.0-pre.3
v1.6.0-pre.2
What's Changed
Full Changelog: v1.6.0-pre.1...v1.6.0-pre.2
v1.6.0-pre.1
What's Changed
release tools:
changes:
- docs(spec-mini): document Commands and Calls syntax by @xgopilot[bot] in #2477
- docs: update built-in interfaces in XGo MiniSpec by @xgopilot[bot] in #2507
- parser mode: GoPlus => XGo by @xushiwei in #2524
- feat(printer): add CommentedNodes support for statement-level comments by @xgopilot[bot] in #2527
- feat(parser): Phase 1 - Grammar support for classfile variable initialization by @xgopilot[bot] in #2528
- feat(checker): enhance error handling by converting Go errors by @go-wyvern in #2531
- refactor(env): replace hardcoded environment variable keys with constants by @go-wyvern in #2530
ci & tools:
- chore(Dockerfile): use heredoc for build steps by @aofei in #2510
- chore(build): add
-trimpathandmod_timestampfor reproducible builds by @aofei in #2511 - chore(release): migrate to
dockers_v2from GoReleaser 2.12 by @aofei in #2512 - chore: configure Claude model to use claude-4.5-opus by @CarlJi in #2533
- docs: update CLAUDE.md with language spec structure guidance by @xgopilot[bot] in #2505
deps:
- chore(deps): bump github.com/qiniu/x from 1.15.2 to 1.15.3 by @dependabot[bot] in #2516
- chore(deps): bump github.com/goplus/mod 0.18.0 by @dependabot[bot] in #2520
- chore(deps): bump github.com/goplus/gogen from 1.19.6 to 1.19.9-0.20260114155758-01b7b91c31d1 by @aofei in #2532
Full Changelog: v1.5.3...v1.6.0-pre.1
v1.5.3
What's Changed
features:
- feat: auto-reference for typed CompositeLit (#2484) by @xgopilot[bot] in #2485
- parser testcase: struct tag by @xushiwei in #2486
- feat: struct tags (#2488) by @xushiwei in #2495
- doc: struct tags by @xushiwei in #2497
changes:
- fix: add cycle import detection to prevent infinite loops by @xgopilot[bot] in #2471
- Support XGoPackage marker alongside legacy GopPackage by @xgopilot[bot] in #2474
- fix(class): fix class obj recv implicit function no position by @go-wyvern in #2489
- fix(cl): fix Main function recv implicit function no position by @go-wyvern in #2490
- fix(compile): pass the star expression to the Star function for addtional node pos by @go-wyvern in #2491
- compileErrWrapExpr: refactor by @xushiwei in #2501
rename Go+ => XGo:
deps:
- chore(deps): bump github.com/goplus/lib from 0.3.0 to 0.3.1 by @dependabot[bot] in #2480
- chore(deps): bump github.com/goplus/gogen from 1.19.5 to 1.19.6 by @dependabot[bot] in #2492
- chore(deps): bump github.com/qiniu/x from 1.15.1 to 1.15.2 by @dependabot[bot] in #2498
- github.com/goplus/mod v0.17.2 by @xushiwei in #2499
ci & tools:
- chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #2487
New Contributors
Full Changelog: v1.5.2...v1.5.3
v1.5.2
What's Changed
features:
- parameter *T automatically converted to *Base (#2439) by @xushiwei in #2440 #2442
- keyword arguments (#2443) by @xushiwei @niupilot[bot] in #2444 #2445 #2446 #2447 #2448 #2456
- optional parameters (#2449) by @niupilot[bot] @xushiwei in #2450 #2452 #2453 #2454 #2455
documents:
- docs: replace println with echo in quick start by @niupilot[bot] in #2458
- docs: add <- append operator documentation to quick start by @niupilot[bot] in #2459
- docs: add domain-specific text literals to quick start by @niupilot[bot] in #2460
- docs: replace for..<- with for..in in quick start by @niupilot[bot] in #2462
ai coding:
changes:
- cl: compileAssignStmt token.DEFINE check stack by @visualfc in #2425
- cl: enhance injection field checking and error msg for field conflicts by @go-wyvern in #2433
- cl: fix the range returned by diagnostic only has start but no end. by @go-wyvern in #2427
- cl: add check function to embed method for conditional field addition by @go-wyvern in #2431
- typesutil: fix type checker returned an unexpected error by @go-wyvern in #2426
- typesutil: use xgo types error by @go-wyvern in #2428
- typesutil: add error code field and getter for GetErrorGo116 in error handling by @go-wyvern in #2429
- cl/_testgop todo: errwrap1 by @xushiwei in #2424
- docs: Rename goplus to xgo in documentation by @Dshuishui in #2434
- docs: update SPX repository links from main to v1 branch by @niupilot[bot] in #2466
deps:
- chore(deps): bump github.com/goplus/lib from 0.2.0 to 0.3.0 by @dependabot[bot] in #2432
ci & tools:
- workflows: go1.25 by @visualfc in #2438
- chore(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in #2436
New Contributors
- @Dshuishui made their first contribution in #2434
- @niupilot[bot] made their first contribution in #2450
Full Changelog: v1.5.1...v1.5.2
v1.5.1
What's Changed
changes:
- scanner: use tagged switch by @xushiwei in #2400
- scanner/parser: .id is not keyword by @xushiwei in #2401
- x/xgoprojs: file proj check is exists by @visualfc in #2410
- xgoprojs.isFile by @xushiwei in #2411
- README: Domain Text Literals by @xushiwei in #2405
- docs(readme): update installation instructions, change gop to xgo by @go-wyvern in #2413
- fix(classfile): include source in StructLit initialization for work classes by @go-wyvern in #2417
- mini spec: Rational literals by @xushiwei in #2407
- mini spec: #constant-expressions by @xushiwei in #2409
tinygo:
rename Go+ to XGo:
- fix(typo): use "an XGo" instead of "a XGo" due to vowel sound by @aofei in #2398
- xgo-vs-go by @xushiwei in #2402
- Go+ => XGo by @xushiwei in #2403
- GOP_GOCMD => XGO_GOCMD by @xushiwei in #2404
deps & ci tools:
- chore(deps): update gogen dependency to version 1.19.1 by @go-wyvern in #2422
- chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #2421
Full Changelog: v1.5.0...v1.5.1
v1.5.0
What's Changed
rename Go+ => XGo:
- rename Go+ => XGo by @xushiwei in #2365
- mv *.gop => *.xgo by @xushiwei in #2366
- import gop/ => xgo/ by @xushiwei in #2367
- goplus.org => xgo.dev by @xushiwei in #2368
- module github.com/goplus/gop => github.com/goplus/xgo by @xushiwei in #2369
- x/gopenv => x/xgoenv; x/gopprojs => x/xgoprojs by @xushiwei in #2370
- gop/x/xgoprojs by @xushiwei in #2373
- gop => xgo; gop_autogen => xgo_autogen by @xushiwei in #2378
- cmd/make: Go+ => XGo by @xushiwei in #2379
- README: goplus/gop => xgo; cmd/make: gop => xgo; demo: xgo fmt by @xushiwei in #2381
- cmd: gop/ => xgo/ & xgo fmt by @xushiwei in #2382
- TestXGoInstaller by @xushiwei in #2383
- demo/fullspec/mixgo-complex, demo/mixgo: xgo_autogen.go by @xushiwei in #2384
- xgo/env by @xushiwei in #2386
- GOPROOT => XGOROOT by @xushiwei in #2387
- docs: replace
pkgs.goplus.orgwithpkgs.xgo.devby @aofei in #2388 - doc: igop => ixgo by @visualfc in #2389
changes:
- fix(compile): ensure valid Rparen and NoParenEnd in CallExpr by @go-wyvern in #2363
- MainVersion: 1.5 by @xushiwei in #2371
- cmd/make.go: go.work for typesalias by @visualfc in #2377
- fix misspell98 by @xushiwei in #2374
ci & tools:
- goreleaser gop => xgo by @cpunion in #2375
- Archive all files in release build by @cpunion in #2376
- ci: rm ./all.bash by @xushiwei in #2385
- chore(goreleaser): add gop binary and alias for xgo by @aofei in #2390
deps:
- chore(deps): bump github.com/goplus/mod from 0.17.0 to 0.17.1 by @dependabot in #2391
- gogen v1.19.0 by @xushiwei in #2394
Full Changelog: v1.4.6...v1.5.0
v1.5.0-pre.3
What's Changed
rename Go+ to XGo:
- README: goplus/gop => xgo; cmd/make: gop => xgo; demo: xgo fmt by @xushiwei in #2381
- cmd: gop/ => xgo/ & xgo fmt by @xushiwei in #2382
- TestXGoInstaller by @xushiwei in #2383
- demo/fullspec/mixgo-complex, demo/mixgo: xgo_autogen.go by @xushiwei in #2384
- xgo/env by @xushiwei in #2386
- GOPROOT => XGOROOT by @xushiwei in #2387
- docs: replace
pkgs.goplus.orgwithpkgs.xgo.devby @aofei in #2388 - doc: igop => ixgo by @visualfc in #2389
ci & tools:
- ci: rm ./all.bash by @xushiwei in #2385
- chore(goreleaser): add gop binary and alias for xgo by @aofei in #2390
deps:
- chore(deps): bump github.com/goplus/mod from 0.17.0 to 0.17.1 by @dependabot in #2391
- gogen v1.19.0 by @xushiwei in #2394
Full Changelog: v1.5.0-pre.2...v1.5.0-pre.3