Skip to content

Releases: hofstadter-io/hof

v0.6.5-rc.1

02 Aug 17:11
Compare
Choose a tag to compare

Changelog

  • 96a1efb hof/dep: update hofmod-cli to v0.7.9 for version & autocomplete improvements
  • 8ec3b93 hof/fmt: add --data flag to control formatting
  • 4cbd2fa hof/fmt: disable formatting data until we find a better solution which does not reorder fields
  • 6a11c58 hof/fmt: fix cue formatting
  • ab89728 hof/fmt: improve autocompletion
  • b8bf6c5 hof/fmt: simplify autocomplete
  • eef2383 hof/gen+fmt: fix various bugs, set formatting to false when docker not present, start wiring up formatter config from gens down
  • e3b9227 hof/gen: add back add/inc helpers, add fmt to help msg
  • b537bca hof/gen: fix more filepath issues
  • 0abdaf5 hof/gen: forgot to save file and put logs behind verbosity
  • 1fe52f6 hof/gen: remove extra go specific fmt call without check
  • 1503e60 hof/rel: update go version tag
  • 6d468a7 improve autocomplete more, implemented in hofmod-cli

v0.6.5-beta.4

31 Jul 05:09
Compare
Choose a tag to compare

Changelog

  • 2a3fb9e Merge branch '_dev' of github.com:hofstadter-io/hof into _dev
  • f001c67 hof/fmt: fix missing v bug
  • 2f5ea0b hof/fmt: fix python error response, cleanup error path
  • 95e0760 hof/fmt: fix response on error in prettier formatter
  • 0760a8a update changelog

v0.6.5-beta.3

31 Jul 03:58
Compare
Choose a tag to compare

Changelog

  • 75e86cd hof/fmt: fix missing v bug

v0.6.5-beta.2

31 Jul 03:48
Compare
Choose a tag to compare

Changelog

  • de602b1 hof/ci: update makefiles for hof/fmt image pushing
  • 00a2c44 hof/fmt: implement pull, improve dx with more automation

v0.6.5-beta.1

31 Jul 03:08
Compare
Choose a tag to compare

Changelog

  • 4638851 hof/cli: remove tests, reduce sums, skip adhoc if no -T flag
  • 23ba176 hof/deps: update hofmod-cli v0.7.8
  • 1e3678f hof/fmt: create first formatter containers
  • a94e0af hof/fmt: enable more default prettier formatters
  • 1f5108f hof/fmt: hook commands to lib
  • 66d4fdd hof/fmt: more dockerCli work and formatter lifecycle
  • 275d8c1 hof/fmt: more upgrades, formats, and now cli usage
  • 6ac9bc9 hof/fmt: remove list command, implement info cmd and basic docker client getting
  • 52505f8 hof/fmt: self-gen cli code
  • a9fc097 hof/gen: fix watch filepath issue... smh, cleanup, prep for formatter
  • 49df1ea hof/gen: prototype hof/fmt integration
  • cc7248e hof/gen: refactor filepaths and shadow dir again to support more cases and reduce number of .hof dirs
  • 6908a2c update notes & some versions, change some helpers

v0.6.4

23 Jul 21:27
Compare
Choose a tag to compare

v0.6.3...v0.6.4

Bugfix and cleanup

  • The and template helper was custom, wrong, and needed to be removed. This is the primary reason for the release.
  • Removed many template helpers which overrode or duplicated Go's, or did not make sense or seemed unusual.
  • Add newline when writing generator outputs, ending on a curly brace seemed odd.
  • Update almost all deps, remove some others, need Go 1.17 to go out of fasion before rest can be... generics and breaking changes in deps...

Commits:

  • 8b3fa3a deps: remove ghodss/yaml
  • a5a9c2a deps: update most
  • a09a330 hof/gen: add newline when writing generator output, self-regen after this change
  • 16ae036 hof/gen: clean up the template helpers, removing many which were overriding or duplicating Go's
  • 024bb21 hof/gen: fixup render tests
  • b5ded47 words: update changelog & notes

v0.6.3

18 Jul 05:11
Compare
Choose a tag to compare

v0.6.2...v0.6.3

hof gen adhoc mode

Adds flags to hof gen to support adhoc code gen,
so you do not need to setup a generator to use.

  • --template/-T flag to specify templates, input data, schemas, and output files
  • --partial/-P flag to support adhoc partial templates
  • --watch/-w flag to suport watching globs and regenerating (also works for generators)
  • --as-module flag turns your other flags into a reusable and sharable generator module
  • --init flag bootstraps a new modular generator in the current directory

The -T flag has a flexible format so you can
supply multiple templates and control the data.
It lets you specify the mapping from template
to input & schema, to output filepath.

hof gen data.cue -T template.txt
hof gen data.yaml schema.cue -T template.txt > output.txt

See the following to learn more

Other

  • added dict to template helpers to create maps, useful for passing more than one arg to a partial template
  • added pascal template helper for string casing
  • load data with CUE code, more inline with cue
  • (bug) remove some shell completetion hacks
  • more tests, bugfixes, and dep updates
  • some small changes to the datamodel schema, namely attribute change to prep for enhancemnts

v0.6.3-rc.6

14 Jul 18:42
Compare
Choose a tag to compare

Changelog

  • fa185ac hof/gen: finish rename from old watch flag suffixes to new ones
  • 076b8d7 hof/gen: update command short help
  • 6817395 hof/templates: add Pascal to template helpers
  • c73652a ocd, one too many spaces

v0.6.3-rc.5

12 Jul 05:44
Compare
Choose a tag to compare

Changelog

  • 44a8f9e add some ignore files
  • 315685c add some notes
  • d05a1ad cleanup hof design files, remove old config related stuff
  • 1cc06b0 hof/gen: add generator globs to xcue watching
  • b9e5cc7 hof/gen: another bug fix, rename watch flags to make easier to understand
  • bfa3516 hof/gen: filepath clean static files trim-prefix
  • 910513f hof/gen: fix more bugs discovered while making demo
  • 0c8919d hof/gen: more shadow & filepath bugfixes
  • d364816 remove old files
  • cf71efe scaffold the word, not skaffold the project

v0.6.3-rc.4

11 Jul 02:26
Compare
Choose a tag to compare

Changelog

  • e47d569 changelog/0.6.3: add --init flag
  • 913836b hof/gen: add --init flag to boostrap gen, make --verbosity consistent
  • bd27d51 hof/gen: cleanup --init
  • 0147bae hof/gen: more fixes to shadow dir, post --outdir flag
  • cafa850 hof/gen: more fixes to shadow post --outdir
  • cbe87a9 hof/gen: re-enable cue.mod/module.cue generation
  • 9ee121d hof/gen: start --outdir flag
  • ea007d3 hof/gen: support module name like value to --as-module
  • 510edee hof/gen: swap ; for = to indicate output, docs cleanup tied to that
  • 370e2df hof/gen: try to get outdir support with shadow
  • d292cbf hof/gen: wordsmith final message
  • 6c59821 regen hof, fix filepath bug discovered therein
  • e7e9f61 update notes