Releases: goplus/gop
Releases · goplus/gop
Release v1.0.0-rc3
Release v1.0.0-rc2
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
Release v1.0.0-beta5
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
new features:
- packages.Load persist cache (#748)
changes:
- bugfix: gop install/test exit non-zero code when genGoPkg failed.
Release v1.0.0-beta2
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
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
new features:
- gop test: Test Go+ packages
- rational var init bugfix
changes:
- update README.md
Release v0.9.8
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
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