Skip to content

Improved works model and added diff support

Choose a tag to compare

@rsdoiel rsdoiel released this 29 Mar 19:47
· 57 commits to main since this release

This release sees an internal change in how the works model is validate. Previous versions use a Go map[string]interface{} for working with the retreived "works" object. This release uses a series of structs to model the "works" object. Additionally new methods have been provided to detect if two "works" objects hold the same content (works.IsSame()), to display the elements that are changed (works.Changes()) and provide differs between the two obejcts (works.Diff() and works.DiffAsJSON()).

Full Changelog: v1.0.0...v1.0.1

The -m option was dropped in the cli. The -h option displays list of options and -help displays the contents of a man page suitable for transforming into a man page with Pandoc.