Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 10 Sep 15:46
· 17 commits to v1 since this release
90581ca

Changelog

💥 Breaking Changes

  • d8c6c08: refactor(woof)!: Must(Context)?: let functions return generic T instead of string (@mavolin)

⚡ Features

  • 19f23c7: feat(write): pre-escape mixin args that are of type woof.(HTML(Text|Body|AttrVal)|CSS|JS(AttrVal|Str)?|URL|Srcset) (@mavolin)

🪲 Bug Fixes

  • 57b9c4b: fix(cmd/corgi): fix empty lib errors not being displayed if a single lib is being compiled (@mavolin)
  • a4c7b02: fix(file/fileutil): LibraryDependencies: fix mixin blocks not being properly treated (@mavolin)
  • acc1fd5: fix(link): fix included files not being properly linked (@mavolin)
  • a05e5c4: fix(parse): fix bug that caused non-generic named go types to include spaces at the end, if there were any in the source file (@mavolin)
  • 42328aa: fix(parse): fix if expressions not being allowed multiple lines (@mavolin)
  • 6440f59: fix(validate): fix errors arising from includes being walked (@mavolin)
  • aab8f8c: fix(write): add missing punctuation to Code generated by ... comment (@mavolin)
  • 90581ca: fix(write): fix top-level blocks with code being wrapped in a Go scope (i.e. { }) (@mavolin)
  • f67bc7f: fix(write): rework scope state tracking (@mavolin)

✏ Others

  • 9903155: chore(woof): formatting (@mavolin)
  • a185d57: pref(write): don't start a new scope (i.e. { }) for code if not necessary, i.e. at template root, in condtionals, funcs, etc. (@mavolin)