From f2a0d3925603e5877bf5e628b5e9a6228abb25fe Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 21 Jun 2026 23:48:14 +0000 Subject: [PATCH 1/3] chore: update SDK settings --- .github/workflows/release-doctor.yml | 2 +- .stats.yml | 4 ++-- README.md | 8 ++++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index 966c967..3763063 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -9,7 +9,7 @@ jobs: release_doctor: name: release doctor runs-on: ubuntu-latest - if: github.repository == 'stainless-sdks/context.dev-php' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + if: github.repository == 'context-dot-dev/context-php-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.stats.yml b/.stats.yml index 052ef10..2a9603a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 25 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-e10718ebeb5bc263af75fe2341f7d1e91442f3e64b703bf7d416f8e7f328d2f9.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-af8edc351fec4471435b010cd9b7ccfabf2c2ccef20e6404ad2516a0be212645.yml openapi_spec_hash: ab3a6473e575381cacd245bf54dcf0f7 -config_hash: 48c9231dff85f546e8210338751ccb41 +config_hash: f5846595c44dc42376e820c14465a4c6 diff --git a/README.md b/README.md index 821c95f..52b9cf6 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,14 @@ The REST API documentation can be found on [docs.context.dev](https://docs.conte To use this package, install via Composer by adding the following to your application's `composer.json`: + + ```json { "repositories": [ { "type": "vcs", - "url": "git@github.com:stainless-sdks/context.dev-php.git" + "url": "git@github.com:context-dot-dev/context-php-sdk.git" } ], "require": { @@ -26,6 +28,8 @@ To use this package, install via Composer by adding the following to your applic } ``` + + ## Usage This library uses named parameters to specify optional arguments. @@ -167,4 +171,4 @@ PHP 8.1.0 or higher. ## Contributing -See [the contributing documentation](https://github.com/stainless-sdks/context.dev-php/tree/main/CONTRIBUTING.md). +See [the contributing documentation](https://github.com/context-dot-dev/context-php-sdk/tree/main/CONTRIBUTING.md). From ccdd487df0a216fc3a1aa25d636e14883c9b3331 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 21 Jun 2026 23:53:25 +0000 Subject: [PATCH 2/3] feat(api): manual updates --- .github/workflows/publish-packagist.yml | 21 +++++++++++++++++++++ .stats.yml | 4 ++-- README.md | 16 ++-------------- 3 files changed, 25 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/publish-packagist.yml diff --git a/.github/workflows/publish-packagist.yml b/.github/workflows/publish-packagist.yml new file mode 100644 index 0000000..93526d3 --- /dev/null +++ b/.github/workflows/publish-packagist.yml @@ -0,0 +1,21 @@ +name: Publish Packagist +on: + workflow_dispatch: + + release: + types: [published] + +jobs: + publish: + name: publish + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Publish to Packagist + run: |- + curl --fail-with-body -X POST -H 'Content-Type: application/json' "https://packagist.org/api/update-package?username=${PACKAGIST_USERNAME}&apiToken=${PACKAGIST_SAFE_KEY}" -d '{"repository":"https://github.com/context-dot-dev/context-php-sdk"}' + env: + PACKAGIST_USERNAME: ${{ secrets.CONTEXT_DEV_PACKAGIST_USERNAME || secrets.PACKAGIST_USERNAME }} + PACKAGIST_SAFE_KEY: ${{ secrets.CONTEXT_DEV_PACKAGIST_SAFE_KEY || secrets.PACKAGIST_SAFE_KEY }} \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 2a9603a..bacd568 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 25 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-af8edc351fec4471435b010cd9b7ccfabf2c2ccef20e6404ad2516a0be212645.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-3024c2681b0acf12535d68f39c1b49113330548513a54b276116cd3f2eda182e.yml openapi_spec_hash: ab3a6473e575381cacd245bf54dcf0f7 -config_hash: f5846595c44dc42376e820c14465a4c6 +config_hash: b0f343b2ab3baebad7b0d6d51f0f16fc diff --git a/README.md b/README.md index 52b9cf6..17c1834 100644 --- a/README.md +++ b/README.md @@ -10,22 +10,10 @@ The REST API documentation can be found on [docs.context.dev](https://docs.conte ## Installation -To use this package, install via Composer by adding the following to your application's `composer.json`: - -```json -{ - "repositories": [ - { - "type": "vcs", - "url": "git@github.com:context-dot-dev/context-php-sdk.git" - } - ], - "require": { - "org-placeholder/context-dev": "dev-main" - } -} +``` +composer require "org-placeholder/context-dev 0.0.1" ``` From 0fb63f662900cf0b4e69fc419c8fd5666f73c364 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 21 Jun 2026 23:53:40 +0000 Subject: [PATCH 3/3] release: 1.0.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 15 +++++++++++++++ README.md | 2 +- src/Version.php | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1332969..fea3454 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.1" + ".": "1.0.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b00af26 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,15 @@ +# Changelog + +## 1.0.0 (2026-06-21) + +Full Changelog: [v0.0.1...v1.0.0](https://github.com/context-dot-dev/context-php-sdk/compare/v0.0.1...v1.0.0) + +### Features + +* **api:** manual updates ([ccdd487](https://github.com/context-dot-dev/context-php-sdk/commit/ccdd487df0a216fc3a1aa25d636e14883c9b3331)) + + +### Chores + +* configure new SDK language ([99718fc](https://github.com/context-dot-dev/context-php-sdk/commit/99718fc516e6729428e569fa4bcfa8383ab1e298)) +* update SDK settings ([f2a0d39](https://github.com/context-dot-dev/context-php-sdk/commit/f2a0d3925603e5877bf5e628b5e9a6228abb25fe)) diff --git a/README.md b/README.md index 17c1834..7f97bc0 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The REST API documentation can be found on [docs.context.dev](https://docs.conte ``` -composer require "org-placeholder/context-dev 0.0.1" +composer require "org-placeholder/context-dev 1.0.0" ``` diff --git a/src/Version.php b/src/Version.php index 3d7d9d3..7469c94 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace ContextDev; // x-release-please-start-version -const VERSION = '0.0.1'; +const VERSION = '1.0.0'; // x-release-please-end