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
The table of contents is too big for display.
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.3.0"
".": "2.0.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 25
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-021b48afe1d6e3f54c4ebe3d0da4beb3fb8b69a6d384a4aeadbc5bab7f967603.yml
openapi_spec_hash: 2aa5b59d78c708b094acf29cc0d9a68a
config_hash: c7b0cdaba3b9797b77efd89e1754d803
configured_endpoints: 29
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-7dbd739a81e6aaf7fc7ef1858606e7d572d309af55082a66431d9292e655e66f.yml
openapi_spec_hash: a6374d5d718a7bd9d3d54fb657e2bd9d
config_hash: ff35e224e809656528c44163aa41bebd
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## 2.0.0 (2026-07-06)

Full Changelog: [v1.3.0...v2.0.0](https://github.com/context-dot-dev/context-php-sdk/compare/v1.3.0...v2.0.0)

### Features

* **api:** api update ([a109b94](https://github.com/context-dot-dev/context-php-sdk/commit/a109b94c372f554a6f9d6c669dd01fc3afe37c85))
* **api:** api update ([fc46359](https://github.com/context-dot-dev/context-php-sdk/commit/fc4635910c2035f4edffb817e4a7259b82e1c39c))
* **api:** api update ([b6570c0](https://github.com/context-dot-dev/context-php-sdk/commit/b6570c0cad69d665d2cce99f57c2b85fb6ff408e))
* **api:** api update ([61d8ed4](https://github.com/context-dot-dev/context-php-sdk/commit/61d8ed4cb6be1d1c2caad265f97987b5e93f620d))
* **api:** api update ([16b3c1e](https://github.com/context-dot-dev/context-php-sdk/commit/16b3c1efb31c9d1da12ab3a2a5e65f4bfcd74247))
* **api:** api update ([b96c262](https://github.com/context-dot-dev/context-php-sdk/commit/b96c26218eb833e9227dee9551ee9eb2b94b9abd))
* **api:** api update ([4589097](https://github.com/context-dot-dev/context-php-sdk/commit/45890973be2637f7e69fb82cc5b5e52840420ca1))
* **api:** api update ([b635a05](https://github.com/context-dot-dev/context-php-sdk/commit/b635a0588edc056550fbf1ddce2a239f4b4b29b2))
* **api:** api update ([f7a3ee5](https://github.com/context-dot-dev/context-php-sdk/commit/f7a3ee5f797c5bd286293a69db0b50cd402d56fe))
* **api:** manual updates ([33c37e5](https://github.com/context-dot-dev/context-php-sdk/commit/33c37e56e87ef187161361879db3cc25c12e663e))
* **api:** manual updates ([d3c55dc](https://github.com/context-dot-dev/context-php-sdk/commit/d3c55dc909d9431595788c4e140a608e7cea5c5d))
* **api:** manual updates ([d1b85dd](https://github.com/context-dot-dev/context-php-sdk/commit/d1b85ddef694ea143f27b352a9bca54f77b07512))

## 1.3.0 (2026-06-27)

Full Changelog: [v1.2.0...v1.3.0](https://github.com/context-dot-dev/context-php-sdk/compare/v1.2.0...v1.3.0)
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The REST API documentation can be found on [docs.context.dev](https://docs.conte
<!-- x-release-please-start-version -->

```
composer require "context-dev/context-dev-php 1.3.0"
composer require "context-dev/context-dev-php 2.0.0"
```

<!-- x-release-please-end -->
Expand All @@ -30,7 +30,7 @@ use ContextDev\Client;

$client = new Client(apiKey: getenv('CONTEXT_DEV_API_KEY') ?: 'My API Key');

$brand = $client->brand->retrieve(domain: 'REPLACE_ME');
$brand = $client->brand->retrieve(domain: 'REPLACE_ME', type: 'by_domain');

var_dump($brand->brand);
```
Expand All @@ -54,7 +54,7 @@ use ContextDev\Core\Exceptions\RateLimitException;
use ContextDev\Core\Exceptions\APIStatusException;

try {
$brand = $client->brand->retrieve(domain: 'REPLACE_ME');
$brand = $client->brand->retrieve(domain: 'REPLACE_ME', type: 'by_domain');
} catch (APIConnectionException $e) {
echo "The server could not be reached", PHP_EOL;
var_dump($e->getPrevious());
Expand Down Expand Up @@ -100,7 +100,7 @@ $client = new Client(requestOptions: ['maxRetries' => 0]);

// Or, configure per-request:
$result = $client->brand->retrieve(
domain: 'REPLACE_ME', requestOptions: ['maxRetries' => 5]
domain: 'REPLACE_ME', type: 'by_domain', requestOptions: ['maxRetries' => 5]
);
```

Expand All @@ -119,6 +119,7 @@ Note: the `extra*` parameters of the same name overrides the documented paramete

$brand = $client->brand->retrieve(
domain: 'REPLACE_ME',
type: 'by_domain',
requestOptions: [
'extraQueryParams' => ['my_query_parameter' => 'value'],
'extraBodyParams' => ['my_body_parameter' => 'value'],
Expand Down
153 changes: 0 additions & 153 deletions src/AI/AIAIQueryParams.php

This file was deleted.

Loading
Loading