Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_url(request_options: nil, environment:)
end
# @return [Hash{String => String}]
def get_headers
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.10.0' }
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '0.3.3' }
headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
headers
end
Expand Down Expand Up @@ -107,7 +107,7 @@ def get_url(request_options: nil, environment:)
end
# @return [Hash{String => String}]
def get_headers
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.10.0' }
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '0.3.3' }
headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
headers
end
Expand Down
2 changes: 1 addition & 1 deletion vellum_ai.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require_relative "lib/gemconfig"

Gem::Specification.new do | spec |
spec.name = "vellum_ai"
spec.version = "1.10.0"
spec.version = "0.3.3"
Comment on lines 12 to +14

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep SDK version monotonically increasing

The commit changes spec.version to "0.3.3" and updates the request headers to advertise the same value even though the previous release in this repository was 1.10.0. Publishing a gem with a lower version number will be treated as a downgrade by Bundler/RubyGems, so clients already on 1.10.x will never pick up this regeneration and automated release tooling that expects version bumps may fail. If this regeneration is meant to be the next release after 1.10.0, the version should advance (e.g. 1.10.1) rather than reset to 0.3.3.

Useful? React with 👍 / 👎.

spec.licenses = ["MIT"]
spec.authors = Vellum::Gemconfig::AUTHORS
spec.email = Vellum::Gemconfig::EMAIL
Expand Down