Skip to content

Releases: goplus/xgolsw

v0.8.0

17 Jul 08:59
3658edc
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0 by @dependabot[bot] in #154
  • build(deps): bump golang.org/x/mod from 0.25.0 to 0.26.0 by @dependabot[bot] in #153
  • build(deps): bump golang.org/x/tools from 0.34.0 to 0.35.0 by @dependabot[bot] in #155
  • chore(deps): bump github.com/goplus/spx/v2 to 2.0.0-beta5 by @aofei in #156

Full Changelog: v0.7.0...v0.8.0

v0.7.0

27 Jun 05:39
195fb19
Compare
Choose a tag to compare

What's Changed

  • refactor: remove predefined command spx.getDefinitions by @aofei in #139
  • refactor: rename gop to xgo and improve code quality by @aofei in #142
  • refactor(xgo): improve caching system with lock-free reads and type safety by @aofei in #143
  • Support cancellation by @nighca in #141
  • docs: update references to reflect rebranding from goxls to xgols by @aofei in #145
  • refactor(xgo): improve AST and TypeInfo architecture by @aofei in #144
  • fix(server): return context error directly in runWithResponse by @nighca in #149
  • refactor(xgo.TypeInfo): optimize DefIdentFor with reverse mapping for O(1) lookup by @aofei in #146
  • feat(server): wraps a function to add telemetry for lsp request execution by @go-wyvern in #148
  • Replace <definition-item> with <pre is="definition-item"> for markdown compatibility by @copilot-swe-agent in #151
  • refactor(server): rename runWithResponse split to runForCall and runForNotification for clarity in handling call messages by @go-wyvern in #152

New Contributors

Full Changelog: v0.6.0...v0.7.0

v0.6.0

17 Jun 03:34
8f1d564
Compare
Choose a tag to compare

What's Changed

  • refactor(format): enhance formatSpxGop to handle empty formatted output by @go-wyvern in #130
  • build(deps): bump golang.org/x/tools from 0.33.0 to 0.34.0 by @dependabot in #131
  • build(deps): bump github.com/goplus/gogen from 1.18.1 to 1.19.0 by @dependabot in #132
  • refactor(gop/goputil): avoid requiring gop.Project in DefIdentFor and RefIdentsFor by @aofei in #133
  • refactor(gop/goputil): enhance IdentsAtLine to support skipping ident by @go-wyvern in #138
  • refactor(gop/goputil): optimize IdentAtPosition performance by @aofei in #134
  • feat: rebrand from goxlsw to xgolsw by @aofei in #135
  • refactor: improve inspection of spx resource refs by @aofei in #136
  • refactor(internal/server): optimize SelectorTypeNameForIdent by @aofei in #137

Full Changelog: v0.5.0...v0.6.0

v0.5.0

06 Jun 08:56
b506832
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump github.com/qiniu/x from 1.14.6 to 1.15.0 by @dependabot in #113
  • fix: treat inlined math package as builtin for spx by @aofei in #114
  • fix(completion): improve suggestions for struct literals and fields by @aofei in #115
  • fix(goputil): correct IsShadow logic and support early exit on match by @aofei in #116
  • refactor: adopt Go 1.24 by @aofei in #118
  • refactor: extract helper funcs into gop/goputil for better modularity by @aofei in #57
  • refactor(gop/goputil): reimplement InnermostScopeAt with WalkPathEnclosingInterval by @aofei in #122
  • refactor: adopt go/types iterators from Go 1.24 by @aofei in #123
  • refactor: rework UTF-16 handling with fixes and clearer naming by @aofei in #125
  • refactor(gop/goputil): fail fast in CreateCallExprFromBranchStmt for real goto statements by @aofei in #126
  • refactor(gop/goputil): remove IsShadowIdent in favor of github.com/goplus/gop/ast.Ident.Implicit by @aofei in #128
  • refactor(server): streamline AST file handling and improve error reporting by @go-wyvern in #117
  • refactor: migrate github.com/goplus/spx to v2 module path by @aofei in #121
  • feat(format): performance optimization format by @go-wyvern in #127

Full Changelog: v0.4.2...v0.5.0

v0.4.2

23 May 07:10
b01d95f
Compare
Choose a tag to compare

What's Changed

  • fix(format): handle shadow entry documentation position in formatting by @go-wyvern in #106
  • fix(GetSpxDefinitionForFunc): correct detail retrieval for Gopt_ methods by @aofei in #105
  • feat: add sorting for input slots, document links, inlay hints by @aofei in #107
  • fix(compile): add check for invalid AST file positions by @go-wyvern in #108
  • chore(deps): update github.com/goplus/gop to a specific commit version by @go-wyvern in #109
  • chore(pkgdata): bump github.com/goplus/spx and regenerate pkgdata.zip by @aofei in #110

Full Changelog: v0.4.1...v0.4.2

v0.4.1

19 May 04:43
2f246b6
Compare
Choose a tag to compare

What's Changed

  • chore(cmd/pkgdatagen): bump github.com/goplus/goxlsw to v0.4.0 by @aofei in #102
  • refactor: safely resolve package path using util.PackagePath by @aofei in #103
  • chore(deps): bump github.com/goplus/gop to 1.4.6 by @aofei in #104

Full Changelog: v0.4.0...v0.4.1

v0.4.0

16 May 06:59
cbfab64
Compare
Choose a tag to compare

What's Changed

  • feat(project): enhance UpdateFiles to conditionally update files based on ModTime by @go-wyvern in #46
  • build(deps): bump github.com/goplus/gogen from 1.16.6 to 1.16.7 by @dependabot in #48
  • chore(deps): bump github.com/goplus/gop from 1.3.5 to 1.3.6 by @aofei in #49
  • fix: prevent duplicate references for auto-binding resources by @aofei in #50
  • build(deps): bump github.com/goplus/gogen from 1.16.7 to 1.16.8 by @dependabot in #51
  • feat(server): implement file synchronization methods and publish diagnostic notifications by @go-wyvern in #47
  • fix: ensure named sprite type is nil-checked before renaming by @aofei in #52
  • chore: remove GODEBUG=gotypesalias=1 by @aofei in #54
  • build(deps): bump github.com/goplus/gop from 1.3.6 to 1.3.9 by @dependabot in #67
  • build(deps): bump golang.org/x/tools from 0.30.0 to 0.32.0 by @dependabot in #59
  • build(deps): bump github.com/goplus/gop from 1.3.9 to 1.4.0 by @dependabot in #71
  • fix: correct formatting of method declarations by @aofei in #72
  • build(deps): bump github.com/goplus/gogen from 1.17.2 to 1.17.3 by @dependabot in #75
  • refactor: move internal/pkgdata/gen to cmd/pkgdatagen and make it a nested module by @aofei in #76
  • feat(wasm): introduce SetCustomPkgdataZip func by @aofei in #77
  • build(deps): bump github.com/qiniu/x from 1.13.19 to 1.14.0 by @dependabot in #81
  • build(deps): bump golang.org/x/tools from 0.32.0 to 0.33.0 by @dependabot in #80
  • build(deps): bump github.com/goplus/mod from 0.16.0 to 0.16.1 by @dependabot in #82
  • build(deps): bump github.com/goplus/gogen from 1.17.3 to 1.18.0 by @dependabot in #79
  • feat(wasm): introduce SetClassfileAutoImportedPackages func by @aofei in #78
  • feat(format): enhance variable declaration formatting by separating initialized and uninitialized blocks by @go-wyvern in #83
  • feat: add predefined command spx.getInputSlots by @aofei in #74
  • feat(server): implement textDocument/inlayHint LSP method by @aofei in #85
  • fix(server): correct handling of special input types in createValueInputSlotFromIdent by @aofei in #86
  • chore(cmd/pkgdatagen): avoid using replace directives in go.mod by @aofei in #89
  • fix(textDocument/inlayHint): show type params of Gopx_ methods as if they were func params by @aofei in #90
  • build(deps): bump github.com/qiniu/x from 1.14.0 to 1.14.6 by @dependabot in #91
  • fix: improve extent calculation in traverse function and enhance error handling in compileAt method by @go-wyvern in #87
  • fix(spx.getInputSlots): correct handling of Go+ classfile types in collectPredefinedNames by @aofei in #92
  • fix(compileResult): skip spx definitions lookup for blank identifiers by @aofei in #93
  • refactor: migrate to spx v2 by @aofei in #88
  • fix(textDocument/inlayHint): skip unresolved overload func call by @aofei in #94
  • fix(completion): correct handling of exported idents outside main package by @aofei in #73
  • refactor: bump github.com/goplus/spx for API changes by @aofei in #96
  • refactor(textDocument/{inlayHint,hover}): align display behavior with gopls for variadic functions by @aofei in #95
  • fix(completion): improve kind inference for unresolved calls and partial identifiers by @aofei in #97
  • fix(compile): handle panic for NoPos type errors in diagnostics by @go-wyvern in #98
  • refactor(gop/goputil): remove ClassFieldsDecl in favor of github.com/goplus/gop/ast.File.ClassFieldsDecl by @aofei in #101

Full Changelog: v0.3.1...v0.4.0

cmd/pkgdatagen/v0.1.0

16 May 07:05
7720c12
Compare
Choose a tag to compare

What's Changed

  • chore(cmd/pkgdatagen): bump github.com/goplus/goxlsw to v0.4.0 by @aofei in #102

Full Changelog: v0.4.0...cmd/pkgdatagen/v0.1.0

v0.3.1

10 Mar 10:45
9a4838f
Compare
Choose a tag to compare

What's Changed

features:

changes:

  • fix(main.go): correct gop.Project usage and add build step to CI tests by @aofei in #44
  • implement fileMapGetter and update file handling in server by @go-wyvern in #45
  • add proj to completionContext/compileResult and rm mainPkgDoc by @xushiwei in #37
  • server.compileResult: rm fset/ast/typeinfo by @xushiwei in #38
  • server.compileResult: rm mainPkgGameType, mainPkgSpriteTypes by @xushiwei in #39
  • server.compileResult: rm mainASTPkgSpecToGenDecl by @xushiwei in #40
  • server.compileResult: rm mainASTPkgIdentToFuncDecl by @xushiwei in #42
  • server.compileResult: rm firstVarBlocks; goputil.ClassFieldsDecl by @xushiwei in #43
  • goxlsw/gop: File => FileImpl by @xushiwei in #35

New Contributors

Full Changelog: v0.2.1...v0.3.1

v0.2.1

07 Mar 23:02
21c98eb
Compare
Choose a tag to compare

What's Changed

documents:

features:

changes:

  • use goxlsw/gop.Project to replace vfs.MapFS by @xushiwei in #26
  • use gop.Project.PkgDoc; compile: don't create a snapshot by @xushiwei in #34
  • internal/jsonrpc2 => jsonrpc2 by @xushiwei in #10
  • internal/pkgdoc => pkgdoc by @xushiwei in #31
  • chore: sync latest commits from github.com/goplus/builder/tools/spxls@dev by @aofei in #27
  • rm deprecated code by @xushiwei in #30

ci & tools:

  • fix(ci): exclude internal/pkgdata/gen from unit test coverage by @aofei in #11
  • build(deps): bump actions/setup-go from 4 to 5 by @dependabot in #19

deps:

  • build(deps): bump github.com/goplus/gop from 1.3.1 to 1.3.5 by @dependabot in #21
  • build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #22

New Contributors

Full Changelog: v0.1.0...v0.2.0