Skip to content

Tekton Triggers v0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ncskier ncskier released this 25 Feb 22:29

-Docs @ v0.3.0
-Examples @ v0.3.0

Changes

Features ✨

  • Use tekton instead of all as categories 🎿(#360)

    Remove the category all for our CRD and have a tekton category that is shared with other tektoncd projects.

  • Add support for ClusterTriggerBinding (#358)

    New ClusterTriggerBinding resource which is similar to TriggerBinding but cluster-scoped.

    To use a ClusterTriggerBinding in an EventListener's bindings, you must specify the kind field as ClusterTriggerBinding. By default, the kind field is TriggerBinding, and it can be omitted.

  • CEL Interceptor improvements

    • Add support for adding additional fields to the body. (#329)

      The CEL Interceptor can now add new derived fields to the request body that can be picked up in a TriggerBinding.

    • Add support for splitting strings to CEL expressions. (#411)

      This adds a CEL expression function for splitting strings.

    • Add CEL function canonical. (#410)

      This adds a new canonical function on the header, making it easy to fetch a request header by name.

    • Add decodeb64 function to CEL expressions. (#404)

      This adds a decodeb64 function to the CEL expressions usable by the overlay mechanism.

  • Add Liveness Probe for EventListener Deployment (#432)

    Add a Liveness Probe for EventListener Deployment at URL /live

  • Add Version Label to Triggers Deployment & Service (#428)

    Adds the version and triggers.tekton.dev/release labels with version information.

Backwards incompatible changes 🚨

In current release:

  • Ensure Interceptor request uses HTTP POST. (#438)

    BREAKING CHANGE: Interceptors now receive HTTP POST requests regardless of the type of request the EventListener receives.

  • validate ObjectMetadata for TriggerTemplate (#435)

    TriggerTemplates must have a metadata field.

  • Remove deprecated binding (#424)

  • Remove deprecated Interceptor (#425)

  • Remove deprecated Params field from EventListener (#444)

Misc 🔨

  • Add .gitattributes information on generated files 🍥 (#381)
  • Fix lint issue (#398)
  • Fix e2e tests (#401)
  • Bump tektoncd-pipeline to 0.10.1 (#396)
  • Delete clusterscoped resource in teardown (#420)
  • Move GH-Validate Interceptor code to example (#429)
  • Increase waiting timeout (#433)
  • Allow keeping namespaces after running tests for investigation (#431)
  • Use k8s types and validation code with the TriggerResourceTemplate type (#422)
  • Fixes for the nightly release process (#421)
  • Add Regression test for large number of Triggers (#449)
  • Fix broken symbolic links in cron example (#451)

Docs 📖

  • Format markdown (#395)
  • Replace doc links to v0.2.0 with links to v0.2.1 (#402)
  • Update CEL docs (#407)
  • Format markdown (#414)
  • cel langdef doc links (#416)
  • Fix yaml formatting (#417)
  • Format markdown (#423)
  • Format markdown (#430)
  • Format markdown (#443)
  • Add our go report card to the README (#445)
  • Update EventListener docs format (#426)
  • Fix typo cel interceptor example. (#446)
  • Format markdown (#448)
  • correct a misspelling (#452)
  • Update gcloud command to use dogfooding cluster (#453)
  • Replace gitlab-eventlistener with a working example (#434)

How to upgrade from v0.2.1 ⬆️

  1. Update your Webhook Interceptors to receive HTTP POST requests (if they were not already doing so).
  2. Delete and re-create your EventListeners (this has been fixed in the Triggers v0.3.1 release).

Thanks ❤️

Thanks to these contributors who contributed to v0.3.0!