Skip to content

Releases: goplus/gogen

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)

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