Skip to content

Commit a7d33c3

Browse files
Update changelogs from fern repo (#5580)
Co-authored-by: dsinghvi <10870189+dsinghvi@users.noreply.github.com>
1 parent 6c355e2 commit a7d33c3

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## 2.66.5
2+
**`(fix):`** Mock-server tests now serialize nullable date-time query and header parameters with millisecond precision so they match what the runtime sends. Previously, when a date-time field was wrapped in a nullable container (e.g. with `respect-nullable-schemas: true` and `coerce-optional-schemas-to-nullable: false`), the generated `WithParam("since", "2024-01-15T09:30:00Z")` omitted milliseconds while the SDK actually sent `2024-01-15T09:30:00.000Z`, causing WireMock to return 404.
3+
4+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## 1.42.1
2+
**`(fix):`** Fix dynamic snippet generation for enum path parameters. Path parameters inlined as
3+
struct fields on a wrapped request now use the enum value directly (e.g.
4+
`Action: prelude.ActionAllow`) instead of `.Ptr()`, which produced a typecheck error
5+
when the struct field is a non-pointer required enum. Path parameters passed as
6+
positional function arguments continue to use `.Ptr()` when the SDK signature takes
7+
a pointer.
8+
9+

0 commit comments

Comments
 (0)