Skip to content

Releases: timandy/routine

Version 1.1.4

15 Aug 08:17
Compare
Choose a tag to compare

Release notes

Features

  • Support go version range go1.18 ~ go1.23(New support go1.23).

Changes

  • Fix interface conversion error: getting nil value from ThreadLocal[T], where T is interface type.
  • Update copyright.

Links

Version 1.1.3

27 Nov 05:39
Compare
Choose a tag to compare

Release notes

Features

  • Support go version range go1.18 ~ go1.21.
  • Support generic programming.

Links

Version 1.1.2

16 Oct 03:04
Compare
Choose a tag to compare

Release notes

Features

  • Support go version range go1.13 ~ go1.21(New support go1.21).
  • Support capture values of InheritableThreadLocal by WrapTask(), WrapWaitTask() and WrapWaitResultTask() methods.
  • Support run FutureTask by FutureTask.Run() method.
  • Define function type Runnable and FutureCallable.

Changes

  • Rename type Future to FutureTask.
  • Skip first runtime panic stack automatically for RuntimeError.

Links

Version 1.1.1

20 Feb 10:09
Compare
Choose a tag to compare

Release notes

Features

  • Support go version range go1.13 ~ go1.20(New support go1.20).

Changes

  • Fix a memory leak risk caused by Timer.
  • Reduce memory by using less chan.
  • Update copyright.

Links

Version 1.1.0

18 Nov 10:32
Compare
Choose a tag to compare

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

Version 1.0.9

21 Jul 09:51
Compare
Choose a tag to compare

Release notes

Features

  • Support arch 386 & amd64 on freebsd and arch ppc64 & s390x on linux.
  • Support Cancel() and GetWithTimeout() methods for type Future.
  • Support checking whether the tasks created by GoWait(CancelRunnable) and GoWaitResult(CancelCallable) methods are canceled.

Changes

  • Fix spell error of type Future.
  • Rename type Any to any.

Links

Version 1.0.8

27 May 08:26
Compare
Choose a tag to compare

Release notes

Changes

  • Rename StackError to RuntimeError.
  • Support error nesting for RuntimeError.
  • Beautify the error message of RuntimeError.
  • Remove bytesconv.Bytes() and bytesconv.String() methods.
  • Restore to the previous value if an overflow occurs when getting the index of ThreadLocal.

Links

Version 1.0.7

28 Apr 01:04
Compare
Choose a tag to compare

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 for threadLocal and inheritableThreadLocal types.
  • Define function type Runnable and Callable for Go(Runnable), GoWait(Runnable) and GoWaitResult(Callable) methods.

Links

Version 1.0.6

20 Apr 09:22
Compare
Choose a tag to compare

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 the gohack library, theoretically support unreleased go versions in the future.
  • When runtime.g cannot be obtained natively, panic directly instead of falling back to invoke runtime.Stack() method.
  • Remove api ThreadLocal.Id().

Links

Version 1.0.5

18 Mar 04:03
Compare
Choose a tag to compare

Release notes

Features

  • Support go version range go1.13 ~ go1.18(New support go1.18).

Changes

  • Change license to Apache-2.0.
  • Upgrade dependencies to the latest version.

Links