Releases: timandy/routine
Releases · timandy/routine
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
generic
programming.
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
InheritableThreadLocal
byWrapTask()
,WrapWaitTask()
andWrapWaitResultTask()
methods. - Support run
FutureTask
byFutureTask.Run()
method. - Define function type
Runnable
andFutureCallable
.
Changes
- Rename type
Future
toFutureTask
. - 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
&amd64
onfreebsd
and archppc64
&s390x
onlinux
. - 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
Any
toany
.
Links
- Source code https://github.com/timandy/routine/tree/v1.0.9
Version 1.0.8
Release notes
Changes
- Rename
StackError
toRuntimeError
. - 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
thread
struct may be resurrected from invalid memory and cause fault error.
Changes
- Modify the error message format of
StackError
. - Define function type
Supplier
forthreadLocal
andinheritableThreadLocal
types. - Define function type
Runnable
andCallable
forGo(Runnable)
,GoWait(Runnable)
andGoWaitResult(Callable)
methods.
Links
- Source code https://github.com/timandy/routine/tree/v1.0.7
Version 1.0.6
Release notes
Bugs
- Fix fault error when pprof is running.
Features
- Support more architectures
386
,amd64
,armv6
,armv7
,arm64
.
Changes
- Read and write
coroutine
information through thegohack
library, theoretically support unreleasedgo
versions in the future. - When
runtime.g
cannot be obtained natively,panic
directly instead of falling back to invokeruntime.Stack()
method. - Remove api
ThreadLocal.Id()
.
Links
- Source code https://github.com/timandy/routine/tree/v1.0.6
Version 1.0.5
Release notes
Features
- Support go version range
go1.13
~go1.18
(New supportgo1.18
).
Changes
- Change license to
Apache-2.0
. - Upgrade dependencies to the latest version.
Links
- Source code https://github.com/timandy/routine/tree/v1.0.5