Skip to content

Releases: goplus/gop

Release v1.0.0-rc3

12 Sep 02:19
Compare
Choose a tag to compare

new features:

  • unary operator +

changes:

Release v1.0.0-rc2

07 Sep 02:20
Compare
Choose a tag to compare

new features:

  • pkg.NewConstDecl: support iota
  • unsafe.Sizeof
  • unsafe.Alignof
  • unsafe.Offsetof
  • unsafe.Add
  • unsafe.Slice
  • gop parser: support mode=ParseGoFiles
  • gop run support -gop: parse a .go file as a .gop file
  • gop run: check isDirty to speed up
  • gop run -nr: don't run if no change
  • goptestgo: run all cases in GOROOT

changes:

Release v1.0.0-rc1

31 Aug 22:01
Compare
Choose a tag to compare

new features:

  • gop version
  • spx/gmx: main func

changes:

  • bugfix: toRecv nil names check
  • bugfix: ErrWrap expressions (#755)
  • bugfix: struct/interface method call (#757)
  • bugfix: struct.field (#767)
  • persist bugfix: Interface Complete
  • go run bugfix: support stdin

Release v1.0.0-beta5

24 Aug 15:53
Compare
Choose a tag to compare

new features:

  • support [expr for k, v <- container, init; cond]
  • support return {x.score for x <- a, x.name == name}
  • support .spx/.gmx files (see #762)
  • TestErrImport

changes:

  • save cache before install/test
  • gop install/test bugfix: Skip unknown switches
  • gop run bugfix: keep current dir unchanged

Release v1.0.0-beta3

19 Aug 03:05
Compare
Choose a tag to compare

new features:

  • packages.Load persist cache (#748)

changes:

  • bugfix: gop install/test exit non-zero code when genGoPkg failed.

Release v1.0.0-beta2

15 Aug 15:35
Compare
Choose a tag to compare

new features:

  • for range support UDT. see For range of UDT.
  • deduce struct type as results of a function call. see tutorial/40-Deduce-struct-type (in a return statement)
  • ImportForceUsed (i.e. import _ "xxx")
  • gop install/test support flagVerbose
  • gop install/test bugfix: flag.Parse
  • cl.SetDebug
  • base.RunGoCmd/SkipSwitches
  • TestErrVar

changes:

  • SetInTestingFile bugfix: should restore old value
  • LoadNamed bugfix, see TestForPhraseUDT4
  • lookupParent bugfix, see TestCallDep
  • loadType => compileType
  • remove initGopPkg (supported by gox)

Release v1.0.0-beta1

11 Aug 23:08
Compare
Choose a tag to compare

new features:

  • support lambda (only can use as function parameters now), see Lambda expression
  • support deducing struct types, see Deduce struct type
  • support complex StructLit, see #743
  • gop install/test: pass all switches (including unknown switches) to go install/test
  • add cl.SetDisableRecover

changes:

  • remove cl/_deprecated directories

Release v0.9.9

09 Aug 11:45
Compare
Choose a tag to compare

new features:

  • gop test: Test Go+ packages
  • rational var init bugfix

changes:

  • update README.md

Release v0.9.8

06 Aug 16:18
Compare
Choose a tag to compare

new features:

  • rational number: support assignOp(+=, -=, etc.)
  • user-defined types support operator overload. see tutorial/38-Overload-operator
  • TestErrDefineVar
  • TestEmbeddField

bugfix:

Release v0.9.7

04 Aug 00:36
Compare
Choose a tag to compare

new features:

  • rational support: untyped bigint/bigrat, bigint/bigrat (and operators), see tutorial/18-Rational
  • constant eval: support constant.BinaryOp/Compare/Shift
  • write Go+ packages in Go, see builtin/big.go

changes:

  • remove BuiltinContracts, LoadUnderlyingFunc