Skip to content

Commit 1bf9f4a

Browse files
release: 1.35.0 (#73)
* refactor(tests): switch from prism to steady * chore(tests): bump steady to v0.19.4 * chore(tests): bump steady to v0.19.5 * chore(internal): update gitignore * chore(tests): bump steady to v0.19.6 * chore(ci): skip lint on metadata-only changes Note that we still want to run tests, as these depend on the metadata. * chore(tests): bump steady to v0.19.7 * feat(api): api update * fix(internal): correct multipart form field name encoding * chore(ci): support opting out of skipping builds on metadata-only commits * release: 1.35.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 18c9424 commit 1bf9f4a

35 files changed

+65
-211
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ${{ github.repository == 'stainless-sdks/knock-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2525
if: |-
2626
github.repository == 'stainless-sdks/knock-ruby' &&
27-
(github.event_name == 'push' || github.event.pull_request.head.repo.fork)
27+
(github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2828
steps:
2929
- uses: actions/checkout@v6
3030
- name: Set up Ruby

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.idea/
33
.ignore
44
.prism.log
5+
.stdy.log
56
.ruby-lsp/
67
.yardoc/
78
bin/tapioca

.release-please-manifest.json

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

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 90
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-8453f7087b0207e02d485220151fc4eb2348689b4c281de0184cdc80f9a15c01.yml
3-
openapi_spec_hash: deda6ffd2fc6c4d79a556cb216811cc8
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-c4b73cfc78e9b583cae6abe7c1f73caf2b81d9d8c4338819707f7089443b9754.yml
3+
openapi_spec_hash: 8ee18f8419b62f10276dff5d35ee5f27
44
config_hash: 32503026a45db991d0d102f25af40a77

CHANGELOG.md

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

3+
## 1.35.0 (2026-03-27)
4+
5+
Full Changelog: [v1.34.0...v1.35.0](https://github.com/knocklabs/knock-ruby/compare/v1.34.0...v1.35.0)
6+
7+
### Features
8+
9+
* **api:** api update ([76cdbf7](https://github.com/knocklabs/knock-ruby/commit/76cdbf76e57583e6fc581dc0595c29b092c10874))
10+
11+
12+
### Bug Fixes
13+
14+
* **internal:** correct multipart form field name encoding ([95b2276](https://github.com/knocklabs/knock-ruby/commit/95b227626042bb093371123280e68b2b22fb30f3))
15+
16+
17+
### Chores
18+
19+
* **ci:** skip lint on metadata-only changes ([c1820ad](https://github.com/knocklabs/knock-ruby/commit/c1820adcfde5cb1123a4a82b4ff66eb128bf1234))
20+
* **ci:** support opting out of skipping builds on metadata-only commits ([33d11b7](https://github.com/knocklabs/knock-ruby/commit/33d11b7bc77637e731b0999c07e00469b09db397))
21+
* **internal:** update gitignore ([754f5b7](https://github.com/knocklabs/knock-ruby/commit/754f5b79a54eeebe5edf69e5db7f9d21500425b4))
22+
* **tests:** bump steady to v0.19.4 ([2dc2203](https://github.com/knocklabs/knock-ruby/commit/2dc2203a1d59010a0ef7e29b8a8c9f7ea75140f1))
23+
* **tests:** bump steady to v0.19.5 ([318a377](https://github.com/knocklabs/knock-ruby/commit/318a37772cd05ffef85e21c236f126cd3a59d1e3))
24+
* **tests:** bump steady to v0.19.6 ([1c05121](https://github.com/knocklabs/knock-ruby/commit/1c05121e625f151d690ddf6cd7658011aa0faf43))
25+
* **tests:** bump steady to v0.19.7 ([b07462c](https://github.com/knocklabs/knock-ruby/commit/b07462ce78a6b9487f872f4ebff830d352536a6c))
26+
27+
28+
### Refactors
29+
30+
* **tests:** switch from prism to steady ([825cb06](https://github.com/knocklabs/knock-ruby/commit/825cb069ecda68a5dd702589424e75b1840534b2))
31+
332
## 1.34.0 (2026-03-16)
433

534
Full Changelog: [v1.33.0...v1.34.0](https://github.com/knocklabs/knock-ruby/compare/v1.33.0...v1.34.0)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ $ bundle exec rake
6666

6767
## Running tests
6868

69-
Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.
69+
Most tests require you to [set up a mock server](https://github.com/dgellow/steady) against the OpenAPI spec to run the tests.
7070

7171
```sh
7272
$ ./scripts/mock

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-
knockapi (1.34.0)
14+
knockapi (1.35.0)
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 "knockapi", "~> 1.34.0"
20+
gem "knockapi", "~> 1.35.0"
2121
```
2222

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

lib/knockapi/internal/util.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,7 @@ def encode_query_params(query)
571571
y << "Content-Disposition: form-data"
572572

573573
unless key.nil?
574-
name = ERB::Util.url_encode(key.to_s)
575-
y << "; name=\"#{name}\""
574+
y << "; name=\"#{key}\""
576575
end
577576

578577
case val

lib/knockapi/models/message_event.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ module Type
6868

6969
MESSAGE_ARCHIVED = :"message.archived"
7070
MESSAGE_BOUNCED = :"message.bounced"
71+
MESSAGE_CREATED = :"message.created"
7172
MESSAGE_DELIVERED = :"message.delivered"
7273
MESSAGE_DELIVERY_ATTEMPTED = :"message.delivery_attempted"
7374
MESSAGE_INTERACTED = :"message.interacted"

0 commit comments

Comments
 (0)