Skip to content

Commit 4dd4296

Browse files
release: 0.1.0-alpha.7 (#7)
* codegen metadata * ci: pin GitHub Actions to commit SHAs Pin all GitHub Actions referenced in generated workflows (both first-party `actions/*` and third-party) to immutable commit SHAs. Updating pinned actions is now a deliberate codegen-side bump rather than implicit on every workflow run. * fix(client): elide content type header on requests without body * codegen metadata * codegen metadata * codegen metadata * codegen metadata * codegen metadata * release: 0.1.0-alpha.7 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 779c947 commit 4dd4296

11 files changed

Lines changed: 31 additions & 20 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
github.repository == 'stainless-sdks/hubspot-sdk-ruby' &&
2727
(github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2828
steps:
29-
- uses: actions/checkout@v6
29+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3030
- name: Set up Ruby
31-
uses: ruby/setup-ruby@v1
31+
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
3232
with:
3333
bundler-cache: false
3434
- run: |-
@@ -39,7 +39,7 @@ jobs:
3939
github.repository == 'stainless-sdks/hubspot-sdk-ruby' &&
4040
!startsWith(github.ref, 'refs/heads/stl/')
4141
id: github-oidc
42-
uses: actions/github-script@v8
42+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
4343
with:
4444
script: core.setOutput('github_token', await core.getIDToken());
4545

@@ -60,9 +60,9 @@ jobs:
6060
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
6161

6262
steps:
63-
- uses: actions/checkout@v6
63+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6464
- name: Set up Ruby
65-
uses: ruby/setup-ruby@v1
65+
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
6666
with:
6767
bundler-cache: false
6868
- run: |-
@@ -76,9 +76,9 @@ jobs:
7676
runs-on: ${{ github.repository == 'stainless-sdks/hubspot-sdk-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
7777
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
7878
steps:
79-
- uses: actions/checkout@v6
79+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8080
- name: Set up Ruby
81-
uses: ruby/setup-ruby@v1
81+
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
8282
with:
8383
bundler-cache: false
8484
- run: |-

.github/workflows/publish-gem.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v6
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818
- name: Set up Ruby
19-
uses: ruby/setup-ruby@v1
19+
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
2020
with:
2121
bundler-cache: false
2222
- run: |-

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.repository == 'HubSpot/hubspot-sdk-ruby' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:
15-
- uses: actions/checkout@v6
15+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616

1717
- name: Check release environment
1818
run: |

.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.6"
2+
".": "0.1.0-alpha.7"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 959
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-823cfd41f503bd00779bc02af045a44617ded14a4612bc128567301eb2982763.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-35257acc7f22a48c219d500e01eb99063e7a9194568504e1beb3bb1373078184.yml
33
openapi_spec_hash: 3a53f40c597fb1a8ded7d5f8939b8cc1
4-
config_hash: 8397c3cc951490dffa28dc7f9f0635e4
4+
config_hash: 4c441c8f58590070a737ee66d9efe666

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.7 (2026-05-14)
4+
5+
Full Changelog: [v0.1.0-alpha.6...v0.1.0-alpha.7](https://github.com/HubSpot/hubspot-sdk-ruby/compare/v0.1.0-alpha.6...v0.1.0-alpha.7)
6+
7+
### Bug Fixes
8+
9+
* **client:** elide content type header on requests without body ([fad3cd1](https://github.com/HubSpot/hubspot-sdk-ruby/commit/fad3cd197ff5b1d3fa2c0afcf891d82dbf5594ad))
10+
311
## 0.1.0-alpha.6 (2026-05-07)
412

513
Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/HubSpot/hubspot-sdk-ruby/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
hubspot-sdk (0.1.0.pre.alpha.6)
14+
hubspot-sdk (0.1.0.pre.alpha.7)
1515
cgi
1616
connection_pool
1717

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
1717
<!-- x-release-please-start-version -->
1818

1919
```ruby
20-
gem "hubspot-sdk", "~> 0.1.0.pre.alpha.6"
20+
gem "hubspot-sdk", "~> 0.1.0.pre.alpha.7"
2121
```
2222

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

lib/hubspot_sdk/internal/transport/base_client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ def initialize(
311311
HubSpotSDK::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
312312
end
313313

314+
headers.delete("content-type") if body.nil?
315+
314316
url = HubSpotSDK::Internal::Util.join_parsed_uri(
315317
@base_url_components,
316318
{**req, path: path, query: query}

lib/hubspot_sdk/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module HubSpotSDK
4-
VERSION = "0.1.0.pre.alpha.6"
4+
VERSION = "0.1.0.pre.alpha.7"
55
end

0 commit comments

Comments
 (0)