Skip to content

Update Go modules - #317

Merged
nathanjcochran merged 1 commit into
mainfrom
renovate/go-modules
Nov 30, 2026
Merged

nathanjcochran merged 1 commit into
mainfrom
renovate/go-modules

Conversation

@renovate

@renovate renovate Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
charm.land/bubbletea/v2 v2.1.2 → v2.2.0 age confidence
github.com/charmbracelet/x/ansi v0.11.10 → v0.12.0 age confidence
github.com/oapi-codegen/runtime v1.9.0 → v1.9.1 age confidence

Release Notes

charmbracelet/bubbletea (charm.land/bubbletea/v2)

v2.2.0

Compare Source

Resume your programs

This new protocol for Rex came out 12 hours ago and…Bubble Tea supports it! ✌️

OSC 7577: Program Resume Protocol

Demo

Bubble Tea programs can now tell the terminal how to bring them back after it restarts. Set ProgramResume on your view with the command that restarts your program, and optionally the folder to run it in:

func (m model) View() tea.View {
	v := tea.NewView(m.render())
	if !m.quitting {
		v.ProgramResume = &tea.ProgramResume{
			Args: []string{m.exe, "--session", m.sessionID},
			Dir:  m.dir,
		}
	}
	return v
}

Put everything the program needs to pick up where it left off in the command, like a session ID or the path to a state file.

Detecting support

Terminals that support the protocol set OSC7577_TOKEN. Bubble Tea sends you a tea.EnvMsg at startup, so check for it there:

func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
	switch msg := msg.(type) {
	case tea.EnvMsg:
		m.canResume = msg.Getenv("OSC7577_TOKEN") != ""
	}
	return m, nil
}

You only need the tea.EnvMsg check if your app should act differently depending on support, for example to show "this session will survive a restart" or to skip saving resume state.

Read the spec for all the details.

Have a nice week,
Charm ⭐

Changelog

New!
Other stuff

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.

v2.1.3

Compare Source

Another bugfix release 🩹

A patch release full of stability fixes, mostly from our favorite contributors!

Security

Fixed a crash on malformed escape sequences. An ANSI sequence with more than 32 parameters (e.g. \x1b[1;1;1;…m) could panic the renderer with an index-out-of-range error. Any app that shows text it doesn't control, like logs, file contents, chat messages or LLM output, could be crashed by a single crafted line. If you render untrusted text, we recommend upgrading.

There are more fixes below 👇🏻

Have a nice week,
Charm ⭐

Changelog

Fixed
Other stuff

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.

oapi-codegen/runtime (github.com/oapi-codegen/runtime)

v1.9.1: : Bugfix update

Compare Source

This is a bugfix release. MarshalForm now honors the style and explode of a form property's encoding, and deepObject binding rejects integers that overflow their destination instead of wrapping them. There are no API changes, and code generated by current oapi-codegen releases behaves as before.

Notable Changes

MarshalForm honors style and explode

MarshalForm only read ContentType from a property's RequestBodyEncoding, so an array was always written with indexed keys, topic[0]=a&topic[1]=b, even when the encoding declared style: form, explode: true, which serializes as repeated keys, topic=a&topic=b. A property whose encoding sets Style or Explode is now serialized as a query parameter of that style would be: form, spaceDelimited and pipeDelimited repeat the key when exploded and write one delimited value otherwise, and deepObject is the existing bracketed form. Explode defaults to true for form and false for the other styles, as in the specification.

Properties with no encoding, or with one that sets neither field, are unchanged. Generated clients pass no encodings today, so their output is the same; a future oapi-codegen release will pass the spec's encodings through (oapi-codegen/oapi-codegen#2604). The application/json content type branch, which returned unsupported encoding for every content type including JSON, now works too (#​187, closes #​186).

deepObject integers that overflow are rejected

UnmarshalDeepObject parsed integer fields as 64-bit and assigned them without checking that the value fit, so ?filter[count]=4294967297 bound into an int32 as 1 with no error. Out-of-range values now fail with an overflows destination error, as they already did for the form style and the JSON binders. Thanks to @​youdie006 (#​185).

🐛 Bug fixes

📦 Dependency updates

Sponsors

We would like to thank our sponsors for their support during this release.

DevZero logo

Cybozu logo

  • No new contributors

Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • "before 10am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner November 30, 2026 05:52
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@nathanjcochran
nathanjcochran merged commit 6d9c515 into main Nov 30, 2026
4 of 5 checks passed
@nathanjcochran
nathanjcochran deleted the renovate/go-modules branch November 30, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants