Skip to content

Releases: goplus/gogen

v1.15.0

08 Mar 16:43
010bb4b
Compare
Choose a tag to compare

features:

  • cb.MapLitEx (#386)
  • cb.BinaryOp: -> <> (#395)
  • format interface{}: rm newline (#396 #400)
  • don't define GopPackage for main package (#401)

incompatible changes:

  • rename github.com/goplus/gox => github.com/goplus/gogen (#402)
  • cb.CommCase: update scope (#388)
  • cb.CommCase/Then (#389 #390)
  • cb.TypeCase/Then (#391 #394)
  • cb.Case/Then (#392 #393 #394)

changes:

  • packages.Importer: use mutex because Import should be multi-thread safe (#385 #387)
  • mod: golang.org/x/tools v0.19.0

v1.14.12

13 Feb 14:41
fa5238f
Compare
Choose a tag to compare

features:

  • cb.CallWithEx: return err if match function call failed (#380)

changes:

  • remove unsafe.XXX from builtin (#378)
  • cb.Val: support unsafe.XXX (#379)
  • internal/go/printer: intersperseComments fix insert linebreak for invalid comment pos (#382 #383)

v1.14.10

09 Feb 13:23
9f6995d
Compare
Choose a tag to compare

features:

changes:

  • markGopPkg for Gopx_XXX, Gopt_XXX, Gopo_XXX (#370)
  • add header for auto-generated go files by gox (#369 #370)

v1.14.7

03 Feb 13:41
c213ccb
Compare
Choose a tag to compare

features:

  • TypeAsParamsFunc: func / overload func / template recv method / typecast (#365 #342 #344)

changes:

  • fix chgObject: for thisPkg (#367)
  • fix cb.Val(types.TypeName) (#367)
  • deprecated CheckOverloadFunc/CheckOverloadMethod (#364)

v1.14.2

27 Jan 02:54
5992cce
Compare
Choose a tag to compare

features:

  • CheckSigFuncEx, OverloadType, InitThisGopPkg (#359)
  • CheckSigFuncExObjects (#362)
  • NewOverloadNamed (#339 #338 #340 #352 #353)
  • OverloadNamedTypeCast match (#342 #344)
  • newOverload, checkOverloads, checkTypeMethod (#332 #336)
  • pkg.Instantiate (#337 #340)
  • pkg.RestoreCurFile returns old file (#345)
  • pkg.MethodToFunc (#355)
  • refactor cb.BinaryOp (#356)
  • builtin type methods: support named type (#334)
  • goxls: iOverloadType/iSubstType (#350)

incompatable changes:

changes:

  • fix TyTemplateRecvMethod types record (#360)
  • codeBuilder.method fix: method alias found (#347)
  • types.Sizes: goplus/gop#1629 fix (#331)
  • matchFuncCall: remove todo fatal (#354)
  • TestMethodAutoProperty (#341)
  • TestImportError (#343)
  • mod: golang.org/x/tools v0.17.0

v1.13.2

07 Jan 11:07
ab3a59e
Compare
Choose a tag to compare

features:

  • recorder overload func call (#320)

incompatible changes (internal in most case):

  • sigFuncEx change new func type for overload (#321 #324)
  • simplify overload type (#322)
  • initThisGopPkg: add interface overload method to named (#327)

changes:

  • mod: golang.org/x/tools 0.16.1

v1.13.1

25 Nov 02:29
719ee16
Compare
Choose a tag to compare

new features:

  • fieldRef: use rec.Member (#311)

changes:

v1.13.0

11 Nov 06:31
19b9702
Compare
Choose a tag to compare

new features:

  • gox: MatchError.Message (#308)

incompatible changes:

  • refactor: xxxError use Pos instead of Position; NodeInterpreter/DbgPositioner (#302)
  • refactor: cb.TypeDecls; NewType with src ast.Node (not pos token.Pos) (#307)
  • refactor: NodeInterpreter: rm Caller #309

v1.12.8

01 Nov 04:00
744f501
Compare
Choose a tag to compare

new features:

  • pkg.TryImport (#290)
  • cb.startBlockStmt: set start/end (#294)
  • Config: add Types *types.Package (#288)
  • Recorder: gox event recorder (#292)
  • NewContext, Context.InitGopPkg (#300)
  • ObjectDocs: use map to save object documents (#298)
  • IsTypeEx (#297)

changes:

  • InitGopPkg fix: should check all imports (#287 #300 #303)
  • matchFuncType: fix TODO (#289)
  • update gop_autogen.go import style (#293)
  • checkParenExpr: check ast.SelectorExpr (#295)
  • go: 1.18.x (#291 #296)

v1.12.5

10 Oct 13:16
7b2d77b
Compare
Choose a tag to compare

changes:

  • fix bug: ^uint8(0) => -1 ( not 255 ) (#280)
  • fix bug: panic if assign to no return function (goplus/gop#1450 #281)
  • fix bug: check TyTemplateRecvMethod is TyOverloadFunc (#282)
  • fix bug: cb.NewType in global scope (#285)
  • fix bug: cb check access for method and field (#284)