Skip to content

Commit ea4538a

Browse files
authored
Merge pull request #71 from imagekit-developer/release-please--branches--master--changes--next
release: 4.3.0
2 parents 05b008a + e29361b commit ea4538a

128 files changed

Lines changed: 1604 additions & 607 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,58 @@
11
name: CI
22
on:
33
push:
4-
branches-ignore:
5-
- 'generated'
6-
- 'codegen/**'
7-
- 'integrated/**'
8-
- 'stl-preview-head/**'
9-
- 'stl-preview-base/**'
4+
branches:
5+
- '**'
6+
- '!integrated/**'
7+
- '!stl-preview-head/**'
8+
- '!stl-preview-base/**'
9+
- '!generated'
10+
- '!codegen/**'
11+
- 'codegen/stl/**'
1012
pull_request:
1113
branches-ignore:
1214
- 'stl-preview-head/**'
1315
- 'stl-preview-base/**'
1416

1517
jobs:
18+
build:
19+
timeout-minutes: 10
20+
name: build
21+
permissions:
22+
contents: read
23+
id-token: write
24+
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
25+
if: |-
26+
github.repository == 'stainless-sdks/imagekit-ruby' &&
27+
(github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
28+
steps:
29+
- uses: actions/checkout@v6
30+
- name: Set up Ruby
31+
uses: ruby/setup-ruby@v1
32+
with:
33+
bundler-cache: false
34+
- run: |-
35+
bundle install
36+
37+
- name: Get GitHub OIDC Token
38+
if: |-
39+
github.repository == 'stainless-sdks/imagekit-ruby' &&
40+
!startsWith(github.ref, 'refs/heads/stl/')
41+
id: github-oidc
42+
uses: actions/github-script@v8
43+
with:
44+
script: core.setOutput('github_token', await core.getIDToken());
45+
46+
- name: Build and upload gem artifacts
47+
if: |-
48+
github.repository == 'stainless-sdks/imagekit-ruby' &&
49+
!startsWith(github.ref, 'refs/heads/stl/')
50+
env:
51+
URL: https://pkg.stainless.com/s
52+
AUTH: ${{ steps.github-oidc.outputs.github_token }}
53+
SHA: ${{ github.sha }}
54+
PACKAGE_NAME: imagekitio
55+
run: ./scripts/utils/upload-artifact.sh
1656
lint:
1757
timeout-minutes: 10
1858
name: lint

.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-
".": "4.2.0"
2+
".": "4.3.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: 47
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-13fc3d7cafdea492f62eef7c1d63424d6d9d8adbff74b9f6ca6fd3fc12a36840.yml
3-
openapi_spec_hash: a1fe6fa48207791657a1ea2d60a6dfcc
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-63aff1629530786015da3c86131afa8a9b60545d488884b77641f1d4b89c6e9d.yml
3+
openapi_spec_hash: 586d357bd7e5217d240a99e0d83c6d1f
44
config_hash: 47cb702ee2cb52c58d803ae39ade9b44

CHANGELOG.md

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

3+
## 4.3.0 (2026-04-06)
4+
5+
Full Changelog: [v4.2.0...v4.3.0](https://github.com/imagekit-developer/imagekit-ruby/compare/v4.2.0...v4.3.0)
6+
7+
### Features
8+
9+
* **api:** add support for x_center, y_center, and anchor_point in overlay positioning ([dcbcf76](https://github.com/imagekit-developer/imagekit-ruby/commit/dcbcf7610f2a484689f5c83a8779ab3dd4c5b092))
10+
* **api:** dpr type update ([650aa0f](https://github.com/imagekit-developer/imagekit-ruby/commit/650aa0f905b4a586c036ae2f019bd7cfb7775d40))
11+
* **api:** Introduce lxc, lyc, lap parameters in overlays. ([5a87ef0](https://github.com/imagekit-developer/imagekit-ruby/commit/5a87ef064bc9c14d1d62bbd338b64d7718888460))
12+
* **api:** revert dpr breaking change ([525e6a8](https://github.com/imagekit-developer/imagekit-ruby/commit/525e6a8a59f0f4a17ab17468aebc4b8ccdce182c))
13+
* **client:** add webhook support ([2a65217](https://github.com/imagekit-developer/imagekit-ruby/commit/2a65217314672d643372aafed4c83adf19c0566f))
14+
15+
16+
### Bug Fixes
17+
18+
* align path encoding with RFC 3986 section 3.3 ([88f5590](https://github.com/imagekit-developer/imagekit-ruby/commit/88f5590fc3bb8b7766d4698892aff762f80d3629))
19+
* **client:** add types for path params, and update structure of unions nested in params ([dd1e1ec](https://github.com/imagekit-developer/imagekit-ruby/commit/dd1e1ec791f563877bc2262b0aea91f4df9b2ced))
20+
* **client:** always add content-length to post body, even when empty ([e156b70](https://github.com/imagekit-developer/imagekit-ruby/commit/e156b70c82c9b38de49307218fb3f687f651aa5b))
21+
* **client:** loosen json header parsing ([9fc1fc6](https://github.com/imagekit-developer/imagekit-ruby/commit/9fc1fc60c60173f92f1f99fabe38f9ec826d940d))
22+
* **client:** serialize query parameters properly ([bbfc6e0](https://github.com/imagekit-developer/imagekit-ruby/commit/bbfc6e0d80da5661600a888e8c915d336919fe36))
23+
* **internal:** correct multipart form field name encoding ([f3c20a9](https://github.com/imagekit-developer/imagekit-ruby/commit/f3c20a9740682cb96e90eecfd617f204cd28a491))
24+
* properly mock time in ruby ci tests ([8f0a0a9](https://github.com/imagekit-developer/imagekit-ruby/commit/8f0a0a93ebc66d8d56d5e47950607f8d67f37514))
25+
* variable name typo ([1d32dc3](https://github.com/imagekit-developer/imagekit-ruby/commit/1d32dc3ec09c80961cc58ecfd40b2449957a2ac9))
26+
27+
28+
### Chores
29+
30+
* **ci:** add build step ([c213724](https://github.com/imagekit-developer/imagekit-ruby/commit/c213724d793c735b09c784a5a285cf394f79d528))
31+
* **ci:** skip lint on metadata-only changes ([62e401f](https://github.com/imagekit-developer/imagekit-ruby/commit/62e401f6fc35fa3bc0e16593bab8e4a477536d4f))
32+
* **ci:** skip uploading artifacts on stainless-internal branches ([fbc0465](https://github.com/imagekit-developer/imagekit-ruby/commit/fbc0465b3c2fc05da7a61fe74fab19189be90305))
33+
* **ci:** support opting out of skipping builds on metadata-only commits ([af71b49](https://github.com/imagekit-developer/imagekit-ruby/commit/af71b4919ea7eb3bf704ed6a83eaa9301b5201f9))
34+
* **docs:** remove www prefix ([a4b9610](https://github.com/imagekit-developer/imagekit-ruby/commit/a4b961058ac8967dcfef109421dbca9ee3eedf0b))
35+
* **internal:** remove mock server code ([c8aa3b8](https://github.com/imagekit-developer/imagekit-ruby/commit/c8aa3b8c2320102d8e29941f78f1f1ade06cab00))
36+
* **internal:** tweak CI branches ([125e8b4](https://github.com/imagekit-developer/imagekit-ruby/commit/125e8b4b0f3676378a863bacfc3cc93bf7b3f6ee))
37+
* **internal:** update gitignore ([741331c](https://github.com/imagekit-developer/imagekit-ruby/commit/741331c210a1af49f43ff77f593293e42882c15b))
38+
* update mock server docs ([1e5ed9e](https://github.com/imagekit-developer/imagekit-ruby/commit/1e5ed9ea31388b76995c292fc22f9ed773ad6f40))
39+
* update placeholder string ([cff7f1b](https://github.com/imagekit-developer/imagekit-ruby/commit/cff7f1b4cf7a249e7dd6f426c992472238a8c6e1))
40+
341
## 4.2.0 (2026-02-02)
442

543
Full Changelog: [v4.1.2...v4.2.0](https://github.com/imagekit-developer/imagekit-ruby/compare/v4.1.2...v4.2.0)

CONTRIBUTING.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ If you’d like to use the repository from source, you can either install from g
4343
To install via git in your `Gemfile`:
4444

4545
```ruby
46-
gem "imagekitio", git: "https://www.github.com/imagekit-developer/imagekit-ruby"
46+
gem "imagekitio", git: "https://github.com/imagekit-developer/imagekit-ruby"
4747
```
4848

4949
Alternatively, reference local copy of the repo:
5050

5151
```bash
52-
$ git clone -- 'https://www.github.com/imagekit-developer/imagekit-ruby' '<path-to-repo>'
52+
$ git clone -- 'https://github.com/imagekit-developer/imagekit-ruby' '<path-to-repo>'
5353
```
5454

5555
```ruby
@@ -66,12 +66,6 @@ $ 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.
70-
71-
```bash
72-
$ npx prism mock path/to/your/openapi.yml
73-
```
74-
7569
```bash
7670
$ bundle exec rake test
7771
```

Gemfile.lock

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
imagekitio (4.2.0)
14+
imagekitio (4.3.0)
1515
cgi
1616
connection_pool
17+
standardwebhooks
1718

1819
GEM
1920
remote: https://rubygems.org/
@@ -143,6 +144,7 @@ GEM
143144
rexml (>= 3.2.6)
144145
sorbet-static-and-runtime (>= 0.5.10187)
145146
thor (>= 0.19.2)
147+
standardwebhooks (1.0.1)
146148
steep (1.10.0)
147149
activesupport (>= 5.1)
148150
concurrent-ruby (>= 1.1.10)

README.md

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

4747
```ruby
48-
gem "imagekitio", "~> 4.2.0"
48+
gem "imagekitio", "~> 4.3.0"
4949
```
5050

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

imagekitio.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ Gem::Specification.new do |s|
2626
s.extra_rdoc_files = ["README.md"]
2727
s.add_dependency "cgi"
2828
s.add_dependency "connection_pool"
29+
s.add_dependency "standardwebhooks"
2930
end

lib/imagekitio.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
# Gems.
3232
require "connection_pool"
33+
require "standardwebhooks"
3334

3435
# Package files.
3536
require_relative "imagekitio/version"

0 commit comments

Comments
 (0)