Releases: kubernetes/release
v0.2.7
Changes by Kind
Deprecations
- This change soft-deprecates the
--format="markdown"
option which is excepted but will be deprecated soon. Thego-template:default
option is now the default format. Since pr#1008 when this option is given, the internal default template is used anyway. AdditionallyDocument.RenderMarkdown()
is soft deprecated as it will be removed in #1019. Finally for API usersDocument.NotesByKind
is deprecated. (#1148, @j0n3lson)
Feature
-
Added
Addwriter()
,AddErrorWriter()
andAddOutputWriter()
to command package which allows commands to specify additional writers, for example when having the need for logging to files. (#1198, @saschagrunert) -
Changed
krel gcbmgr
to check for available packages (jq, git, bsdmainutils) and binaries (gsutil, gcloud) on the host system (#1171, @saschagrunert) -
This change adds four new flags to the krel release-notes subcommand:
--create-website-pr
- Flag to enable the release notes json generator--website-org
- GitHub Organization of the users fork of kubernetes/sig-release--website-repo
- Repository containing the fork of the user's repo--kubernetes-sigs-fork-path
- Filesystem path to the user's fork of k/sig-release
After this change it is not longer possible to run
--create-website-pr
and--create-draft-pr
during the same invocation.
Implementation of --create-website-pr in the krel release-notes subcommand to generate the release notes in json format for relnotes.k8s.io (#1185, @puerco) -
Images/releng-ci-bazel: Add jq, bsdmainutils and google-cloud-sdk (#1170, @saschagrunert)
-
Images: Move kube-cross image building to k/release (#1140, @justaugustus)
-
Kube-cross: Update to go1.13.9 (#1200, @justaugustus)
-
Kube-cross: Update to go1.14.1 (#1208, @justaugustus)
Documentation
- Added documentation to
options.Options
structure (#1183, @saschagrunert) - First batch of krel usage documents. Main README.md and a doc for each subcommand. (#1201, @puerco)
Failing Test
- Kube-cross: Fix image pushing job failures (#1202, @justaugustus)
Other (Bug, Cleanup or Flake)
- Change
krel changelog
to remove non release branch relatedCHANGELOG/CHANGELOG-*.md
only on the first release candidate (for examplev1.18.0-rc.1
) (#1182, @saschagrunert) - Changed
util.EnvDefault()
to also return the default if the set value is empty (aka""
) (#1197, @saschagrunert) - Changed kubepkg to take GITHUB_TOKEN into account for doing authenticated GitHub requests (#1177, @saschagrunert)
- Fix building of deb packages in kubepkg (#1188, @saschagrunert)
- Increased log verbosity of
krel changelog
(#1190, @saschagrunert) - krel gcbmgr now defaults to the
master
branch if no--branch
is provided (#1205, @saschagrunert) - Configure releng GCB jobs to use new staging project and add VDF TODOs (#1172, @justaugustus)
- Testgridshot: removed canned_acl option when uploading to K8s Infra (#1210, @cpanato)
- Update GoogleCloudPlatform/testgrid to v0.0.7 (#1193, @cpanato)
v0.2.5
Changes by Kind
Feature
- Added
git.HasRemote
andgit.Remotes
API- Added pre-check in
krel release-notes
if the fork remote is already available (#1122, @saschagrunert)
- Added pre-check in
- The function
git.Remotify
does not remotify remotes which have been already remotified (#1118, @saschagrunert) - Add --create-draft-pr --draft-org and --draft-repo flags to automate the creation of the release notes draft
Add --output-dir to output a copy of the release notes. (#1102, @puerco) - [krel] gcbmgr: Dynamically retrieve build version from CI markers (#1114, @justaugustus)
Documentation
- Add and enhance the documentation on
krel -h
(#1138, @saschagrunert)
Other (Bug, Cleanup or Flake)
- Changed
git.CloneOrOpenRepo()
to not take a separateuseSSH
indicator any more (#1111, @saschagrunert) - Add dedicated
github
package (#1136, @saschagrunert) - Change
git.Remotes
to always return the remotes sorted alphabetically (#1130, @saschagrunert) - Changed
krel ff
to restore the currently checked out git branch (#1123, @saschagrunert) - Enhanced
krel ff
documentation and fixed--ref
to be taken into consideration (#1117, @saschagrunert) - Fixed wrong CHANGELOG link not targeting to the release tag any more (#1137, @saschagrunert)
- Remove
owner
fromgit.CloneOrOpenDefaultGitHubRepoSSH
and use the default one (kubernetes
) (#1116, @saschagrunert) - Removed
branchff
script in favor ofkrel ff
(#1129, @saschagrunert) - Updated
krel changelog
to correctly choose the start tag for a release (#1135, @saschagrunert) - Images: Update k8s-cloud-builder to use the new kube-cross location (#1141, @justaugustus)
- Removes federation release kind option from krel push (#1128, @hasheddan)
- Update go dependencies
- github.com/google/go-github/v29 (v29.0.2 --> v29.0.3)
- github.com/pkg/errors (v0.8.1 --> v0.9.1)
- github.com/spf13/cobra (v0.0.5 --> v0.0.6)
- github.com/stretchr/testify (v1.4.0 --> v1.5.1)
- k8s.io/utils (v0.0.0-20200117235808-5f6fbceb4c31 --> v0.0.0-20200229041039-0a110f9eb7ab)
- sigs.k8s.io/yaml (v1.1.0 --> v1.2.0) (#1142, @justaugustus)
- [krel] changelog: Include CHANGELOG/README.md in master commit logic (#1143, @justaugustus)