Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Dec 12, 2025

Automated Release PR

0.8.0 (2025-12-23)

Full Changelog: v0.7.0...v0.8.0

Features

  • add hypeman cp for file copy to/from running VMs (49ea898)
  • encoder: support bracket encoding form-data object members (8ab31e8)
  • gpu passthrough (067a01b)

Bug Fixes

  • skip usage tests that don't work with Prism (d62b246)

Chores

  • add float64 to valid types for RegisterFieldValidator (b4666fd)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions


Note

Release v0.8.0

  • Adds DeviceService with New/Get/List/Delete/ListAvailable endpoints, exposes client.Devices, and introduces Device, AvailableDevice, and DeviceType models
  • Extends Instances: new Instances.Stat (GET /instances/{id}/stat) returning PathInfo; InstanceNewParams now supports devices for GPU/PCI passthrough
  • Updates multipart encoder to support bracket-style nested object keys in form-data; refactors key encoding helpers and expands tests
  • Expands enum validator to accept float64; updates version refs, README.md, api.md, and CHANGELOG.md

Written by Cursor Bugbot for commit 076f35c. This will update automatically on new commits. Configure here.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 2f85ccc to e9209ef Compare December 16, 2025 16:50
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from e9209ef to 34e94a0 Compare December 18, 2025 08:37
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 34e94a0 to a5af878 Compare December 19, 2025 07:07
var validationRegistry = map[reflect.Type][]validationEntry{}

func RegisterFieldValidator[T any, V string | bool | int](fieldName string, values ...V) {
func RegisterFieldValidator[T any, V string | bool | int | float64](fieldName string, values ...V) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Float64 validator type added but implementation missing handling

The RegisterFieldValidator function's type constraint was expanded to accept float64 values, but the switch statement handling the values only has cases for []string, []int, and []bool. There's no case []float64 to handle float64 values, and the validationEntry.legalValues struct lacks a corresponding floats field. If someone uses RegisterFieldValidator with float64 values, the code compiles successfully but the values are silently ignored, resulting in no validation being applied for that field.

Additional Locations (1)

Fix in Cursor Fix in Web

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from a5af878 to 23b708d Compare December 22, 2025 15:02
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 23b708d to 9bc8dc4 Compare December 22, 2025 15:04
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 9bc8dc4 to 898261d Compare December 22, 2025 18:20
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 898261d to 5a4c4ce Compare December 22, 2025 21:48
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 5a4c4ce to 076f35c Compare December 23, 2025 19:08
@rgarcia rgarcia merged commit 9689c50 into main Dec 23, 2025
5 checks passed
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Dec 23, 2025

🤖 Release is at https://github.com/onkernel/hypeman-go/releases/tag/v0.8.0 🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants