From 1dde625c0bb6228ac79643f0265de4c35ff2ec56 Mon Sep 17 00:00:00 2001 From: Adrian Gonzalez-Martin Date: Fri, 24 Jul 2020 14:10:54 +0100 Subject: [PATCH] Add release-notes Makefile and Go template --- release-notes/Makefile | 17 +++++++++++++++++ release-notes/release-notes-1.2.2-dev.md | 22 ++++++++++++++++++++++ release-notes/release-notes.gotmpl | 19 +++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 release-notes/Makefile create mode 100644 release-notes/release-notes-1.2.2-dev.md create mode 100644 release-notes/release-notes.gotmpl diff --git a/release-notes/Makefile b/release-notes/Makefile new file mode 100644 index 0000000000..725907d63b --- /dev/null +++ b/release-notes/Makefile @@ -0,0 +1,17 @@ +VERSION := $(shell cat ../version.txt) + +install-dev: + GO111MODULE=on go install k8s.io/release/cmd/release-notes + +generate: + release-notes \ + --github-org SeldonIO \ + --github-repo seldon-core \ + --required-author '' \ + --start-rev v1.2.1 \ + --end-rev master \ + --go-template go-template:release-notes.gotmpl \ + --output release-notes-$(VERSION).md \ + --release-version $(VERSION) \ + --dependencies false + diff --git a/release-notes/release-notes-1.2.2-dev.md b/release-notes/release-notes-1.2.2-dev.md new file mode 100644 index 0000000000..4d9ef4f972 --- /dev/null +++ b/release-notes/release-notes-1.2.2-dev.md @@ -0,0 +1,22 @@ +# Release notes for master + +## Changes + + +- Added `model.uri` and `model.implementation` keys in the `seldon-single-model` Helm chart. ([#2054](https://github.com/SeldonIO/seldon-core/pull/2054), [@RafalSkolasinski](https://github.com/RafalSkolasinski)) +- Added `serviceAccountName` at the pod level to enable EKS fine-grained IAM roles. ([#1866](https://github.com/SeldonIO/seldon-core/pull/1866), [@enissay14](https://github.com/enissay14)) +- Added custom error for R ([#2153](https://github.com/SeldonIO/seldon-core/pull/2153), [@johnny-butter](https://github.com/johnny-butter)) +- Added gRPC support to model metadata. ([#2005](https://github.com/SeldonIO/seldon-core/pull/2005), [@RafalSkolasinski](https://github.com/RafalSkolasinski)) +- Changed Azure dependency to be optional. ([#2170](https://github.com/SeldonIO/seldon-core/pull/2170), [@adriangonz](https://github.com/adriangonz)) +- Changed Python wrapper so that it runs Gunicorn with a single worker by default. + Added `GUNICORN_THREADS` environment variable to control the fixed number of threads on each Gunicorn worker. ([#2047](https://github.com/SeldonIO/seldon-core/pull/2047), [@adriangonz](https://github.com/adriangonz)) +- Changed loggers in operator, executor and Python wrapper so that only `INFO` messages and above are logged by default. + Added `SELDON_DEBUG` environment variable to operator, executor and Python wrapper to enable sampling and improve structured logging. ([#1980](https://github.com/SeldonIO/seldon-core/pull/1980), [@adriangonz](https://github.com/adriangonz)) +- Fixed gRPC port name in executor. ([#2131](https://github.com/SeldonIO/seldon-core/pull/2131), [@groszewn](https://github.com/groszewn)) +- Fixed semantics of `seldon.io/no-engine` annotation. ([#1970](https://github.com/SeldonIO/seldon-core/pull/1970), [@chengchengpei](https://github.com/chengchengpei)) +- This will allow MLFlow_Server users to send the data.names parameter, and connect it with the DataFrame's columns property. Shouldn't break existing functionality, just extend it. ([#2135](https://github.com/SeldonIO/seldon-core/pull/2135), [@meoril](https://github.com/meoril)) +- Update tracing dependencies for Python inference server. ([#2166](https://github.com/SeldonIO/seldon-core/pull/2166), [@adriangonz](https://github.com/adriangonz)) +- Updated documentation about routing when using the Go executor. ([#2172](https://github.com/SeldonIO/seldon-core/pull/2172), [@cliveseldon](https://github.com/cliveseldon)) +- Updated documentation to point to newer version of Ambassador. ([#2069](https://github.com/SeldonIO/seldon-core/pull/2069), [@RafalSkolasinski](https://github.com/RafalSkolasinski)) +- Updated executor dependencies. ([#2099](https://github.com/SeldonIO/seldon-core/pull/2099), [@RafalSkolasinski](https://github.com/RafalSkolasinski)) +- Updated operator dependencies. ([#2093](https://github.com/SeldonIO/seldon-core/pull/2093), [@RafalSkolasinski](https://github.com/RafalSkolasinski)) diff --git a/release-notes/release-notes.gotmpl b/release-notes/release-notes.gotmpl new file mode 100644 index 0000000000..eb21c5b805 --- /dev/null +++ b/release-notes/release-notes.gotmpl @@ -0,0 +1,19 @@ +{{- $ReleaseRevision := .ReleaseRevision -}} +{{- $PreviousRevision := .PreviousRevision -}} +# Release notes for {{$ReleaseRevision}} + +{{with .NotesWithActionRequired -}} +## Urgent Upgrade Notes + +### (No, really, you MUST read this before you upgrade) + +{{range .}}{{println "-" .}} {{end}} +{{end}} + +{{- if .Notes -}} +## Changes +{{ range .Notes}} + +{{range $note := .NoteEntries }}{{println "-" $note}}{{end}} +{{- end -}} +{{- end -}}