github open2b/scriggo v0.52.0

latest releases: v0.61.1, v0.61.0, v0.60.0...
4 years ago

This version breaks the compatibility with previous versions.

Add scriggo command binaries.

Starting from this version, the binaries of the scriggo command are available on GitHub.

Replace env.Exit with env.Stop (breaking change).

This change replaces the Exit method of the native.Env interface
with the Stop method. The Stop method has the same behaviour of
Exit but accepts an error instead of a status code.

The following code:

env.Exit(0)
env.Exit(2)

with this change, can be rewritten as

env.Stop(nil)
env.Stop(scriggo.NewExitError(2, nil))

Add the unsafeconv package as built-in in templates.

Other relevant commits

  • highlighters/highlight.js: update the README
  • scriggo: document 'Run' methods can be called concurrently
  • scriggo, scripts: fix documentation of the Run methods on panics
  • builtin: fix 'ParseTime' and 'Time.Format' documentation
  • scriggo, scripts: fix documentation of 'PanicError' types
  • builtins: revise parameter names and documentation
  • scriggo: document that 'UsedVars' may not return variables in dead code

Don't miss a new scriggo release

NewReleases is sending notifications on new releases.