From 16338e7d3f5e36bdd7b615017aa589f4e6a5dcf6 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Sun, 29 Nov 2026 07:20:42 +0100 Subject: [PATCH] docs: release notes for v0.9.0, naming the breaking change docs/RELEASES.md records what each tag changes for a program using rbgo, beyond GitHub's generated pull-request list. v0.9.0 is a MINOR bump because #952 changed Augeas.create to ruby-augeas's options-hash signature, so the old three positional arguments raise TypeError. The README header links the file. Closes #956 Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- docs/RELEASES.md | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 docs/RELEASES.md diff --git a/README.md b/README.md index 0ee8b120..77b1dbaa 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ objects are Go heap objects, so **Go's garbage collector is reused**. Dispatch goes through **mutable per-class method tables**, which is what makes monkey-patching, `define_method` and `method_missing` free. -> 🌐 [Website](https://go-embedded-ruby.github.io) · 📚 [Documentation](https://go-embedded-ruby.github.io/docs/) · 🧭 [Roadmap](docs/plan-rbgo.md) +> 🌐 [Website](https://go-embedded-ruby.github.io) · 📚 [Documentation](https://go-embedded-ruby.github.io/docs/) · 🧭 [Roadmap](docs/plan-rbgo.md) · 📝 [Releases](docs/RELEASES.md) ## Ecosystem — rbgo composes the `go-ruby-*` family diff --git a/docs/RELEASES.md b/docs/RELEASES.md new file mode 100644 index 00000000..4cb7a95a --- /dev/null +++ b/docs/RELEASES.md @@ -0,0 +1,39 @@ +# Releases + +What each tag changes for a program that uses rbgo, beyond GitHub's generated +list of pull requests. Below v1 a breaking change bumps the MINOR number. + +## v0.9.0 + +85 commits since v0.8.5. The Go embedding API (`interp.go`, `value.go`, +`define.go`, `run.go`) is unchanged; one dependency moved in `go.mod`. + +### Breaking (Ruby-facing) + +- `Augeas.create` takes ruby-augeas's real signature, an options hash + (`Augeas.create(root: "/", loadpath: "/lens")`). The three positional + arguments it used to accept, copied from `Augeas.open`, now raise + `TypeError` (#952, recorded in #956). + +### Added + +- `Augeas#close`, `Augeas.create`'s block form, and a `SystemCallError` from any + method of a closed handle (#952). +- `Resolv::DNS#close` returns `nil` instead of raising `NotImplementedError` + (#951). +- `Socket::SO_OOBINLINE` (#922); `Net::FTP.default_passive` (#928). +- ndarray reductions and `cumsum` accept `axis:` (#883). + +### Changed to match MRI 4.0 + +- `RUBY_VERSION` reports 4.0.9 (#882). +- On Windows a failed call raises the `Errno::` class MRI raises there: every + Win32 and Winsock code goes through MRI's own map (`rb_w32_map_errno`), so + for example `ERROR_PATH_NOT_FOUND` raises `Errno::ENOENT` (#982). +- `IO`: `#pwrite`/`#pread` reach the file (#970), a flush writes only what the + stream wrote and only into the file it opened (#971, #978), `#ungetc`'s bytes + stay out of the file (#977), every open file is flushed at interpreter + teardown (#948), and `#close_read`/`#close_write` release the `flock` (#981). +- `Object.constants` stops listing qualified index keys (#946). +- `Process.exit!` skips `at_exit` handlers (#947). +- `Image.open` takes no block (#958).