Skip to content

Conversation

@cb-alish
Copy link
Collaborator

@cb-alish cb-alish commented Jan 19, 2026

v4.15.1 (2026-01-19)


Regression Bug Fixes:

  • Fix list fields to accept JSON objects with explicit numeric keys. Reference.

Tests:

  • Added PHPUnit test case coverage workflow on pull request.
  • Added tests suits for JsonParamEncoder.

@snyk-io
Copy link

snyk-io bot commented Jan 19, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@ychedemois
Copy link

@cb-alish thanks for the fix !

The original PR added JSON_FORCE_OBJECT in two places : JsonParamEncoder / URLFormEncoder,
but this PR only modifies one of them,
is that intentional ?

cb-karthikp
cb-karthikp previously approved these changes Jan 20, 2026
@cb-alish
Copy link
Collaborator Author

Hi @ychedemois, I initially thought this wasn’t required for the JsonParamEncoder since it parses the JSON at the top level. However, after you pointed it out, I double-checked and realized I was wrong—this is required for JsonParamEncoder as well. Thanks for raising this. I’ve also added tests to cover this case.

@cb-alish cb-alish merged commit 530fd8a into master Jan 20, 2026
2 checks passed
@cb-alish cb-alish deleted the release/v4.15.1 branch January 20, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants