Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: std-out/simple-data-objects
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: std-out/simple-data-objects
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 70 files changed
  • 1 contributor

Commits on Aug 9, 2026

  1. feat!: add Optional — absent-vs-null PATCH semantics

    Missing key => Optional::missing(), distinct from explicit null. Always omitted from toArray()/definedOnly(); #[InferRules] infers 'sometimes' presence; works on hot path, fromResult(), nested/collection fields, and #[WhenLoaded]. First 2.0.0 change — touches TypeResolver's internal return signature.
    yuriizee committed Aug 9, 2026
    Configuration menu
    Copy the full SHA
    b20320e View commit details
    Browse the repository at this point in the history
  2. feat!: add #[Hidden(except:)] — serialization groups/context

    toArray(context:), toJson(), definedOnly(), toResponse() pick which compiled serializer to render; propagates into nested/collection/flatten fields. Only the default context is persisted to .meta.php; other contexts compile lazily, cached separately so classes that never use context pay nothing. only()/except()/jsonSerialize() stay context-free (variadic-signature and JsonSerializable-interface constraints).
    yuriizee committed Aug 9, 2026
    Configuration menu
    Copy the full SHA
    c03883f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    58dc756 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    42d395b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7b63261 View commit details
    Browse the repository at this point in the history
  6. feat!: add jsonSchema() + TypeScript generation (roadmap 1.8)

    OrderData::jsonSchema() walks existing ClassMeta/ParameterMeta into JSON Schema draft 2020-12 — nested refs/$defs, enums, DataCollection, Flatten, Hidden, Optional, Discriminator oneOf, best-effort Rules mapping, and a ProvidesJsonSchema extension point on casts (implemented on all built-ins). TypeScriptGenerator builds on top for .d.ts generation (bin/sdo-typescript + artisan sdo:typescript)
    yuriizee committed Aug 9, 2026
    Configuration menu
    Copy the full SHA
    d5b2801 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2026

  1. Configuration menu
    Copy the full SHA
    e216905 View commit details
    Browse the repository at this point in the history
Loading