Announcing riff v0.3.0
We are happy to announce the release of riff v0.3.0. Thank you all riff, Buildpacks, and Knative contributors.
The riff CLI can be downloaded from our releases page on GitHub. Please follow one of the getting started guides, to create a new cluster on GKE, Minikube, Docker Desktop for Mac, or Docker Desktop for Windows.
Notable changes
Cloud Native Buildpacks
update to pack v0.1.0
builder uses separate buildpack per function invoker
The Java buildpack includes support for Java 11. Please add a source version of Java 8 or later to your Maven pom or Gradle build.
Maven
<properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties>Gradle
sourceCompatibility = 1.8
Knative
- update to Knative Serving v0.5.1 and Istio v1.0.7
- update to Knative Build v0.5.0
- update to Knative Eventing v0.4.0
riff CLI
- support for Windows
- easy install via brew and chocolatey
riff system installandriff system uninstallwith improved robustnessriff namespace initwith basic auth for alternative registriesriff namespace cleanupsimilar to system uninstall, but for a namespaceriff function buildto build an image without creating a serviceriff function create--sub-pathfor--git-repobuilds from a subdirectory--imageauto-inferred from registry prefix and function nameriff.tomloptional alternative to CLI parameters
riff service invokewith improved error handlingriff channel createwill automatically use a default channel provisioner
More modular Buildpacks
This release introduces a new buildpacks structure with a buildpack per language. The modular approach will help restore support for custom language invokers in a future riff release. Here is an updated map of the buildpack-related repos on Github.
riff Builder is the container for function builds using buildpacks.
Java group
- OpenJDK buildpack: contributes OpenJDK JREs and JDKs
- Build System buildpack: performs Java based builds
- Java function buildpack: contributes Java invoker
Node group
- NodeJS buildpack: contributes node.js runtime
- NPM buildpack: performs npm based builds
- Node function buildpack: contributes the Node invoker for running JavaScript functions
Command group
- Command function buildpack: contributes the Command invoker for running Linux commands.
Our plans for stream processing
Since we anticipate replacing the existing Channels and Subscriptions with new Stream and Processor resources, aligned with stream-oriented Function Invokers, we are deprecating the use of Channel and Subscription resources in this release.
You can follow our progress in this roadmap for serverless stream processing.