Skip to content

Commit

Permalink
Add a line to the changelog about polymorphic refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
Baccata committed Dec 1, 2022
1 parent 57fa5e5 commit e8533ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,10 @@ See https://github.com/disneystreaming/smithy4s/pull/569

In order to mitigate known security problems, our json parsing logic has hard-limits over the number of elements it will parse from arrays
or maps, resulting in an error when receiving payloads with larger collections. Previously, this limit was hardcoded to 1024 elements per collection. This is now configurable, 1024 being the default.

### Polymorphic refinements

See https://github.com/disneystreaming/smithy4s/pull/649

Refinements applied on list/map shapes can now produce parameterised types. This allows, for instance, to have generic
refinements on `list` shapes that produce `cats.data.NonEmptyList` containing the same types of elements.

0 comments on commit e8533ac

Please sign in to comment.