Releases: timandy/routine
Releases · timandy/routine
Version 1.1.6
Release notes
Features
- Support capture and restore goroutine's context by createInheritedMap()andrestoreInheritedMap()methods.
Links
- Source code https://github.com/timandy/routine/tree/v1.1.6
Version 1.1.5
Release notes
Bugs
- Fix missing nil check for the underlying data when copying the context of InheritableThreadLocal.
Features
- Support go version range go1.18~go1.25(New supportgo1.24andgo1.25).
- Add a new static mode, which improves performance by over20%and provides higher memory safety by adding the compilation parameter-a -toolexec='routinex -v'.
Changes
- Modify the goidtype touint64.
- Update copyright.
Links
- Source code https://github.com/timandy/routine/tree/v1.1.5
Version 1.1.4
Release notes
Features
- Support go version range go1.18~go1.23(New supportgo1.23).
Changes
- Fix interface conversion error: getting nil value from ThreadLocal[T], where T is interface type.
- Update copyright.
Links
- Source code https://github.com/timandy/routine/tree/v1.1.4
Version 1.1.3
Release notes
Features
- Support go version range go1.18~go1.21.
- Support genericprogramming.
Links
- Source code https://github.com/timandy/routine/tree/v1.1.3
Version 1.1.2
Release notes
Features
- Support go version range go1.13~go1.21(New supportgo1.21).
- Support capture values of InheritableThreadLocalbyWrapTask(),WrapWaitTask()andWrapWaitResultTask()methods.
- Support run FutureTaskbyFutureTask.Run()method.
- Define function type RunnableandFutureCallable.
Changes
- Rename type FuturetoFutureTask.
- Skip first runtime panic stack automatically for RuntimeError.
Links
- Source code https://github.com/timandy/routine/tree/v1.1.2
Version 1.1.1
Release notes
Features
- Support go version range go1.13~go1.20(New supportgo1.20).
Changes
- Fix a memory leak risk caused by Timer.
- Reduce memory by using less chan.
- Update copyright.
Links
- Source code https://github.com/timandy/routine/tree/v1.1.1
Version 1.1.0
Release notes
Features
- Support more arch loong64,mips,mipsle,mips64,mips64le,ppc64le,riscv64,wasm.
Changes
- Upgrade dependencies to the latest version.
- Modify continuous integration script to support go1.19.
Links
- Source code https://github.com/timandy/routine/tree/v1.1.0
Version 1.0.9
Release notes
Features
- Support arch 386&amd64onfreebsdand archppc64&s390xonlinux.
- Support Cancel()andGetWithTimeout()methods for typeFuture.
- Support checking whether the tasks created by GoWait(CancelRunnable)andGoWaitResult(CancelCallable)methods are canceled.
Changes
- Fix spell error of type Future.
- Rename type Anytoany.
Links
- Source code https://github.com/timandy/routine/tree/v1.0.9
Version 1.0.8
Release notes
Changes
- Rename StackErrortoRuntimeError.
- Support error nesting for RuntimeError.
- Beautify the error message of RuntimeError.
- Remove bytesconv.Bytes()andbytesconv.String()methods.
- Restore to the previous value if an overflow occurs when getting the index of ThreadLocal.
Links
- Source code https://github.com/timandy/routine/tree/v1.0.8
Version 1.0.7
Release notes
Bugs
- Fix released threadstruct may be resurrected from invalid memory and cause fault error.
Changes
- Modify the error message format of StackError.
- Define function type SupplierforthreadLocalandinheritableThreadLocaltypes.
- Define function type RunnableandCallableforGo(Runnable),GoWait(Runnable)andGoWaitResult(Callable)methods.
Links
- Source code https://github.com/timandy/routine/tree/v1.0.7