Skip to content

Commit 6061f3d

Browse files
aykevldeadprogram
authored andcommitted
all: version 0.31.0
1 parent 410aa0e commit 6061f3d

File tree

2 files changed

+76
-1
lines changed

2 files changed

+76
-1
lines changed

CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,78 @@
1+
0.31.0
2+
---
3+
4+
* **general**
5+
* remove LLVM 14 support
6+
* add LLVM 17 support, and use it by default
7+
* add Nix flake support
8+
* update bundled Binaryen to version 116
9+
* add `ports` subcommand that lists available serial ports for `-port` and `-monitor`
10+
* support wasmtime version 14
11+
* add `-serial=rtt` for serial output over SWD
12+
* add Go 1.22 support and use it by default
13+
* change minimum Node.js version from 16 to 18
14+
* **compiler**
15+
* use the new LLVM pass manager
16+
* allow systems with more stack space to allocate larger values on the stack
17+
* `build`: fix a crash due to sharing GlobalValues between build instances
18+
* `cgo`: add `C._Bool` type
19+
* `cgo`: fix calling CGo callback inside generic function
20+
* `compileopts`: set `purego` build tag by default so that more packages can be built
21+
* `compileopts`: force-enable CGo to avoid build issues
22+
* `compiler`: fix crash on type assert on interfaces with no methods
23+
* `interp`: print LLVM instruction in traceback
24+
* `interp`: support runtime times by running them at runtime
25+
* `loader`: enforce Go language version in the type checker (this may break existing programs with an incorrect Go version in go.mod)
26+
* `transform`: fix bug in StringToBytes optimization pass
27+
* **standard library**
28+
* `crypto/tls`: stub out a lot of functions
29+
* `internal/task`, `machine`: make TinyGo code usable with "big Go" CGo
30+
* `machine`: implement `I2C.SetBaudRate` consistently across chips
31+
* `machine`: implement `SPI.Configure` consistently across chips
32+
* `machine`: add `DeviceID` for nrf, rp2040, sam, stm32
33+
* `machine`: use smaller UART buffer size on atmega chips
34+
* `machine/usb`: allow setting a serial number using a linker flag
35+
* `math`: support more math functions on baremetal (picolibc) systems
36+
* `net`: replace entire net package with a new one based on the netdev driver
37+
* `os/user`: add bare-bones implementation of this package
38+
* `reflect`: stub `CallSlice` and `FuncOf`
39+
* `reflect`: add `TypeFor[T]`
40+
* `reflect`: update `IsZero` to Go 1.22 semantics
41+
* `reflect`: move indirect values into interface when setting interfaces
42+
* `runtime`: stub `Breakpoint`
43+
* `sync`: implement trylock
44+
* **targets**
45+
* `atmega`: use UART double speed mode for fewer errors and higher throughput
46+
* `atmega328pb`: refactor to enable extra uart
47+
* `avr`: don't compile large parts of picolibc (math, stdio) for LLVM 17 support
48+
* `esp32`: switch over to the official SVD file
49+
* `esp32c3`: implement USB_SERIAL for USBCDC communication
50+
* `esp32c3`: implement I2C
51+
* `esp32c3`: implement RNG
52+
* `esp32c3`: add more ROM functions and update linker script for the in-progress wifi support
53+
* `esp32c3`: update to newer SVD files
54+
* `rp2040`: add support for UART hardware flow control
55+
* `rp2040`: add definition for `machine.PinToggle`
56+
* `rp2040`: set XOSC startup delay multiplier
57+
* `samd21`: add support for UART hardware flow control
58+
* `samd51`: add support for UART hardware flow control
59+
* `wasm`: increase default stack size to 64k for wasi/wasm targets
60+
* `wasm`: bump wasi-libc version to SDK 20
61+
* `wasm`: remove line of dead code in wasm_exec.js
62+
* **new targets/boards**
63+
* `qtpy-esp32c3`: add Adafruit QT Py ESP32-C3 board
64+
* `mksnanov3`: add support for the MKS Robin Nano V3.x
65+
* `nrf52840-generic`: add generic nrf52840 chip support
66+
* `thumby`: add support for Thumby
67+
* `wasm`: add new `wasm-generic` target that doesn't depend on WASI or a browser
68+
* **boards**
69+
* `arduino-mkrwifi1010`, `arduino-nano33`, `nano-rp2040`, `matrixportal-m4`, `metro-m4-airlift`, `pybadge`, `pyportal`: add `ninafw` build tag and some constants for BLE support
70+
* `gopher-badge`: fix typo in USB product name
71+
* `nano-rp2040`: add UART1 and correct mappings for NINA via UART
72+
* `pico`: bump default stack size from 2kB to 8kB
73+
* `wioterminal`: expose UART4
74+
75+
176
0.30.0
277
---
378

goenv/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
// Version of TinyGo.
1111
// Update this value before release of new version of software.
12-
const version = "0.31.0-dev"
12+
const version = "0.31.0"
1313

1414
var (
1515
// This variable is set at build time using -ldflags parameters.

0 commit comments

Comments
 (0)