From cdd39fc16d16f83a16464447b77c631ad4b6854c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 3 Feb 2026 04:29:21 +0000 Subject: [PATCH 1/2] fix(client): always add content-length to post body, even when empty --- lib/openlayer/internal/transport/pooled_net_requester.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/openlayer/internal/transport/pooled_net_requester.rb b/lib/openlayer/internal/transport/pooled_net_requester.rb index d91dd81..6a020df 100644 --- a/lib/openlayer/internal/transport/pooled_net_requester.rb +++ b/lib/openlayer/internal/transport/pooled_net_requester.rb @@ -75,7 +75,7 @@ def build_request(request, &blk) case body in nil - nil + req["content-length"] ||= 0 unless req["transfer-encoding"] in String req["content-length"] ||= body.bytesize.to_s unless req["transfer-encoding"] req.body_stream = Openlayer::Internal::Util::ReadIOAdapter.new(body, &blk) From 2607b3be1f7c552382e11f8353a06c31670f6f50 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 3 Feb 2026 04:29:36 +0000 Subject: [PATCH 2/2] release: 0.10.4 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/openlayer/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b852c1d..791216e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.10.3" + ".": "0.10.4" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 52712ca..b976617 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.10.4 (2026-02-03) + +Full Changelog: [v0.10.3...v0.10.4](https://github.com/openlayer-ai/openlayer-ruby/compare/v0.10.3...v0.10.4) + +### Bug Fixes + +* **client:** always add content-length to post body, even when empty ([cdd39fc](https://github.com/openlayer-ai/openlayer-ruby/commit/cdd39fc16d16f83a16464447b77c631ad4b6854c)) + ## 0.10.3 (2026-01-17) Full Changelog: [v0.10.2...v0.10.3](https://github.com/openlayer-ai/openlayer-ruby/compare/v0.10.2...v0.10.3) diff --git a/Gemfile.lock b/Gemfile.lock index 619432c..1e9a111 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - openlayer (0.10.3) + openlayer (0.10.4) cgi connection_pool diff --git a/README.md b/README.md index 98f9870..0756522 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "openlayer", "~> 0.10.3" +gem "openlayer", "~> 0.10.4" ``` diff --git a/lib/openlayer/version.rb b/lib/openlayer/version.rb index 94fed76..74a7a85 100644 --- a/lib/openlayer/version.rb +++ b/lib/openlayer/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Openlayer - VERSION = "0.10.3" + VERSION = "0.10.4" end