diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 15afd7a8..cd06a707 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -1,6 +1,6 @@ # This workflow is triggered when a GitHub release is created. # It can also be run manually to re-publish to NPM in case it failed for some reason. -# You can run this workflow by navigating to https://www.github.com/onkernel/hypeman-ts/actions/workflows/publish-npm.yml +# You can run this workflow by navigating to https://www.github.com/kernel/hypeman/actions/workflows/publish-npm.yml name: Publish NPM on: workflow_dispatch: diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index 5397e7a5..499c602d 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -2,14 +2,14 @@ name: Release Doctor on: pull_request: branches: - - main + - stl-ts-main workflow_dispatch: jobs: release_doctor: name: release doctor runs-on: ubuntu-latest - if: github.repository == 'onkernel/hypeman-ts' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + if: github.repository == 'kernel/hypeman' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') steps: - uses: actions/checkout@v6 diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 466df71c..2be9c43c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0" + ".": "0.2.0" } diff --git a/.stats.yml b/.stats.yml index aac8b522..238cc8a0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 37 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-57c5cb3d3dc57a03333475dc1817875a36eead6be9439c0203d1832c32b068d5.yml -openapi_spec_hash: 14f7b09e6e010020f42981dddeb0b415 -config_hash: d452c139da1e46a44a68b91e8a40de72 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-ec9459bfe289a85521771fc591586ab6938f3060a516c5a9b953c508fca285a5.yml +openapi_spec_hash: 327106f17c1b6b057c8bc0c67f866a3c +config_hash: a1af5d178d489535e5daee07b8d45d07 diff --git a/CHANGELOG.md b/CHANGELOG.md index 96b1ee51..a9d06780 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,69 @@ # Changelog +## 0.2.0 (2026-03-02) + +Full Changelog: [v0.1.0...v0.2.0](https://github.com/kernel/hypeman/compare/v0.1.0...v0.2.0) + +### Features + +* add boot time optimizations for faster VM startup ([20a98ea](https://github.com/kernel/hypeman/commit/20a98ea15491dc399f57ea5cc5d10f2549d1c4bd)) +* add cpToInstance and cpFromInstance functions ([113b412](https://github.com/kernel/hypeman/commit/113b4129c3bcca7f2ba8cc1c590542a00ad873a0)) +* add Firecracker hypervisor support ([cb6868a](https://github.com/kernel/hypeman/commit/cb6868a04419ca033fe96515928147ef88dde0dd)) +* add hypeman cp for file copy to/from running VMs ([0ee9f4a](https://github.com/kernel/hypeman/commit/0ee9f4a86ea8a6a94b896ce66cf7dc90a8d7c296)) +* Add image_name parameter to builds ([53f6062](https://github.com/kernel/hypeman/commit/53f60623433c9eead1742967fcd31644e4b0c2fe)) +* add metadata and state filtering to GET /instances ([a242835](https://github.com/kernel/hypeman/commit/a242835a76f4fcdc6e2bba1d6d2190831f5f90c0)) +* Add metadata field to instances ([705fa54](https://github.com/kernel/hypeman/commit/705fa54813ccae1f18473ba4b30c27b0646519ca)) +* Add to stainless config new API endpoints ([72cbe88](https://github.com/kernel/hypeman/commit/72cbe8848676023c5cc9c270d5936c37ddf3e3f3)) +* Add vGPU support ([4eade24](https://github.com/kernel/hypeman/commit/4eade24f03d1e9ef5d62757ae8a9bc3a0f446f13)) +* Add ws dependency and types ([804933c](https://github.com/kernel/hypeman/commit/804933cbe7c7e93834c28061c9725b5cd00076dc)) +* **api:** add autogenerated stat endpoint from Stainless ([38c9dbd](https://github.com/kernel/hypeman/commit/38c9dbdf9a129b434b7c9246d321da6b6f9ed2d4)) +* **api:** manual updates ([5534841](https://github.com/kernel/hypeman/commit/5534841c1706682c4a75e502afafb3f1f399069c)) +* Better stop behavior ([9f37284](https://github.com/kernel/hypeman/commit/9f372846f08ec591342f525498449861990821c5)) +* **builds:** implement two-tier build cache with per-repo token scopes ([53c9b24](https://github.com/kernel/hypeman/commit/53c9b248c245c1cb5f1e0dae46a1448de430c283)) +* Disable default hotplug memory allocation ([faf4dc6](https://github.com/kernel/hypeman/commit/faf4dc61986551605bed903ed26a12a8a6991b6c)) +* QEMU support ([8f0f4f4](https://github.com/kernel/hypeman/commit/8f0f4f4b0cf1723af0cd79e549f4aacaa9c6584b)) +* Resource accounting ([57ff511](https://github.com/kernel/hypeman/commit/57ff511aa73bbc08b67496d7b807418b9342dc87)) +* Use resources module for input validation ([8dc08a4](https://github.com/kernel/hypeman/commit/8dc08a468794e1fead711c5c1b538d02cd7f49c9)) +* wire up memory_mb and cpus in builds API ([2622949](https://github.com/kernel/hypeman/commit/262294908012266f80a4ac22e90bd716f140bf4a)) + + +### Bug Fixes + +* **client:** avoid memory leak with abort signals ([c7d1058](https://github.com/kernel/hypeman/commit/c7d1058f991d4282d2992491c5858c296530b34d)) +* **client:** avoid removing abort listener too early ([cac5859](https://github.com/kernel/hypeman/commit/cac585933f34e0cad58e6d6b423f7f611f1dddb9)) +* **cp:** address bugbot review comments ([ba6c287](https://github.com/kernel/hypeman/commit/ba6c2876049bae125951dbe363f5d6deabaaf03f)) +* **docs/contributing:** correct pnpm link command ([9ead7e9](https://github.com/kernel/hypeman/commit/9ead7e98cc683f1f74d62943e0e5a134ecba19f5)) + + +### Chores + +* break long lines in snippets into multiline ([48ae7b9](https://github.com/kernel/hypeman/commit/48ae7b93d321533d96fc9e5be246450fb93eb725)) +* **ci:** upgrade `actions/github-script` ([46d5e26](https://github.com/kernel/hypeman/commit/46d5e26a7c2d5f53b4a9d88558d0f96561cf1b7d)) +* **client:** do not parse responses with empty content-length ([e1a8e7d](https://github.com/kernel/hypeman/commit/e1a8e7ddce0e0b78639288823d893440dc01262e)) +* **client:** restructure abort controller binding ([c340384](https://github.com/kernel/hypeman/commit/c34038491bbad4e864a82aec0a21673cbad5e614)) +* configure new SDK language ([9eba465](https://github.com/kernel/hypeman/commit/9eba465b84418dc70994a43eb6b28e498841d8a6)) +* **internal/client:** fix form-urlencoded requests ([71179bd](https://github.com/kernel/hypeman/commit/71179bd2f8052d73b16906ed61a94f72c9c3355c)) +* **internal:** avoid type checking errors with ts-reset ([4111306](https://github.com/kernel/hypeman/commit/411130694b4769df7881b902ed70500bdccf4022)) +* **internal:** move stringifyQuery implementation to internal function ([0c0a780](https://github.com/kernel/hypeman/commit/0c0a780fa787b84dd065731bafec44e826677b9f)) +* **internal:** remove mock server code ([a1f66de](https://github.com/kernel/hypeman/commit/a1f66deac705256152e54e04dcb389a0be3f18bb)) +* **internal:** update `actions/checkout` version ([ba20375](https://github.com/kernel/hypeman/commit/ba2037568735937bda37a9ca386c781eb00e723a)) +* **internal:** update lock file ([8593b7c](https://github.com/kernel/hypeman/commit/8593b7c196af2b6b63121135a5a3dc18edfec04e)) +* **internal:** upgrade babel, qs, js-yaml ([cad9e24](https://github.com/kernel/hypeman/commit/cad9e2468b82a08e525c728e61a1e7266e1fc1b7)) +* **internal:** upgrade brace-expansion and @babel/helpers ([bef9226](https://github.com/kernel/hypeman/commit/bef9226de43a88d06e8a9688b7701e44c311ebf4)) +* **internal:** upgrade pnpm ([1c71418](https://github.com/kernel/hypeman/commit/1c714185893f1a686b2ea003fb4eae636a2fba33)) +* **internal:** upgrade pnpm version ([afc35ed](https://github.com/kernel/hypeman/commit/afc35edd4af9a0fe863142f701223e8f3d604d0d)) +* **stainless:** update SDKs for PR [#116](https://github.com/kernel/hypeman/issues/116) ([43903dc](https://github.com/kernel/hypeman/commit/43903dc9fb481fc794c1eddbfc74bb89d0bbd474)) +* sync repo ([75f4200](https://github.com/kernel/hypeman/commit/75f4200bb4c22d85be3ab8b065078ee1165cfa22)) +* **test:** update skip reason message ([bd159ea](https://github.com/kernel/hypeman/commit/bd159ea40dae40b191dd4f8399466f57dca472ad)) +* update mock server docs ([96f81df](https://github.com/kernel/hypeman/commit/96f81dfe6dca9164b6bc3a4c219ac4eab1808fc9)) +* update SDK settings ([8a8e921](https://github.com/kernel/hypeman/commit/8a8e92120eea2a6cd22182555ec2caa2d159fca0)) +* update SDK settings ([523dcfd](https://github.com/kernel/hypeman/commit/523dcfdff90593e47211b52a05f8d3bed1433780)) + + +### Refactors + +* cross-platform foundation for macOS support ([da5e553](https://github.com/kernel/hypeman/commit/da5e5532f852ace9a21fb273fd2d73f8b643db2e)) + ## 0.1.0 (2025-12-23) Full Changelog: [v0.0.2...v0.1.0](https://github.com/onkernel/hypeman-ts/compare/v0.0.2...v0.1.0) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1f50de11..6dfdfa5f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,15 +42,15 @@ If you’d like to use the repository from source, you can either install from g To install via git: ```sh -$ npm install git+ssh://git@github.com:onkernel/hypeman-ts.git +$ npm install git+ssh://git@github.com:kernel/hypeman.git ``` Alternatively, to link a local copy of the repo: ```sh # Clone -$ git clone https://www.github.com/onkernel/hypeman-ts -$ cd hypeman-ts +$ git clone https://www.github.com/kernel/hypeman +$ cd hypeman # With yarn $ yarn link @@ -93,7 +93,7 @@ the changes aren't made through the automated pipeline, you may want to make rel ### Publish with a GitHub workflow -You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/onkernel/hypeman-ts/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up. +You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/kernel/hypeman/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up. ### Publish manually diff --git a/README.md b/README.md index d2c94a9c..6040a7f1 100644 --- a/README.md +++ b/README.md @@ -361,7 +361,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience. -We are keen for your feedback; please open an [issue](https://www.github.com/onkernel/hypeman-ts/issues) with questions, bugs, or suggestions. +We are keen for your feedback; please open an [issue](https://www.github.com/kernel/hypeman/issues) with questions, bugs, or suggestions. ## Requirements diff --git a/package.json b/package.json index ad6a0102..64a0222f 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "@onkernel/hypeman", - "version": "0.1.0", + "version": "0.2.0", "description": "The official TypeScript library for the Hypeman API", "author": "Hypeman <>", "types": "dist/index.d.ts", "main": "dist/index.js", "type": "commonjs", - "repository": "github:onkernel/hypeman-ts", + "repository": "github:kernel/hypeman", "license": "Apache-2.0", "packageManager": "pnpm@10.30.1", "files": [ diff --git a/src/resources/instances/instances.ts b/src/resources/instances/instances.ts index 01782352..0fe17f49 100644 --- a/src/resources/instances/instances.ts +++ b/src/resources/instances/instances.ts @@ -235,7 +235,7 @@ export interface Instance { /** * Hypervisor running this instance */ - hypervisor?: 'cloud-hypervisor' | 'qemu' | 'vz'; + hypervisor?: 'cloud-hypervisor' | 'firecracker' | 'qemu' | 'vz'; /** * User-defined key-value metadata @@ -478,7 +478,7 @@ export interface InstanceCreateParams { /** * Hypervisor to use for this instance. Defaults to server configuration. */ - hypervisor?: 'cloud-hypervisor' | 'qemu' | 'vz'; + hypervisor?: 'cloud-hypervisor' | 'firecracker' | 'qemu' | 'vz'; /** * User-defined key-value metadata for the instance diff --git a/src/version.ts b/src/version.ts index 1baa2286..bade2ffc 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.1.0'; // x-release-please-version +export const VERSION = '0.2.0'; // x-release-please-version