github hofstadter-io/hof v0.6.1

latest releases: v0.6.10, v0.6.10-rc.3, v0.6.10-rc.2...
3 years ago

Changelog

The main focus of this release is to introduce Data Modeling.

  • schema/dm adds an abstract schema for data models
  • hof dm adds commands for working with data models
  • hof will maintain a history of your data model and tell you if it is backwards compatible
Available Commands:
  checkpoint  create a snapshot of the data model
  diff        show the diff between data model version
  history     list the snapshots for a data model
  info        print details for a data model
  list        print available data models
  log         show the history of diffs for a data model

Various small improvements and bug fixes are also included.

  • update to CUE v0.4.1
  • better error propagation and details
  • better concat and join in templates
  • removed unneeded deps

Commits

a6d20a5 Merge pull request #82 from hofstadter-io/prototype-dm
ca52355 add OrderedModels and OrderedFields to schema/dm
9b32b1c add comment
5d48580 add datamodel subsume info
055639c add datamodel under listed commands in help
6bc4c41 add hof/dm/log command for printing diff history; cleanup hof/dm subcmd aliases
db2c8d6 add more flexible concat & join template helpers
47adf1b add versions to datamodels, checkpointing; include test/datamodel history
942d364 clean up some command descriptions
1b683be cue fmt hof.cue
9e76c70 enable datafiles in generators support writing - non-concrete cue - concrete yaml,json,toml,xml improve some errors update test/template
489ea9a hof/dm: checkpoint.part1 and prep by loading dm+history in other commands
869ec75 hof/dm: cleanup commands and output
2176bd2 hof/dm: fix bug where no history would not make first checkpoint
43ebdce implement stepwise diff calc, print via hof/dm/log command
df7d629 improve error propegation in lib/cuetils
4150af5 improve gen stats report
98c7adb improve loading, implement diff, make models a struct/map
2127847 improve more error reporting
0d37fc7 make more fields common, make all public
588479a make sure we are using lib/dotpath rather than old repo one
13d22cd massage hof/dm cmd ux, start building internal dm types and funcs
84bd374 remove conflicting template helper, we might need to add it back under a different name, "or" does not work the same
c0a7225 remove external ref to gh/hof-io/data-utils repo
224c380 remove references to gh/hof-io/hof-lang repo, that is some old stuff
59bfb31 reorder to fix panic when no history exists and entrypoints provided
2606792 revert bug where cue/format replace go/format; we need both
3e5c27a rework hof/dm cmds a bit
9c9b272 rm hof/dm cmd alias
c08d60a schema/* name shortening, more refactor, cuefmt
579bda9 schema/dm: make views and relations optional
6dac12f schema/dm: refactor, minimize base schema, make easier to support a hierarchy and customization
6606f6c update CEU to v0.4.1 with MakeError patch
2c9134c update readme
6d6d23f update readme install instructions

Docker images

  • docker pull hofstadter/hof:v0.6.1-scratch
  • docker pull hofstadter/hof:v0.6-scratch
  • docker pull hofstadter/hof:v0-scratch
  • docker pull hofstadter/hof:latest-scratch
  • docker pull hofstadter/hof:v0.6.1
  • docker pull hofstadter/hof:v0.6
  • docker pull hofstadter/hof:v0
  • docker pull hofstadter/hof:latest
  • docker pull hofstadter/hof:v0.6.1-debian
  • docker pull hofstadter/hof:v0.6-debian
  • docker pull hofstadter/hof:v0-debian
  • docker pull hofstadter/hof:latest-debian

Don't miss a new hof release

NewReleases is sending notifications on new releases.