v0.4.3
This release includes various bug fixes, including fixing some crashes. It also fixes a memory leak that would cause long-running servers to OOM (see #1418). It also now supports Go 1.18.
It also fixes various builtin extensions.
This release also makes a lot of preparations for the upcoming comprehension rework, which will allow us to do all kinds improvements and performance enhancements.
As a reminder: users can register their projects with unity
, our regression and performance testing setup. unity
is used to ensure that a project's CUE evaluations do not unexpectedly stop working, or regress in terms of performance. unity
continues to catch multiple issues with each release. Adding your project to unity
not only guarantees that we will not break your tests (if we do, we will work with you to fix your CUE code), but it also helps to improve the quality of each CUE release. We are in the process of adding support for adding private projects to unity
.
Thank you to @benmoss
, @cuichenli
, @danbison
, @emcfarlane
, @eonpatapon
, @jared-gs
, @jdreaver
, @jlongtine
, @mattmoor
, @mvdan
, @oncilla
, @roidelapluie
, @slewiskelly
, @xinau
, and @yannk
for contributing to this release!
Language changes
This release removes all remaining support for quoted identifiers. Although this hasn't been supported for a while, there were still parts of the code that handled them, resulting in cryptic error messages.
Core evaluator
This release sees an overall improvement in error location reporting. These changes are quite substantial but largely, aside from a few resulting bug fixes, do not alter behavior.
Builtins
net
Add CIDR
range verification function.
regexp
Add ReplaceAll
and ReplaceAllLiteral
time
Fixes a hermeticity issues where a local time zone may be selected. Added FormatString
to ultimately replace Format
, where Format
will first have to be deprecated.
Add FormatString
, FormatDuration
and Split
tool/file
Add MkdirTemp
, RemoveAll
tool/http
Add Support for TLS settings.
Changelog
- 5c43a87a all: apply Go 1.18's gofmt -s
- 41ad3a08 all: bump x/text
- e74624be all: drop golang.org/x/xerrors
- b6cdc743 all: format .cue files in txtar archives
- 054cc312 all: move to go1.17-based go.mod
- f396ea88 all: upgrade github.com/spf13/cobra to v1.4.0
- f26cc29d all: upgrade go-internals
- 83a17005 build: fix typo inclduded -> included
- dc2c9e09 ci: add Go 1.18 and bump action and Go versions
... (truncated)