Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Nov 12, 2024

SDK update

Versioning

Version Bump Type: [prerelease] - 🤖 (automated)

PHP CHANGELOG

constsAndDefaults: 0.2.0 - 2024-10-03

🐝 New Features

  • add support for const and default values. Beware argument ordering changes. (commit by @idbentley)

core: 3.9.5 - 2025-11-24

🐝 New Features

  • union discriminators are inferred for oneOfs missing the explicit OpenAPI discriminator mapping. Configure via inferUnionDiscriminators: true in gen.yaml (commit by @mfbx9da4)

core: 3.9.3 - 2025-11-11

🐛 Bug Fixes

  • Add class-string PHPDoc annotations to fix PHPStan type errors in PathParameters and QueryParameters (commit by @bradcypert)

core: 3.9.4 - 2025-11-10

🐛 Bug Fixes

  • handle application/* encoding in multipart forms (commit by @danielkov)

core: 3.9.6 - 2025-11-06

🐛 Bug Fixes

  • multi-part arrays now serialized according to RFC7578 (commit by @danielkov)

core: 3.9.2 - 2025-11-05

🐝 New Features

  • support body field name configuration via requestBodyFieldName in gen.yaml (commit by @subomi)

core: 3.9.1 - 2025-10-30

🐛 Bug Fixes

  • make security scheme resolution case-insensitive (commit by @vishalg0wda)

core: 3.9.0 - 2025-10-13

🐝 New Features

  • add config option for deep merging allOf nodes in OpenAPI specs (commit by @BlakeTheAwesome)

core: 3.8.11 - 2025-09-23

🐛 Bug Fixes

  • allow input/output models without suffixes (commit by @disintegrator)

core: 3.8.10 - 2025-09-02

🐛 Bug Fixes

  • enabled empty strings to be used as end cursor values in pagination (commit by @GorshkovIvan)

core: 3.8.9 - 2025-07-25

🔧 Chores

core: 3.8.8 - 2025-07-24

🐛 Bug Fixes

  • Remove memory limit while running pint command (commit by @bflad)

core: 3.8.7 - 2025-07-24

🐛 Bug Fixes

  • update PHP dependency version constraints to be more flexible (commit by @AshGodfrey)

core: 3.8.6 - 2025-06-06

🐛 Bug Fixes

core: 3.8.5 - 2025-05-07

🐛 Bug Fixes

  • fixed stability of generated examples using operation and field seeds, including fixes to union examples (commit by @tristanspeakeasy)

core: 3.8.4 - 2025-04-11

🐛 Bug Fixes

  • increase stability of generator model file names (commit by @vishalg0wda)

core: 3.8.3 - 2025-04-03

🐛 Bug Fixes

  • improve performance of generation on multicore machines and various fixes to correctness based on order of generation (commit by @tristanspeakeasy)

core: 3.8.2 - 2025-03-31

🐛 Bug Fixes

  • Upgrade laravel/pint to reduce issues with PHP 8.3 and later (commit by @bflad)

core: 3.8.1 - 2025-03-13

🐛 Bug Fixes

  • support serialization of enums in arrays in unions (commit by @idbentley)

core: 3.8.0 - 2025-03-05

🐝 New Features

  • bump serializer dependency (commit by @idbentley)

core: 3.7.15 - 2025-02-20

🐛 Bug Fixes

  • match wildcard contentTypes (commit by @walker-tx)

core: 3.7.14 - 2025-02-18

🐛 Bug Fixes

  • improve query and path param encoding of dates and enums. (commit by @idbentley)

core: 3.7.13 - 2025-01-30

🐛 Bug Fixes

  • fixed handling of default fields in usage snippets and tests, fixed validation of required schema property (commit by @tristanspeakeasy)

core: 3.7.12 - 2025-01-28

🐛 Bug Fixes

  • support default status code response handling (commit by @idbentley)

core: 3.7.11 - 2025-01-27

🐛 Bug Fixes

  • sort subresponses based on the worst scoring response in the group to ensure that no unreachable code paths are created (commit by @idbentley)

core: 3.7.10 - 2025-01-23

🐛 Bug Fixes

  • increase testbench minimum version to get past insecure older laravel version (commit by @idbentley)

core: 3.7.9 - 2025-01-13

🐛 Bug Fixes

  • handle 4XX and 5XX error ranges seperately (commit by @idbentley)

core: 3.7.8 - 2025-01-03

🔧 Chores

  • bump phpstan from 1.x to 2.1.0 for list type, better performance, and PHP 8.4 feature support (commit by @idbentley)

core: 3.7.7 - 2024-12-16

🐛 Bug Fixes

  • flattening with hidden parameters (commit by @mfbx9da4)

core: 3.7.6 - 2024-12-13

🐛 Bug Fixes

  • Support OAS references under multipart/form-data file properties (commit by @bflad)

core: 3.7.5 - 2024-12-13

🐛 Bug Fixes

  • pagination bugs missing import and use directive (commit by @idbentley)

core: 3.7.4 - 2024-12-06

🐛 Bug Fixes

  • support property names solely comprised of illegal characters (commit by @mfbx9da4)

core: 3.7.3 - 2024-11-22

🐛 Bug Fixes

  • handle circular references through unions correctly (commit by @disintegrator)

core: 3.7.2 - 2024-11-12

🐛 Bug Fixes

core: 3.7.1 - 2024-10-31

🐛 Bug Fixes

  • Prevent panic with invalid implicit discriminator mappings with propertyName within allOf object (commit by @bflad)

core: 3.7.0 - 2024-10-23

🐝 New Features

  • retire jms serializer and switch to speakeasy serializer (commit by @idbentley)

core: 3.6.0 - 2024-10-16

🐝 New Features

  • add config to allow you to specify an env variable prefix (commit by @idbentley)

core: 3.4.9 - 2024-09-27

🐛 Bug Fixes

  • update readme formatting (commit by @adaam2)

core: 3.4.8 - 2024-09-26

🐛 Bug Fixes

  • update readme generation to replace welcome to new sdk section with new markdown notice (commit by @adaam2)

core: 3.5.0 - 2024-09-25

🐝 New Features

  • add config to allow you to generate a laravel provider if you so desire (commit by @idbentley)

core: 3.4.7 - 2024-09-25

🔧 Chores

core: 3.4.6 - 2024-09-25

🔧 Chores

  • improve usage snippet generation (commit by @idbentley)

core: 3.4.5 - 2024-09-25

🐛 Bug Fixes

  • fixes to missing examples and improvements to number examples (commit by @tristanspeakeasy)

core: 3.4.4 - 2024-09-18

🐛 Bug Fixes

core: 3.4.3 - 2024-09-11

🔧 Chores

core: 3.4.2 - 2024-09-10

🔧 Chores

core: 3.4.1 - 2024-09-05

🐛 Bug Fixes

  • ensure generated examples are stable generation to generation (commit by @tristanspeakeasy)

core: 3.3.14 - 2024-08-27

🐛 Bug Fixes

  • use speakeasy/serializer package (commit by @idbentley)

core: 3.3.13 - 2024-08-26

🐛 Bug Fixes

  • update to use new upstream changes (commit by @idbentley)

core: 3.3.11 - 2024-08-13

🐛 Bug Fixes

core: 3.3.10 - 2024-07-23

🐛 Bug Fixes

  • avoid injecting empty 2xx sub-response if default status code is available and considered succesful (commit by @disintegrator)

core: 3.3.9 - 2024-07-23

🐛 Bug Fixes

  • fixed usage snippet generation not showing examples for oneOf/anyOf schemas (commit by @tristanspeakeasy)

core: 3.3.8 - 2024-07-16

🔧 Chores

core: 3.3.7 - 2024-07-09

🐛 Bug Fixes

  • Use 0666 file mode for writing configuration and lock files (commit by @bflad)

core: 3.3.6 - 2024-06-21

🔧 Chores

globalSecurity: 2.81.9 - 2025-09-10

🔧 Chores

  • support opting out of operation security hoisting (commit by @vishalg0wda)

globalSecurity: 2.81.8 - 2025-02-06

🐛 Bug Fixes

  • fixes to handling of security at both global and operation level especially for oauth2 (commit by @tristanspeakeasy)

globalSecurity: 2.81.7 - 2024-08-05

🐛 Bug Fixes

  • fixed rendering of usage snippets when required security is used with env vars (commit by @tristanspeakeasy)

globalSecurityFlattening: 0.1.2 - 2025-02-04

🐛 Bug Fixes

  • setSecuritySource when setting security while flattened. (commit by @idbentley)

globalSecurityFlattening: 0.1.1 - 2024-09-11

🐛 Bug Fixes

  • flattened security usage snippets (commit by @idbentley)

globalServerURLs: 2.83.0 - 2025-10-22

🐝 New Features

  • Allow server selection to appear in all code samples (commit by @BlakeTheAwesome)

globalServerURLs: 2.82.2 - 2025-05-09

🐛 Bug Fixes

globals: 2.82.2 - 2024-08-20

🐛 Bug Fixes

  • handle empty global parameters array (commit by @2ynn)

methodArguments: 0.1.0 - 2024-10-07

🐝 New Features

  • add support for method arguments configuration. (commit by @idbentley)

nullables: 1.0.1 - 2025-02-17

🐛 Bug Fixes

  • represent maps/arrays that can contain null (commit by @disintegrator)

unions: 0.1.5 - 2025-06-16

🐛 Bug Fixes

  • handle union deserialization edge cases (commit by @idbentley)

Based on Speakeasy CLI 1.665.0


Note

Cursor Bugbot is generating a summary for commit 56b71d1. Configure here.

@github-actions github-actions bot requested a review from a team as a code owner November 12, 2024 18:08
@github-actions github-actions bot added the prerelease Bump by a prerelease version label Nov 12, 2024
Base automatically changed from CET-343-php-update-and-publish-sdk-once-the-generator-is-ga to main November 12, 2024 18:13
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 3f11432 to 8f1f070 Compare November 12, 2024 18:15
@rkeur7 rkeur7 closed this Nov 13, 2024
@rkeur7 rkeur7 reopened this Nov 13, 2024
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch 2 times, most recently from ae67d6c to 3203f2f Compare November 25, 2024 00:31
rkeur7
rkeur7 previously approved these changes Nov 25, 2024
@rkeur7 rkeur7 closed this Nov 25, 2024
@rkeur7 rkeur7 reopened this Nov 25, 2024
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 3203f2f to e58d8d8 Compare November 26, 2024 16:01
rkeur7
rkeur7 previously approved these changes Nov 26, 2024
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from e58d8d8 to 517b534 Compare December 2, 2024 00:32
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 517b534 to c02df8c Compare December 9, 2024 00:32
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch 2 times, most recently from 53c9e35 to e4f72ee Compare December 23, 2024 00:30
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from e4f72ee to faf0ea2 Compare December 30, 2024 00:30
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from faf0ea2 to f5aca3e Compare January 6, 2025 00:30
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch 2 times, most recently from f868ef7 to 79b2a62 Compare January 20, 2025 00:29
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 79b2a62 to 2387f38 Compare January 27, 2025 00:29
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 2387f38 to b6aec71 Compare February 3, 2025 00:29
@rkeur7 rkeur7 closed this Feb 4, 2025
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from c76cf38 to 84d814a Compare July 7, 2025 00:36
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 84d814a to 8a02314 Compare July 14, 2025 00:37
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 8a02314 to 217c8d4 Compare July 21, 2025 00:38
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 217c8d4 to ee28013 Compare July 28, 2025 00:38
cursor[bot]

This comment was marked as outdated.

@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from ee28013 to c718b73 Compare August 4, 2025 00:39
cursor[bot]

This comment was marked as outdated.

@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch 2 times, most recently from 4dd8648 to 5f260c4 Compare August 18, 2025 00:37
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 5f260c4 to d364968 Compare August 25, 2025 00:34
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch 2 times, most recently from 8fbf450 to 25fd475 Compare September 8, 2025 00:33
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 25fd475 to 650ae30 Compare September 15, 2025 00:33
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch 2 times, most recently from 49910d0 to 9be79a5 Compare September 29, 2025 00:32
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 9be79a5 to 249b04e Compare October 6, 2025 00:32
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 249b04e to 59568a1 Compare October 13, 2025 00:34
cursor[bot]

This comment was marked as outdated.

@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 59568a1 to b9a0cb6 Compare October 20, 2025 00:34
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from b9a0cb6 to 90e9cde Compare October 27, 2025 00:35
cursor[bot]

This comment was marked as outdated.

@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 90e9cde to ba1ad78 Compare November 3, 2025 00:35
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from ba1ad78 to f8db9cc Compare November 10, 2025 00:35
/**
* @param SDKConfiguration $sdkConfig
*/
public function __construct(SDKConfiguration $sdkConfig)
public function __construct(public SDKConfiguration $sdkConfig)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Property Promotion Creates Double Trouble

Constructor uses property promotion with public SDKConfiguration $sdkConfig which automatically creates a public property, but then redundantly assigns it to the private $sdkConfiguration property. This creates two separate properties ($sdkConfig and $sdkConfiguration) instead of one, causing potential confusion and memory waste. The same property is accessible via two different names, which could lead to inconsistent state if one is modified without updating the other.

Fix in Cursor Fix in Web

@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from f8db9cc to 123b710 Compare November 17, 2025 00:35
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 123b710 to 38e60f4 Compare November 24, 2025 00:36
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731434842 branch from 38e60f4 to 56b71d1 Compare December 1, 2025 00:41
@github-actions github-actions bot closed this Dec 8, 2025
@github-actions github-actions bot deleted the speakeasy-sdk-regen-1731434842 branch December 8, 2025 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

prerelease Bump by a prerelease version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants