File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "." : " 0.1.0-alpha.1 "
2+ "." : " 0.1.0-alpha.2 "
33}
Original file line number Diff line number Diff line change 11configured_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
44config_hash : b63d685bc4feb4db73f82791193686bd
Original file line number Diff line number Diff line change 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
513Full 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 )
Original file line number Diff line number Diff 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 -->
Original file line number Diff line number Diff line change 22
33package 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
Original file line number Diff line number Diff 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"`
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments