Skip to content

v0.49.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@gazerro gazerro released this 02 Sep 09:52
· 234 commits to main since this release

Most relevant commits:

  • cmd/scriggo: support '//go:build' in generated package files
  • cmd/scriggo: make generated packages file as fmt want
  • native: improve 'CombinedPackage.LookupFunc' method documentation
  • scriggo: remove outdated comment on 'BuildOptions.Packages'
  • compiler/checker: rearrange code for checking method expressions
  • compiler/checker: revise type checking of method values
  • compiler/checker: fix error using a package identifier without selector
  • compiler/checker: fix access to unexported method values of interfaces
  • compiler/checker: fix access to unexported method expr. of interfaces
  • compiler/emitter: fix 'delete' when map type is a Scriggo type
  • runtime,scriggo: don't panic if an out error occurs running a template
  • scriggo,scripts: improve documentation of 'Run' method on panic
  • scriggo,scripts: remove 'MustRun' methods
  • script: document '*ExitError' error is returned calling 'exit' built-in
  • compiler: implement 'import for' declaration
  • compiler/emitter: fix invalid behavior with short variable declarations
  • runtime: fix show of a 'markdown' value to HTML context
  • compiler/emitter: fix emission of optimized show macro calls
  • scriggo/cmd: make 'version' subcommand prints Scriggo and Go versions
  • compiler: re-implement extends adding an import and swapping files
  • scriggo/cmd: add 'init' and remove 'build' and 'install' subcommands
  • cmd/scriggo: rename 'scriggo embed' subcommand to 'scriggo import'
  • native: rename 'Package', 'PackageImporter', 'DeclarationsPackage' types