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