Repository navigation
Prepare 0.4.2: fix pair-list casting and generated types - #10
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In 0.4.1, passing the pair list returned by
Enum.filter/2orEnum.reject/2on a string-keyed map could silently drop source-mapped values. For example, a supplied"phone"value could leavephone_number: nilwhile construction returned{:ok, struct}. This restores source-name mapping and recursive normalization and prepares strukt_fork 0.4.2.Changes
Ecto.CastError; support:invalidas an invalid changeset.:idasinteger()to include accepted negative values.Map.from_struct/1migration guidance. Clarify nested changeset inputs and the existingchangeset/2chaining limitation.Validation
mix test --warnings-as-errors: 201 tests passed on Elixir 1.20.5 / OTP 29.mix format --check-formattedandgit diff --check: passed.mix docs --warnings-as-errors: passed.mix hex.build: passed; package metadata verified asstrukt_fork 0.4.2.9ae8bf3(Elixir 1.17.3/OTP 27, 1.18.4/27, 1.19.5/28, and 1.20.0/28).This PR prepares the release. Tagging and Hex publication follow after merge.