diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 397c4203..cdcf20eb 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.22.0" + ".": "1.23.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index e3d38278..a5eefde4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 23 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-0b0145048988f7bd39d5e98c23d812f2e864670f4d915693cb3fc9ecc1648fcd.yml -openapi_spec_hash: ac1dbedcee13cbf1995eefe4c47b7c6f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-65a744f4c7f4e0a4e92ff201092cf48901757824d7eb32e79cd6e36919284c10.yml +openapi_spec_hash: 88c222227b33b3cba5898fd55782cce9 config_hash: f481fca4de4b1657023180d4fc47ef22 diff --git a/CHANGELOG.md b/CHANGELOG.md index b957e4ad..888a2fdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.23.0 (2026-05-19) + +Full Changelog: [v1.22.0...v1.23.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v1.22.0...v1.23.0) + +### Features + +* **api:** api update ([5574aa6](https://github.com/context-dot-dev/context-ruby-sdk/commit/5574aa6793f9ff576b625cbb2e86fa819fd3bf36)) + ## 1.22.0 (2026-05-16) Full Changelog: [v1.21.0...v1.22.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v1.21.0...v1.22.0) diff --git a/Gemfile.lock b/Gemfile.lock index bbfaf5e6..fac66d94 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - context.dev (1.22.0) + context.dev (1.23.0) cgi connection_pool diff --git a/README.md b/README.md index 07c7990f..7675a0ab 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "context.dev", "~> 1.22.0" +gem "context.dev", "~> 1.23.0" ``` diff --git a/lib/context_dev/resources/web.rb b/lib/context_dev/resources/web.rb index e80512a8..caeb93c9 100644 --- a/lib/context_dev/resources/web.rb +++ b/lib/context_dev/resources/web.rb @@ -251,8 +251,8 @@ def web_scrape_html(params) # # Extract image assets from a web page, including standard URLs, inline SVGs, data # URIs, responsive image sources, metadata, CSS backgrounds, video posters, and - # embeds. The base request costs 1 credit; enrichment costs 1 credit per returned - # image. + # embeds. The base request costs 1 credit. When enrichment is enabled, the entire + # call costs 5 credits. # # @overload web_scrape_images(url:, enrichment: nil, max_age_ms: nil, timeout_ms: nil, wait_for_ms: nil, request_options: {}) # diff --git a/lib/context_dev/version.rb b/lib/context_dev/version.rb index 32743cdb..f56b8a7d 100644 --- a/lib/context_dev/version.rb +++ b/lib/context_dev/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module ContextDev - VERSION = "1.22.0" + VERSION = "1.23.0" end diff --git a/rbi/context_dev/resources/web.rbi b/rbi/context_dev/resources/web.rbi index b4d6d41c..d1526b75 100644 --- a/rbi/context_dev/resources/web.rbi +++ b/rbi/context_dev/resources/web.rbi @@ -260,8 +260,8 @@ module ContextDev # Extract image assets from a web page, including standard URLs, inline SVGs, data # URIs, responsive image sources, metadata, CSS backgrounds, video posters, and - # embeds. The base request costs 1 credit; enrichment costs 1 credit per returned - # image. + # embeds. The base request costs 1 credit. When enrichment is enabled, the entire + # call costs 5 credits. sig do params( url: String,