Releases: goplus/xgo
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
v1.5.0-pre.2
v1.5.0-pre.1
What's Changed
incompatible changes:
- 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
changes:
- fix(compile): ensure valid Rparen and NoParenEnd in CallExpr by @go-wyvern in #2363
- MainVersion: 1.5 by @xushiwei in #2371
Full Changelog: v1.4.6...v1.5.0-pre.1
v1.4.6
What's Changed
cmd/xgo:
- xgo: gogen.GeneratedHeader by @xushiwei in #2343
- xgo: main cmd by @xushiwei in #2344
- change project class suffix to _app.gox for xgo by @tsingbx in #2346
- add usage for xgo by @tsingbx in #2347
changes:
- feat(parser) enhance parser to determine block statement positions and add tests for shadow entry handling by @go-wyvern in #2349
- ast/parser: implicit ident by @xushiwei in #2354
- feat(classfile): add node method to pkgCtx for shadow main postion by @go-wyvern in #2353
- ast/parser: remove SkipObjectResolution by @xushiwei in #2357
- ast.Package/File: remove Scope by @xushiwei in #2358
- cl: support aliastypeparams by @visualfc in #2355
- cl: typeAlias by @xushiwei in #2359
doc:
ci & tools:
deps:
- fix(go.mod): update gogen dependency to v1.18.1 by @go-wyvern in #2356
- build(deps): bump github.com/goplus/cobra from 1.9.11 to 1.9.12 by @dependabot in #2350
- build(deps): bump github.com/qiniu/x from 1.14.0 to 1.14.6 by @dependabot in #2352
Full Changelog: v1.4.5...v1.4.6
v1.4.5
What's Changed
cmd/xgo:
- cmd: xgo by @xushiwei in #2312 #2313 #2339
- cmd: xgo by @tsingbx in #2314 #2315 #2318 #2319 #2320 #2321 #2322 #2324 #2325 #2326 #2328 #2333 #2335 #2336 #2338
class files and frameworks:
- embed work classes for project class; init project instance in work class by @xushiwei in #2301
- class framework: gmxProject.embed fix by @xushiwei in #2304
- class framework: spName support Class.Prefix by @xushiwei in #2337
- doc: class framework by @xushiwei in #2311
domain text literals:
- ast, parser: DomainTextLitEx by @xushiwei in #2302
- parser: domainTextLitEx; cl: compileDomainTextLit with args by @xushiwei in #2303
features:
- compileCallArgs: auto ConvertToClosure by @xushiwei in #2305
- builtin: fatal, errorln by @xushiwei in #2323
- mv gop builtin packages => qiniu/x by @xushiwei in #2334
changes:
- cl: support TyTypeAsParams by @visualfc in #2308
- cl: genMainFunc force remove comments by @visualfc in #2317
ci & tools:
deps:
- build(deps): bump github.com/qiniu/x from 1.13.19 to 1.14.0 by @dependabot in #2332
- build(deps): bump github.com/goplus/mod from 0.16.0 to 0.16.1 by @dependabot in #2331
- build(deps): bump github.com/goplus/cobra 1.9.9 by @dependabot in #2330
- build(deps): bump github.com/goplus/gogen 1.18.0 by @dependabot in #2329
Full Changelog: v1.4.0...v1.4.5
v1.4.0
What's Changed
llgo version (support v0.11.x):
changes:
ci & tools:
deps:
- build(deps): bump github.com/goplus/gogen from 1.17.1 to 1.17.2 by @dependabot in #2295
- build(deps): bump github.com/qiniu/x from 1.13.17 to 1.13.19 by @dependabot in #2297
- build(deps): bump github.com/goplus/mod from 0.15.1 to 0.16.0 by @dependabot in #2298
Full Changelog: v1.3.9...v1.4.0