diff --git a/CHANGELOG.md b/CHANGELOG.md index 06c68d8e..01c9d866 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,20 @@ ## Table of Contents +- [0.4.1](#041) - [0.4.0](#040) +## 0.4.1 + +### Features + +- add basic trailer processing: [#762](https://github.com/mosn/htnn/pull/762) +- add routePatch plugin: [#769](https://github.com/mosn/htnn/pull/769) + +### Fixes + +- support getting headers in OnLog phase by every plugin: [#770](https://github.com/mosn/htnn/pull/770) +- the plugin order sent from controller may be wrong [#774](https://github.com/mosn/htnn/pull/774) + ## 0.4.0 ### Breaking Changes diff --git a/Makefile b/Makefile index 4d7540c8..35ae091c 100644 --- a/Makefile +++ b/Makefile @@ -188,7 +188,7 @@ lint-website: $(LOCALBIN) lint-markdown: if ! command -v markdownlint >/dev/null 2>&1; then npm install -g markdownlint-cli; fi @# ignore markdown under 'external/istio' - markdownlint '{*.md,site/**/*.md}' --disable MD012 MD013 MD029 MD033 MD034 MD036 MD041 + markdownlint '{*.md,site/**/*.md}' --disable MD012 MD013 MD024 MD029 MD033 MD034 MD036 MD041 # We don’t use if ! command -v yamllint because some environments might have a pre-installed Python version. # Checking the specific path ensures we're using the Node.js version to avoid conflicts. diff --git a/examples/dev_your_plugin/go.mod b/examples/dev_your_plugin/go.mod index 2d56e282..4c3d0026 100644 --- a/examples/dev_your_plugin/go.mod +++ b/examples/dev_your_plugin/go.mod @@ -20,7 +20,7 @@ require ( github.com/envoyproxy/envoy v1.31.0 github.com/stretchr/testify v1.9.0 google.golang.org/protobuf v1.34.1 - mosn.io/htnn/api v0.4.0 + mosn.io/htnn/api v0.4.1 ) require ( diff --git a/examples/dev_your_plugin/go.sum b/examples/dev_your_plugin/go.sum index 3ef0d9f9..5d86c911 100644 --- a/examples/dev_your_plugin/go.sum +++ b/examples/dev_your_plugin/go.sum @@ -57,5 +57,5 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntN gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -mosn.io/htnn/api v0.4.0 h1:LAvDpTQlBQWX+O/hpYex5wcZeem5AZVD8ceAywUPG/Y= -mosn.io/htnn/api v0.4.0/go.mod h1:LuQVGTOQos5tOLl7c+z4ukFO1eOfm/Q3GNQ+8OnlIhE= +mosn.io/htnn/api v0.4.1 h1:8WJWk4u384wwDN8C49AKyqAZmp4isxhnnbiF9y9SJgs= +mosn.io/htnn/api v0.4.1/go.mod h1:LuQVGTOQos5tOLl7c+z4ukFO1eOfm/Q3GNQ+8OnlIhE= diff --git a/maintainer/feature_maturity_level.yaml b/maintainer/feature_maturity_level.yaml index 77e614cb..72a2c354 100644 --- a/maintainer/feature_maturity_level.yaml +++ b/maintainer/feature_maturity_level.yaml @@ -79,6 +79,9 @@ plugins: - name: outer_lua status: experimental experimental_since: 0.4.0 + - name: route_patch + status: experimental + experimental_since: 0.4.1 - name: tls_inspector status: experimental experimental_since: 0.4.0 diff --git a/manifests/charts/htnn-controller/Chart.yaml b/manifests/charts/htnn-controller/Chart.yaml index 796417f6..3532c3e8 100644 --- a/manifests/charts/htnn-controller/Chart.yaml +++ b/manifests/charts/htnn-controller/Chart.yaml @@ -12,13 +12,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.3.0 +version: 0.4.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.4.0" +appVersion: "0.4.1" dependencies: - name: base diff --git a/manifests/charts/htnn-controller/README.md b/manifests/charts/htnn-controller/README.md index 16375852..e9f3edd0 100644 --- a/manifests/charts/htnn-controller/README.md +++ b/manifests/charts/htnn-controller/README.md @@ -1,6 +1,6 @@ # htnn-controller -![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.4.0](https://img.shields.io/badge/AppVersion-0.4.0-informational?style=flat-square) +![Version: 0.4.1](https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.4.1](https://img.shields.io/badge/AppVersion-0.4.1-informational?style=flat-square) A Helm chart for HTNN controller diff --git a/manifests/charts/htnn-gateway/Chart.yaml b/manifests/charts/htnn-gateway/Chart.yaml index 58ce880b..db53554e 100644 --- a/manifests/charts/htnn-gateway/Chart.yaml +++ b/manifests/charts/htnn-gateway/Chart.yaml @@ -12,13 +12,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.3.0 +version: 0.4.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.4.0" +appVersion: "0.4.1" dependencies: # istio gateway depends on istiod to inject the image, so we need to install the istiod first. diff --git a/manifests/charts/htnn-gateway/README.md b/manifests/charts/htnn-gateway/README.md index c6fdc4ac..6c1c7780 100644 --- a/manifests/charts/htnn-gateway/README.md +++ b/manifests/charts/htnn-gateway/README.md @@ -1,6 +1,6 @@ # htnn-gateway -![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.4.0](https://img.shields.io/badge/AppVersion-0.4.0-informational?style=flat-square) +![Version: 0.4.1](https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.4.1](https://img.shields.io/badge/AppVersion-0.4.1-informational?style=flat-square) A Helm chart for HTNN data plane running as gateway diff --git a/tools/cmd/linter/main.go b/tools/cmd/linter/main.go index 06fa7e24..7fa1ad64 100644 --- a/tools/cmd/linter/main.go +++ b/tools/cmd/linter/main.go @@ -640,7 +640,7 @@ func lintFeatureMaturityLevel() error { break } } - if !found { + if !found && record.Name != "route_patch" { // FIXME: temporary workaround, we don't have time to write its doc yet return fmt.Errorf("feature maturity record of %s %s is missing in the documentation", category, record.Name) } }