Skip to content

Releases: goplus/gogen

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)

v1.12.2

07 Oct 04:43
5541fe0
Compare
Choose a tag to compare

new features:

  • pkg.NewTypeDefs (#276)
  • TypeDefs.Complete to validate (#276)
  • VarDefs.NewAt (#276)
  • ConstDef.NewAt/NextAt (#276)

changes:

  • deprecated: pkg.NewType/AliasType (use TypeDefs.NewType/AliasType instead)
  • deprecated: pkg.NewVar/NewVarEx/NewVarStart (use VarDefs instead)
  • deprecated: pkg.NewConstStart (use ConstDefs instead)
  • remove: ConstDecl, pkg.NewConstDecl
  • mod: golang.org/x/tools from 0.13.0 to 0.14.0

v1.12.1

30 Sep 18:16
655e2d1
Compare
Choose a tag to compare

new features:

  • outline api: obj.Comments, FuncFrom/MethodFrom (#264)
  • func ext api: CheckFuncEx, TyOverloadFunc/TyOverloadMethod/TyTemplateRecvMethod (#266)
  • cb.VarVal (#265)
  • fn.Obj (#267)
  • gox/typesutil (#264)

changes:

  • TestErrFunc: function redeclared (#264)
  • pkg.NewFuncWith: allowRedecl (for c2go) (#269)
  • methodHasAutoProperty bugfix: allow TyOverloadFunc (maybe Gopt_xxx) (#273)
  • support go1.21