- Add
#path
which returns a dot-delimited path to the affected schema member. (#15)
- Return a better message when adding a default value, if this one was nil before.
-
AbstractChange#criticality
now returns a criticality object which has a level (non_breaking, dangerous, breaking) and a reason -
Schema::ComparatorResult maintains a list of
#dangerous_changes
-
New Methods: Change.non_breaking? Change.dangerous?
-
New CLI
schema_comparator
which includesdangerous_changes
- Some changes have been recategorized as dangerous
- Some type changes now return breaking or non-breaking depending on the type kind
- Argument and InputValue type changes are considered non breaking if type goes from Null => Non-Null
Added changes:
EnumValueDeprecated
EnumValueDescriptionChanged
Fix issue in Enum differ (xuorig#9)
- Fix no method breaking issue xuorig#8
- Top level Directive definitions are now diffed, but not directives used on definitions (Coming soon)
- Base class for changes added.
breaking
method on change objects has been renamedbreaking?
for style
- Add
#non_breaking_changes
to get a list of non breaking changes from a comparison result. (#4) - CLI now Prints results sorted and grouped by breaking / non-breaking (#3)
- Fix message for
EnumValueRemoved
(#5)