chore: update versions (beta) - #897
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
effect-app@4.0.0-beta.326
Minor Changes
2ebf8ae:
jitMruns at the store boundary as JSON → JSON, before thetoCodecJson(toEncoded(schema))decode; repositories decode the Encoded shape only.jitMused to be applied by the repository after the store had already decoded the document, and was typed(pm: Encoded) => Encoded- a lie, since jitMs are written against the stored JSON andEncodedholds nativeDate/Map/Setvalues.The read pipeline is now: raw JSON document → merge
defaultValues(unchanged: they only fill absent keys, so an explicitly storednullreachesjitM) →jitM(JSON → JSON) → decodeSchema.toCodecJson(Schema.toEncoded(schema))→ Encoded. The repository then decodes Encoded → the domain type withschemaand no longer appliesjitMat all. BecausejitMnow runs before any schema decode sees the document, it can repair legacy shapes including explicitnulls.StoreConfig.jitM?: (json: JsonRecord) => JsonRecordis new, whereJsonRecord(exported fromeffect-app/Store) is{ readonly [key: string]: Schema.Json }. It is not applied on the write/encode path, and never receives_etag.RepositoryOptions.jitMchanges type from(pm: Encoded) => Encodedto(json: JsonRecord) => JsonRecordand is forwarded into the store config.Datefield arrives as an ISO string (return a string, not aDate), aReadonlySetas an array, aReadonlyMapas an array of[key, value]pairs. Field access is index-signature based (json["x"]) rather than typed property access.jitMdoes not repair fails at the store boundary instead of being read back half-decoded.ValidationError.jitMResultis deprecated:validateSampleonly ever sees the store's output, so it is identical torawData.@effect-app/infra@4.0.0-beta.326
Minor Changes
2ebf8ae:
jitMruns at the store boundary as JSON → JSON, before thetoCodecJson(toEncoded(schema))decode; repositories decode the Encoded shape only.jitMused to be applied by the repository after the store had already decoded the document, and was typed(pm: Encoded) => Encoded- a lie, since jitMs are written against the stored JSON andEncodedholds nativeDate/Map/Setvalues.The read pipeline is now: raw JSON document → merge
defaultValues(unchanged: they only fill absent keys, so an explicitly storednullreachesjitM) →jitM(JSON → JSON) → decodeSchema.toCodecJson(Schema.toEncoded(schema))→ Encoded. The repository then decodes Encoded → the domain type withschemaand no longer appliesjitMat all. BecausejitMnow runs before any schema decode sees the document, it can repair legacy shapes including explicitnulls.StoreConfig.jitM?: (json: JsonRecord) => JsonRecordis new, whereJsonRecord(exported fromeffect-app/Store) is{ readonly [key: string]: Schema.Json }. It is not applied on the write/encode path, and never receives_etag.RepositoryOptions.jitMchanges type from(pm: Encoded) => Encodedto(json: JsonRecord) => JsonRecordand is forwarded into the store config.Datefield arrives as an ISO string (return a string, not aDate), aReadonlySetas an array, aReadonlyMapas an array of[key, value]pairs. Field access is index-signature based (json["x"]) rather than typed property access.jitMdoes not repair fails at the store boundary instead of being read back half-decoded.ValidationError.jitMResultis deprecated:validateSampleonly ever sees the store's output, so it is identical torawData.Patch Changes
@effect-app/vue@4.0.0-beta.326
Patch Changes
@effect-app/vue-components@4.0.0-beta.326
Patch Changes
@effect-app/e2e@4.0.0-beta.326
Patch Changes
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.