Skip to content

Commit

Permalink
Add a tool to generate release notes docs from yaml files of release …
Browse files Browse the repository at this point in the history
…notes.

Signed-off-by: lemonlinger <[email protected]>
  • Loading branch information
lemonlinger committed Dec 7, 2023
1 parent 52af65e commit 0601378
Show file tree
Hide file tree
Showing 17 changed files with 153 additions and 42 deletions.
3 changes: 2 additions & 1 deletion site/content/en/latest/releases/v0.1.0.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: "v0.1.0"
publishdate: 2022-05-16
publishdate: 2022-05-16 00:00:00
---

Date: May 16, 2022

## Documentation
- The initial open source release describing project goals and high-level design.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "v0.2.0-rc.1"
publishdate: 2022-08-31
title: "v0.2.0-rc1"
publishdate: 2022-08-31 00:00:00
---

Date: August 31, 2022
Expand All @@ -12,7 +12,7 @@ Date: August 31, 2022
- Added the EnvoyGateway API type for configuring Envoy Gateway.
- Added the EnvoyProxy API type for configuring managed Envoys.

## CI
## Ci
- Added tooling to build, run, etc. Envoy Gateway.

## Providers
Expand All @@ -29,9 +29,10 @@ Date: August 31, 2022
- Added the gatewayapi translator to translate Gateway API and associated resources to the IR and manage
- Gateway API status.

## Message Service
## Message-service
- Added infra and xds IR watchable map messages for inter-component communication.
- Added a Runner to each component to support pub/sub between components.

## Infra Manager
## Infra-manager
- Added Kubernetes Infra Manager to manage Envoy infrastructure running in a Kubernetes cluster.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "v0.2.0-rc.2"
publishdate: 2022-09-29
title: "v0.2.0-rc2"
publishdate: 2022-09-29 00:00:00
---

Date: September 29, 2022
Expand All @@ -10,7 +10,7 @@ Date: September 29, 2022
- Added `kube-demo` target to demonstrate Envoy Gateway functionality.
- Added developer debugging documentation.

## CI
## Ci
- Added Gateway API conformance tests.

## Providers
Expand All @@ -27,8 +27,9 @@ Date: September 29, 2022
- Added support for request modifier and redirect filters.
- Added support to return 500 responses for invalid backends.

## Message Service
## Message-service
- Updated IRs to support managing multiple Envoy fleets.

## Infra Manager
## Infra-manager
- Separate Envoy infrastructure is created per Gateway.

13 changes: 8 additions & 5 deletions site/content/en/latest/releases/v0.2.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "v0.2.0"
publishdate: 2022-10-19
publishdate: 2022-10-19 00:00:00
---

Date: October 19, 2022
Expand All @@ -27,20 +27,22 @@ Date: October 19, 2022
- Added IR validation.

## Translator
- Added the gatewayapi translator to translate Gateway API and associated resources to the IR and manage the status of Gateway API resources.
- Added the gatewayapi translator to translate Gateway API and associated resources to the IR and manage the
- status of Gateway API resources.
- Added the xDS translator to translate the xds IR to xDS resources.

## Message Service
## Message-service
- Added infra and xds IR watchable map messages for inter-component communication.
- Added a Runner to each Envoy Gateway component to support pub/sub between components.
- Added support for managing multiple separate Envoy proxy fleets.

## Infra Manager
## Infra-manager
- Added Kubernetes Infra Manager to manage Envoy infrastructure running in a Kubernetes cluster.
- Added support for managing a separate Envoy infrastructure per Gateway.

## Providers
- Added the Kubernetes provider with support for managing GatewayClass, Gateway, HTTPRoute, ReferenceGrant, and TLSRoute resources.
- Added the Kubernetes provider with support for managing GatewayClass, Gateway, HTTPRoute, ReferenceGrant, and
- TLSRoute resources.
- Due to Issue #539, a ReferenceGrant is not removed from the system when unreferenced.
- Due to Issue #577, TLSRoute is not being tested for Gateway API conformance.
- Added watchers for dependent resources of managed Envoy infrastructure to trigger reconciliation.
Expand All @@ -51,3 +53,4 @@ Date: October 19, 2022
- Added xDS server support to configure managed Envoys using Delta xDS.
- Added initial support for mTLS between the xDS server and managed Envoys.
- Due to envoyproxy/go-control-plane Issue #599, Envoy Gateway logs the private key of HTTPS listeners.

3 changes: 2 additions & 1 deletion site/content/en/latest/releases/v0.3.0-rc.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "v0.3.0-rc.1"
publishdate: 2023-02-02
publishdate: 2023-02-02 00:00:00
---

Date: February 02, 2023
Expand Down Expand Up @@ -62,3 +62,4 @@ Date: February 02, 2023
## xDS
- Fixed Start xDS Server Watchable Map Panics
- Enabled Access Logging for xDS Components

3 changes: 2 additions & 1 deletion site/content/en/latest/releases/v0.3.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "v0.3.0"
publishdate: 2023-02-09
publishdate: 2023-02-09 00:00:00
---

Date: February 09, 2023
Expand Down Expand Up @@ -75,3 +75,4 @@ Date: February 09, 2023
## xDS
- Fixed Start xDS Server Watchable Map Panics
- Enabled Access Logging for xDS Components

3 changes: 2 additions & 1 deletion site/content/en/latest/releases/v0.4.0-rc.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "v0.4.0-rc.1"
publishdate: 2023-04-13
publishdate: 2023-04-13 00:00:00
---

Date: April 13, 2023
Expand Down Expand Up @@ -54,3 +54,4 @@ Date: April 13, 2023
- Added egctl CLI Tool
- Added egctl Support for Dry Runs of Gateway API Config
- Added egctl Support for Dumping Envoy Proxy xDS Resources

3 changes: 2 additions & 1 deletion site/content/en/latest/releases/v0.4.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "v0.4.0"
publishdate: 2023-04-24
publishdate: 2023-04-24 00:00:00
---

Date: April 24, 2023
Expand Down Expand Up @@ -57,3 +57,4 @@ Date: April 24, 2023
- Added egctl CLI Tool
- Added egctl Support for Dry Runs of Gateway API Config
- Added egctl Support for Dumping Envoy Proxy xDS Resources

6 changes: 4 additions & 2 deletions site/content/en/latest/releases/v0.5.0-rc.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "v0.5.0-rc.1"
publishdate: 2023-07-26
publishdate: 2023-07-26 00:00:00
---

Date: July 26, 2023
Expand Down Expand Up @@ -29,6 +29,7 @@ Date: July 26, 2023
- Added Admin Server for Envoy Gateway
- Added Pprof Debug Support for Envoy Gateway
- Added Support to Watch for Resources in Select Namespaces

### Breaking Changes
- Renamed field in EnvoyGateway API from Extension to ExtensionManager

Expand All @@ -48,7 +49,7 @@ Date: July 26, 2023
- Skipped HTTPRouteRedirectPortAndScheme Test

## Translator
### Breaking changes
### Breaking Changes
- Renamed IR resources from <namespace>-<name> to <namespace>/<name>
- which also affects generated Xds Resources

Expand All @@ -69,3 +70,4 @@ Date: July 26, 2023
## Cli
- Added egctl x translate Support to generate default missing Resources
- Added egctl x translate Support for AuthenticationFilter and EnvoyPatchPolicy

6 changes: 4 additions & 2 deletions site/content/en/latest/releases/v0.5.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "v0.5.0"
publishdate: 2023-07-26
publishdate: 2023-07-26 00:00:00
---

Date: July 26, 2023
Expand Down Expand Up @@ -29,6 +29,7 @@ Date: July 26, 2023
- Added Admin Server for Envoy Gateway
- Added Pprof Debug Support for Envoy Gateway
- Added Support to Watch for Resources in Select Namespaces

### Breaking Changes
- Renamed field in EnvoyGateway API from Extension to ExtensionManager

Expand All @@ -50,7 +51,7 @@ Date: July 26, 2023
## Translator
### Breaking Changes
- Renamed IR resources from <namespace>-<name> to <namespace>/<name>
which also affects generated Xds Resources
- which also affects generated Xds Resources

## Providers
- Reconcile Node resources to be able to compute Status Addresses for Gateway
Expand All @@ -69,3 +70,4 @@ Date: July 26, 2023
## Cli
- Added egctl x translate Support to generate default missing Resources
- Added egctl x translate Support for AuthenticationFilter and EnvoyPatchPolicy

16 changes: 11 additions & 5 deletions site/content/en/latest/releases/v0.6.0-rc.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "v0.6.0-rc.1"
publishdate: 2023-10-27
publishdate: 2023-10-27 00:00:00
---

Date: Oct 27, 2023
Expand Down Expand Up @@ -30,18 +30,24 @@ Date: Oct 27, 2023
- Added Support for enabling EnvoyProxy Virtual Host metrics
- Added Support for Merging Gateway resources onto the same infrastructure

### Breaking changes
### Breaking Changes
- Removed the AuthenticationFilter CRD
- Removed the RateLimitFilter CRD
- Enabled EnvoyProxy Prometheus Endpoint by default with an option to disable it
- Updated the Bootstrap field within the EnvoyProxy CRD with an additional value
- field to specify bootstrap config

## watchable
## CI Tooling Testing
-

## Conformance
-

## Watchable
- Improved caching of resource by implementing a compare function agnostic of resource order

## Translator
### Breaking changes
### Breaking Changes
- Added support for routing to EndpointSlice endpoints
- Added support for HTTPRoute Timeouts
- Added support for multiple RequestMirror filters per HTTPRoute rule
Expand All @@ -54,7 +60,7 @@ Date: Oct 27, 2023
- Added support for reconciling ServiceImport CRD
- Added support for selectively watching resources based on Namespace Selector

## XDS
## xDS
- Fixed Layered Runtime warnings
- Upgraded to the latest version of go-control-plane that fixed xDS Resource ordering issues for ADS.
- Added HTTP2 Keep Alives to the xds connection
Expand Down
18 changes: 9 additions & 9 deletions site/content/en/latest/releases/v0.6.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "v0.6.0"
publishdate: 2023-11-01
publishdate: 2023-11-01 00:00:00
---

Date: Nov 1, 2023
Expand Down Expand Up @@ -28,7 +28,7 @@ Date: Nov 1, 2023
- Added Support for enabling EnvoyProxy Virtual Host metrics
- Added Support for Merging Gateway resources onto the same infrastructure

### Breaking changes
### Breaking Changes
- Removed the AuthenticationFilter CRD
- Removed the RateLimitFilter CRD
- Moved EnvoyProxy CRD from `config.gateway.envoyproxy.io` to `gateway.envoyproxy.io`
Expand All @@ -48,23 +48,23 @@ Date: Nov 1, 2023
- Improved caching of resource by implementing a compare function agnostic of resource order

## Translator
- Added support for routing to EndpointSlice endpoints
- Added support for HTTPRoute Timeouts
- Added support for multiple RequestMirror filters per HTTPRoute rule
- Use / instead of - in IR Route Names
- Added Support to ignore ports in Host header
- Added support for routing to EndpointSlice endpoints
- Added support for HTTPRoute Timeouts
- Added support for multiple RequestMirror filters per HTTPRoute rule
- Use / instead of - in IR Route Names
- Added Support to ignore ports in Host header

## Providers
- Added the generationChangedPredicate to most resources to limit resource reconiliation
- Improved reconiliation by using the same enqueue request for all resources
- Added support for reconciling ServiceImport CRD
- Added support for selectively watching resources based on Namespace Selector


## XDS
## xDS
- Fixed Layered Runtime warnings
- Upgraded to the latest version of go-control-plane that fixed xDS Resource ordering issues for ADS.
- Added HTTP2 Keep Alives to the xds connection

## Cli
- Added Support for egctl stats command

9 changes: 7 additions & 2 deletions tools/make/docs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ docs: docs.clean helm-readme-gen docs-api docs-api-headings ## Generate Envoy Ga
cp tools/hack/get-egctl.sh $(DOCS_OUTPUT_DIR)

.PHONY: docs-release
docs-release: docs-release-prepare docs-release-gen docs ## Generate Envoy Gateway Release Docs
docs-release: docs-release-prepare release-notes-docs docs-release-gen docs ## Generate Envoy Gateway Release Docs

.PHONY: docs-serve
docs-serve: ## Start Envoy Gateway Site Locally
Expand Down Expand Up @@ -65,7 +65,7 @@ docs-release-prepare:
echo $(TAG) > VERSION

.PHONY: docs-release-gen
docs-release-gen:
docs-release-gen:
@$(LOG_TARGET)
@$(call log, "Added Release Doc: site/content/en/$(TAG)")
cp -r site/content/en/latest site/content/en/$(TAG)
Expand All @@ -79,3 +79,8 @@ docs-release-gen:
@echo '[[params.versions]]' >> site/hugo.toml
@echo ' version = "$(TAG)"' >> site/hugo.toml
@echo ' url = "/$(TAG)"' >> site/hugo.toml

.PHONY: release-notes-docs
release-notes-docs: $(tools/release-notes-docs)
@$(LOG_TARGET)
$(tools/release-notes-docs) release-notes/$(TAG).yaml site/content/en/latest/releases/; \
9 changes: 7 additions & 2 deletions tools/make/tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,17 @@ $(tools.bindir)/%: $(tools.srcdir)/%/pin.go $(tools.srcdir)/%/go.mod
tools/codespell = $(tools.bindir)/codespell
tools/yamllint = $(tools.bindir)/yamllint
tools/sphinx-build = $(tools.bindir)/sphinx-build
tools/release-notes-docs = $(tools.bindir)/release-notes-docs
$(tools.bindir)/%.d/venv: $(tools.srcdir)/%/requirements.txt
mkdir -p $(@D)
python3 -m venv $@
$@/bin/pip3 install -r $< || (rm -rf $@; exit 1)
$(tools.bindir)/%: $(tools.bindir)/%.d/venv
ln -sf $*.d/venv/bin/$* $@
$(tools.bindir)/%: $(tools.bindir)/%.d/venv
@if [ -e $(tools.srcdir)/$*/$*.sh ]; then \
ln -sf ../../$(tools.srcdir)/$*/$*.sh $@; \
else \
ln -sf $*.d/venv/bin/$* $@; \
fi

ifneq ($(GOOS),windows)
# Shellcheck
Expand Down
13 changes: 13 additions & 0 deletions tools/src/release-notes-docs/release-notes-docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

set -o errexit
set -o nounset
set -o pipefail

SCRIPT_ROOT=$(dirname "${BASH_SOURCE}")/../..

venvPath="${SCRIPT_ROOT}/tools/bin/release-notes-docs.d/venv"

source ${venvPath}/bin/activate
python ${SCRIPT_ROOT}/tools/src/release-notes-docs/yml2md.py "$@"
deactivate
1 change: 1 addition & 0 deletions tools/src/release-notes-docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pyyaml==6.0.1
Loading

0 comments on commit 0601378

Please sign in to comment.