Skip to content

Commit a0db85a

Browse files
release: 0.1.0-alpha.2 (#16)
* feat(api): api update * release: 0.1.0-alpha.2 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent df5c3ca commit a0db85a

7 files changed

Lines changed: 16 additions & 5 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0-alpha.1"
2+
".": "0.1.0-alpha.2"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 9
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/the-san-francisco-compute-company%2Fsfc-nodes-2d1d496704bf94597d58029df4e9d95b6e1f92ab1845e3310b11f292fe757d71.yml
3-
openapi_spec_hash: 7389e1895d41587ae084f0c989d26acc
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/the-san-francisco-compute-company%2Fsfc-nodes-64b3af1a7aa80906205b3369d34afb7c2686ab1c184f4683d81f2e3adffa255e.yml
3+
openapi_spec_hash: 4a63ec0585f1f25c42f1a612345f7ab4
44
config_hash: b63d685bc4feb4db73f82791193686bd

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.1.0-alpha.2 (2025-09-05)
4+
5+
Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/sfcompute/nodes-go/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)
6+
7+
### Features
8+
9+
* **api:** api update ([ed6f2e9](https://github.com/sfcompute/nodes-go/commit/ed6f2e905fabfd0fb526e5bb5a69565a76d86244))
10+
311
## 0.1.0-alpha.1 (2025-09-04)
412

513
Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/sfcompute/nodes-go/compare/v0.0.1-alpha.0...v0.1.0-alpha.1)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Or to pin the version:
2828
<!-- x-release-please-start-version -->
2929

3030
```sh
31-
go get -u 'github.com/sfcompute/nodes-go@v0.1.0-alpha.1'
31+
go get -u 'github.com/sfcompute/nodes-go@v0.1.0-alpha.2'
3232
```
3333

3434
<!-- x-release-please-end -->

internal/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
package internal
44

5-
const PackageVersion = "0.1.0-alpha.1" // x-release-please-version
5+
const PackageVersion = "0.1.0-alpha.2" // x-release-please-version

node.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ type CreateNodesRequestParam struct {
110110
EndAt param.Opt[int64] `json:"end_at,omitzero"`
111111
// Start time as Unix timestamp in seconds
112112
StartAt param.Opt[int64] `json:"start_at,omitzero"`
113+
// User script to be executed during the VM's boot process
114+
CloudInitUserData []int64 `json:"cloud_init_user_data,omitzero"`
113115
// Custom node names. Names cannot follow the vm\_{alpha_numeric_chars} as this is
114116
// reserved for system-generated IDs. Names cannot be numeric strings.
115117
Names []string `json:"names,omitzero"`

node_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ func TestNodeNewWithOptionalParams(t *testing.T) {
3131
DesiredCount: 1,
3232
MaxPricePerNodeHour: 1000,
3333
Zone: "hayesvalley",
34+
CloudInitUserData: []int64{0},
3435
EndAt: sfcnodes.Int(0),
3536
Names: []string{"cuda-crunch"},
3637
NodeType: sfcnodes.NodeTypeAutoreserved,

0 commit comments

Comments
 (0)