Features
Extend nib API to allow reuse of underlying writer — #21 ⇄ #22 (⊶ 2dac339)
↠ To allow to reuse the underlying io.Writer the new Writer() io.Writer
method has been added to the nib.Nib
interface.
Both implementations the pencil
and inkpen
package have been adapted to this change.
Update to tmpl-go
template repository version 0.5.0 — #25 ⇄ #26 (⊶ 15285fb)
↠ Updated to tmpl-go
version 0.5.0 (including version 0.4.0) that…
- …introduces the initial project documentation.
- …updates golangci-lint to the currently latest version 1.32.0 which introduces new linters like errorlint., tparallel. and wrapcheck.
- …updates to
tmpl
version 0.7.0 (#25 #34).
This includes…- …a new configuration file for automated dependency updates and security alerts with Dependabot. Next to update configurations for the CI/CD GitHub action workflow and Yarn/NPM dependencies, the file has been extended to support Go modules.
- …updates to the latest Node.js package dependency & GitHub Action versions.
- …a change of the NPM package name to use a namespace which helps to prevent collisions with already existing NPM packages like tmpl.
Improvement
Removed pencil.NewFrom(*pencil.Options)
function — #23 ⇄ #24 (⊶ 175478e)
↠ The pencil.NewFrom(*pencil.Options)
function was not necessary because…
- …there is currently no way to get the actual options from a
pencil
instance. - …new
pencil
instances with different options can be simply composed by using the variadic parameter of thepencil.New(pencil.Option...)
function.
Therefore the pencil.NewFrom(*pencil.Options)
has been removed to simply the package surface.
Updated to latest Go module dependency versions — #28
↠ Bumped outdated Go module dependencies to their latest versions:
- #28 (⊶ 7665319)
github.com/fatih/color
from 1.9.0 to 1.10.0 — upgrades thegithub.com/mattn/go-colorable
andgithub.com/mattn/go-isatty
dependencies which include various bug fixes and improvements.
The full changelog is available here