v0.2.0
Changed
-
The repository for a project must be a http or https URL.
This breaking change is required
to support privately hosted repositories
with the built-in templates.API changes:
release.New
now returns a*release.Release
and anerror
- Config structs moved
from themain
package incmd/stentor
to a newconfig
package,
so that they are importable. SectionConfig
is nowconfig.Section
to comply with go naming rules.
Behavior changes:
config.ValidateConfig
returns an error
ifrepository
is not parseable byurl.Parse
or is not a http or https URL.
#14
-
The call signature of
newsfile.WriteFragments
was changed to take a boolkeepHeader
.
This breaking change is required
to fix the duplication of the newsfile header.API Changes:
newsfile.WriteFragments
now takes a new boolean argument,
indicating whether to keep the existing newsfile header or not.
Behavior changes:
stentor
no longer provides a default header template.
Instead,
the existing newsfile header will be preserved,
unless configured with aheader_template
.
#18