Skip to content

Upgrade to Arc 21 #74

Description

@einari

AuthProxy is on Cratis.Arc.Core 20.69.3. The current line is 21.0.4.

Arc 21 is a major release with three breaking changes. AuthProxy has no frontend and no Chronicle dependency, so only the third is likely to touch anything here.

Breaking changes in Arc 21

  1. DateOnly and TimeOnly generate as the @cratis/fundamentals types instead of Date. A calendar date parsed as a Date renders a day early anywhere west of UTC. Requires @cratis/fundamentals 7.17.0 or newer. No frontend here, so not applicable.
  2. A validator message declared as a factory is no longer resolved at generation time and baked into the generated client validator — a factory can depend on state that does not exist then, which made the baked result one arbitrary evaluation. The rule still mirrors; the message is left to the server.
  3. ShouldHaveValidationErrors no longer passes when the only thing that rejected the command was a dependency the pipeline could not resolve. This previously let a specification report success against a pipeline that never ran, so any spec relying on that will now fail — correctly.

Also worth picking up

Arc releases up to 21.0.2 depended on a build of SharpCompress that is published but unlisted, which NuGet ordered above the listed line. Anything depending on both Arc and Chronicle failed to restore with NU1605. Fixed in 21.0.3; no action needed beyond taking a current version.

Suggested move

Cratis.Arc.Core 20.69.3 → 21.0.4, then build and run the specs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions