Skip to content

Commit f356182

Browse files
authored
Merge pull request #68 from imagekit-developer/release-please--branches--master--changes--next
release: 4.1.1
2 parents 22321f4 + 496a9a1 commit f356182

15 files changed

Lines changed: 89 additions & 66 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
2121

2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v6
2424
- name: Set up Ruby
2525
uses: ruby/setup-ruby@v1
2626
with:
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
3737
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
3838
steps:
39-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@v6
4040
- name: Set up Ruby
4141
uses: ruby/setup-ruby@v1
4242
with:

.github/workflows/publish-gem.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818
- name: Set up Ruby
1919
uses: ruby/setup-ruby@v1
2020
with:

.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 == 'imagekit-developer/imagekit-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@v4
15+
- uses: actions/checkout@v6
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-
".": "4.1.0"
2+
".": "4.1.1"
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-c028a7584d3508f268ce5c5b824b50af88eaa140620dd03a1b35f409f510603c.yml
3-
openapi_spec_hash: f9b780b2398a87678a13355e48cd515f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-84f0d75048a9268981a84800b4190e3691997ce57dcfc0876f38a5b3fce6bacd.yml
3+
openapi_spec_hash: 35607d4e850c8a60524223ff632c83bb
44
config_hash: aeb6eb949d73382270bbd8bbf2e4cf2a

CHANGELOG.md

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

3+
## 4.1.1 (2026-01-20)
4+
5+
Full Changelog: [v4.1.0...v4.1.1](https://github.com/imagekit-developer/imagekit-ruby/compare/v4.1.0...v4.1.1)
6+
7+
### Bug Fixes
8+
9+
* vocab field is required ([1ebdd2d](https://github.com/imagekit-developer/imagekit-ruby/commit/1ebdd2dff81b620d7d7dd7dea842424790b503f4))
10+
11+
12+
### Chores
13+
14+
* **internal:** update `actions/checkout` version ([1e2d69e](https://github.com/imagekit-developer/imagekit-ruby/commit/1e2d69e80f0550dc26aea92609f1a355f5335270))
15+
316
## 4.1.0 (2026-01-16)
417

518
Full Changelog: [v4.0.0...v4.1.0](https://github.com/imagekit-developer/imagekit-ruby/compare/v4.0.0...v4.1.0)

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-
imagekitio (4.1.0)
14+
imagekitio (4.1.1)
1515
cgi
1616
connection_pool
1717

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.1.0"
48+
gem "imagekitio", "~> 4.1.1"
4949
```
5050

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

lib/imagekitio/models/extension_config.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,6 @@ class SelectTags < Imagekitio::Internal::Type::BaseModel
173173
# @return [Symbol, :select_tags]
174174
required :type, const: :select_tags
175175

176-
# @!attribute vocabulary
177-
# Array of possible tag values. Combined length of all strings must not exceed 500
178-
# characters. Cannot contain the `%` character.
179-
#
180-
# @return [Array<String>]
181-
required :vocabulary, Imagekitio::Internal::Type::ArrayOf[String]
182-
183176
# @!attribute max_selections
184177
# Maximum number of tags to select from the vocabulary.
185178
#
@@ -192,19 +185,26 @@ class SelectTags < Imagekitio::Internal::Type::BaseModel
192185
# @return [Integer, nil]
193186
optional :min_selections, Integer
194187

195-
# @!method initialize(instruction:, vocabulary:, max_selections: nil, min_selections: nil, type: :select_tags)
188+
# @!attribute vocabulary
189+
# Array of possible tag values. Combined length of all strings must not exceed 500
190+
# characters. Cannot contain the `%` character.
191+
#
192+
# @return [Array<String>, nil]
193+
optional :vocabulary, Imagekitio::Internal::Type::ArrayOf[String]
194+
195+
# @!method initialize(instruction:, max_selections: nil, min_selections: nil, vocabulary: nil, type: :select_tags)
196196
# Some parameter documentations has been truncated, see
197197
# {Imagekitio::Models::ExtensionConfig::AITasks::Task::SelectTags} for more
198198
# details.
199199
#
200200
# @param instruction [String] The question or instruction for the AI to analyze the image.
201201
#
202-
# @param vocabulary [Array<String>] Array of possible tag values. Combined length of all strings must not exceed 500
203-
#
204202
# @param max_selections [Integer] Maximum number of tags to select from the vocabulary.
205203
#
206204
# @param min_selections [Integer] Minimum number of tags to select from the vocabulary.
207205
#
206+
# @param vocabulary [Array<String>] Array of possible tag values. Combined length of all strings must not exceed 500
207+
#
208208
# @param type [Symbol, :select_tags] Task type that analyzes the image and adds matching tags from a vocabulary.
209209
end
210210

lib/imagekitio/models/extensions.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,6 @@ class SelectTags < Imagekitio::Internal::Type::BaseModel
173173
# @return [Symbol, :select_tags]
174174
required :type, const: :select_tags
175175

176-
# @!attribute vocabulary
177-
# Array of possible tag values. Combined length of all strings must not exceed 500
178-
# characters. Cannot contain the `%` character.
179-
#
180-
# @return [Array<String>]
181-
required :vocabulary, Imagekitio::Internal::Type::ArrayOf[String]
182-
183176
# @!attribute max_selections
184177
# Maximum number of tags to select from the vocabulary.
185178
#
@@ -192,18 +185,25 @@ class SelectTags < Imagekitio::Internal::Type::BaseModel
192185
# @return [Integer, nil]
193186
optional :min_selections, Integer
194187

195-
# @!method initialize(instruction:, vocabulary:, max_selections: nil, min_selections: nil, type: :select_tags)
188+
# @!attribute vocabulary
189+
# Array of possible tag values. Combined length of all strings must not exceed 500
190+
# characters. Cannot contain the `%` character.
191+
#
192+
# @return [Array<String>, nil]
193+
optional :vocabulary, Imagekitio::Internal::Type::ArrayOf[String]
194+
195+
# @!method initialize(instruction:, max_selections: nil, min_selections: nil, vocabulary: nil, type: :select_tags)
196196
# Some parameter documentations has been truncated, see
197197
# {Imagekitio::Models::ExtensionItem::AITasks::Task::SelectTags} for more details.
198198
#
199199
# @param instruction [String] The question or instruction for the AI to analyze the image.
200200
#
201-
# @param vocabulary [Array<String>] Array of possible tag values. Combined length of all strings must not exceed 500
202-
#
203201
# @param max_selections [Integer] Maximum number of tags to select from the vocabulary.
204202
#
205203
# @param min_selections [Integer] Minimum number of tags to select from the vocabulary.
206204
#
205+
# @param vocabulary [Array<String>] Array of possible tag values. Combined length of all strings must not exceed 500
206+
#
207207
# @param type [Symbol, :select_tags] Task type that analyzes the image and adds matching tags from a vocabulary.
208208
end
209209

0 commit comments

Comments
 (0)