Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.7.0"
".": "1.8.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 21
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-ee23a181bfa364090a90254a433704adf4d3b413730fe75e5ad9a26273ec517a.yml
openapi_spec_hash: bc99d89cb1e7cdacc997214305bffee7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-18bb184b75673248917773c4c074813ca4bd966458b2f039b937df63209c029d.yml
openapi_spec_hash: ef79dd2063dd500127748ee843f5e783
config_hash: 7d13dca2b2c6f71fc463cb6062efa5ea
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 1.8.0 (2026-04-24)

Full Changelog: [v1.7.0...v1.8.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v1.7.0...v1.8.0)

### Features

* **api:** api update ([84bfef2](https://github.com/context-dot-dev/context-ruby-sdk/commit/84bfef260d99a7a444c243edc4be1c72191929dd))
* **api:** api update ([5405b96](https://github.com/context-dot-dev/context-ruby-sdk/commit/5405b9676800e2004d92dd9f621dfc56972bacd2))

## 1.7.0 (2026-04-24)

Full Changelog: [v1.6.0...v1.7.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v1.6.0...v1.7.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
context.dev (1.7.0)
context.dev (1.8.0)
cgi
connection_pool

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "context.dev", "~> 1.7.0"
gem "context.dev", "~> 1.8.0"
```

<!-- x-release-please-end -->
Expand Down
10 changes: 9 additions & 1 deletion lib/context_dev/models/ai_extract_product_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ class Product < ContextDev::Internal::Type::BaseModel
# @return [String]
required :name, String

# @!attribute sku
# Stock Keeping Unit (product identifier). Null if no identifier is found.
#
# @return [String, nil]
required :sku, String, nil?: true

# @!attribute tags
# Tags associated with the product
#
Expand Down Expand Up @@ -128,7 +134,7 @@ class Product < ContextDev::Internal::Type::BaseModel
# @return [String, nil]
optional :url, String, nil?: true

# @!method initialize(description:, features:, images:, name:, tags:, target_audience:, billing_frequency: nil, category: nil, currency: nil, image_url: nil, price: nil, pricing_model: nil, url: nil)
# @!method initialize(description:, features:, images:, name:, sku:, tags:, target_audience:, billing_frequency: nil, category: nil, currency: nil, image_url: nil, price: nil, pricing_model: nil, url: nil)
# The extracted product data, or null if not a product page
#
# @param description [String] Description of the product
Expand All @@ -139,6 +145,8 @@ class Product < ContextDev::Internal::Type::BaseModel
#
# @param name [String] Name of the product
#
# @param sku [String, nil] Stock Keeping Unit (product identifier). Null if no identifier is found.
#
# @param tags [Array<String>] Tags associated with the product
#
# @param target_audience [Array<String>] Target audience for the product (array of strings)
Expand Down
10 changes: 9 additions & 1 deletion lib/context_dev/models/ai_extract_products_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ class Product < ContextDev::Internal::Type::BaseModel
# @return [String]
required :name, String

# @!attribute sku
# Stock Keeping Unit (product identifier). Null if no identifier is found.
#
# @return [String, nil]
required :sku, String, nil?: true

# @!attribute tags
# Tags associated with the product
#
Expand Down Expand Up @@ -97,7 +103,7 @@ class Product < ContextDev::Internal::Type::BaseModel
# @return [String, nil]
optional :url, String, nil?: true

# @!method initialize(description:, features:, images:, name:, tags:, target_audience:, billing_frequency: nil, category: nil, currency: nil, image_url: nil, price: nil, pricing_model: nil, url: nil)
# @!method initialize(description:, features:, images:, name:, sku:, tags:, target_audience:, billing_frequency: nil, category: nil, currency: nil, image_url: nil, price: nil, pricing_model: nil, url: nil)
# @param description [String] Description of the product
#
# @param features [Array<String>] List of product features
Expand All @@ -106,6 +112,8 @@ class Product < ContextDev::Internal::Type::BaseModel
#
# @param name [String] Name of the product
#
# @param sku [String, nil] Stock Keeping Unit (product identifier). Null if no identifier is found.
#
# @param tags [Array<String>] Tags associated with the product
#
# @param target_audience [Array<String>] Target audience for the product (array of strings)
Expand Down
2 changes: 1 addition & 1 deletion lib/context_dev/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ContextDev
VERSION = "1.7.0"
VERSION = "1.8.0"
end
8 changes: 8 additions & 0 deletions rbi/context_dev/models/ai_extract_product_response.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ module ContextDev
sig { returns(String) }
attr_accessor :name

# Stock Keeping Unit (product identifier). Null if no identifier is found.
sig { returns(T.nilable(String)) }
attr_accessor :sku

# Tags associated with the product
sig { returns(T::Array[String]) }
attr_accessor :tags
Expand Down Expand Up @@ -210,6 +214,7 @@ module ContextDev
features: T::Array[String],
images: T::Array[String],
name: String,
sku: T.nilable(String),
tags: T::Array[String],
target_audience: T::Array[String],
billing_frequency:
Expand All @@ -236,6 +241,8 @@ module ContextDev
images:,
# Name of the product
name:,
# Stock Keeping Unit (product identifier). Null if no identifier is found.
sku:,
# Tags associated with the product
tags:,
# Target audience for the product (array of strings)
Expand Down Expand Up @@ -264,6 +271,7 @@ module ContextDev
features: T::Array[String],
images: T::Array[String],
name: String,
sku: T.nilable(String),
tags: T::Array[String],
target_audience: T::Array[String],
billing_frequency:
Expand Down
8 changes: 8 additions & 0 deletions rbi/context_dev/models/ai_extract_products_response.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ module ContextDev
sig { returns(String) }
attr_accessor :name

# Stock Keeping Unit (product identifier). Null if no identifier is found.
sig { returns(T.nilable(String)) }
attr_accessor :sku

# Tags associated with the product
sig { returns(T::Array[String]) }
attr_accessor :tags
Expand Down Expand Up @@ -135,6 +139,7 @@ module ContextDev
features: T::Array[String],
images: T::Array[String],
name: String,
sku: T.nilable(String),
tags: T::Array[String],
target_audience: T::Array[String],
billing_frequency:
Expand All @@ -161,6 +166,8 @@ module ContextDev
images:,
# Name of the product
name:,
# Stock Keeping Unit (product identifier). Null if no identifier is found.
sku:,
# Tags associated with the product
tags:,
# Target audience for the product (array of strings)
Expand Down Expand Up @@ -189,6 +196,7 @@ module ContextDev
features: T::Array[String],
images: T::Array[String],
name: String,
sku: T.nilable(String),
tags: T::Array[String],
target_audience: T::Array[String],
billing_frequency:
Expand Down
5 changes: 5 additions & 0 deletions sig/context_dev/models/ai_extract_product_response.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module ContextDev
features: ::Array[String],
images: ::Array[String],
name: String,
sku: String?,
tags: ::Array[String],
target_audience: ::Array[String],
billing_frequency: ContextDev::Models::AIExtractProductResponse::Product::billing_frequency?,
Expand All @@ -67,6 +68,8 @@ module ContextDev

attr_accessor name: String

attr_accessor sku: String?

attr_accessor tags: ::Array[String]

attr_accessor target_audience: ::Array[String]
Expand All @@ -90,6 +93,7 @@ module ContextDev
features: ::Array[String],
images: ::Array[String],
name: String,
sku: String?,
tags: ::Array[String],
target_audience: ::Array[String],
?billing_frequency: ContextDev::Models::AIExtractProductResponse::Product::billing_frequency?,
Expand All @@ -106,6 +110,7 @@ module ContextDev
features: ::Array[String],
images: ::Array[String],
name: String,
sku: String?,
tags: ::Array[String],
target_audience: ::Array[String],
billing_frequency: ContextDev::Models::AIExtractProductResponse::Product::billing_frequency?,
Expand Down
5 changes: 5 additions & 0 deletions sig/context_dev/models/ai_extract_products_response.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module ContextDev
features: ::Array[String],
images: ::Array[String],
name: String,
sku: String?,
tags: ::Array[String],
target_audience: ::Array[String],
billing_frequency: ContextDev::Models::AIExtractProductsResponse::Product::billing_frequency?,
Expand All @@ -46,6 +47,8 @@ module ContextDev

attr_accessor name: String

attr_accessor sku: String?

attr_accessor tags: ::Array[String]

attr_accessor target_audience: ::Array[String]
Expand All @@ -69,6 +72,7 @@ module ContextDev
features: ::Array[String],
images: ::Array[String],
name: String,
sku: String?,
tags: ::Array[String],
target_audience: ::Array[String],
?billing_frequency: ContextDev::Models::AIExtractProductsResponse::Product::billing_frequency?,
Expand All @@ -85,6 +89,7 @@ module ContextDev
features: ::Array[String],
images: ::Array[String],
name: String,
sku: String?,
tags: ::Array[String],
target_audience: ::Array[String],
billing_frequency: ContextDev::Models::AIExtractProductsResponse::Product::billing_frequency?,
Expand Down
Loading