Releases: alumbra/alumbra.spec
Spec Namespace (v0.1.11)
Breaking Changes
Switches to the now-correct namespaces for Clojure spec (clojure.spec.alpha.*
). Thanks to @r0man!
Artifact Coordinates
[alumbra/spec "0.1.11"]
Canonical Operation Object Fields (v0.1.10)
Breaking Changes
None.
Features
Adds :type-name
to a canonical operation object field spec.
Artifact Coordinates
[alumbra/spec "0.1.10"]
Argument Default Values (v0.1.9)
Breaking Changes
None.
Bugfixes
- default values in the analyzed schema should have the same format as directive argument values.
Artifact Coordinates
[alumbra/spec "0.1.9"]
[BROKEN] (v0.1.8)
This release is broken. Do not use!
Argument Default Values
Breaking Changes
- renames field
:alumbra/argument-default-value
in schema spec to:alumbra/default-value
.
Features
- add
:alumbra/default-value
to analyzed schema's::argument
spec.
Artifact Coordinates
[alumbra/spec "0.1.7"]
Operation Name & Variable Scope (v0.1.5)
Changes
- Make
:alumbra/operation-name
nilable and a required key nearly everywhere it appears. - Split the
:variable/exists
validation error into:variable/name-in-operation-scope
and:variable/name-in-fragment-scope
. - Provide the given
:alumbra/value
in the:variable/default-value-correct
validation error.
Artifact Coordinates
[alumbra/spec "0.1.5"]
Expected Type in Validation Error (v0.1.4)
This adds the expected type (an :alumbra/type-description
) to the validation error map. Additionally, :value/type-nullable
is removed since it can be expressed using :value/type-correct
.
Artifact Coordinates
[alumbra/spec "0.1.4"]
Type Validation Errors (v0.1.3)
This release adjusts the validation error format for failed type checks. It removes :argument/type-correct
and :variable/type-correct
in favour of:
:value/type-nullable
:value/type-correct
Additionally, type descriptions are now exposed as :alumbra/type-description
.
Artifact Coordiantes
[alumbra/spec "0.1.3"]
Variable Validation Errors (v0.1.2)
This release adjusts the following validation errors:
:variable/input-type
:variable/name-unique
:variable/default-value-correct
:variable/exists
:variable/must-be-used
:variable/type-correct
Specifically, :operation-name
is no longer optional.
Artifact Coordinates
[alumbra/spec "0.1.2"]
Changes to Canonical Operation (v0.1.1)
Breaking Changes
- canonical operation
::block
maps are allowed to not have a type condition (since there can be directive-only blocks), - canonical operation arguments should reside on
::field
, not::field-spec
.
Artifact Coordinates
[alumbra/spec "0.1.1"]