Skip to content

Releases: goplus/gogen

v1.16.2

08 Nov 07:49
d741757
Compare
Choose a tag to compare

features:

changes:

  • fix index out of bound when write comment (#442)
  • fix autoNames check importName (#445)

v1.16.1

28 Oct 00:01
47c09e3
Compare
Choose a tag to compare

changes:

  • stripCommonPrefix to fix panic (#438)
  • go1.19 (#433)

v1.16.0

18 May 11:35
250e767
Compare
Choose a tag to compare

changes:

v1.15.3

18 May 10:55
7468f9e
Compare
Choose a tag to compare

features:

  • add InitThisGopPkgEx for map overload name to position (#427)

changes:

  • pkg.NewFuncDecl doc (#429)

v1.15.2

12 Apr 17:43
4d7d84d
Compare
Choose a tag to compare

features:

  • static method (#424)
  • T.method support alias (#425)
  • gogen/packages: optional Cache (#409 #411 #413 #414 #415 #417 #418 #421)
  • inferFunc: support arguments with typeparam signature (#410)
  • inferFunc: support implicit generic func args on Go1.18 and higher (#420)
  • export InferFunc (#416)

changes:

  • lookupFunc: rm (T).name support (#406)
  • lookupFunc panic fix. InitThisGopPkg check gopo valid func (#408)

v1.15.1

10 Mar 16:33
b070611
Compare
Choose a tag to compare

features:

  • cb.Typ.Member for TyTemplateRecvMethod (#404)
  • cb.VarRef(name string) (#403)

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)