From 6446eb25e871e68963d2de3708a17b95ac4fc70b Mon Sep 17 00:00:00 2001 From: Daniel Azuma Date: Wed, 7 Jul 2021 15:39:15 -0700 Subject: [PATCH] release: Release functions_framework 1.0.0 --- CHANGELOG.md | 5 +++++ README.md | 4 ++-- docs/overview.md | 4 ++-- docs/writing-functions.md | 6 +++--- lib/functions_framework/version.rb | 2 +- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d7f55de1..5cdf1e8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +### v1.0.0 / 2021-07-07 + +* Bumped the version to 1.0. +* Removed the "preview" notices for Google Cloud Functions since the Ruby runtime is now GA. + ### v0.11.0 / 2021-06-28 * UPDATED: Update CloudEvents dependency to 0.5 to get fixes for JSON formatting cases diff --git a/README.md b/README.md index e03d6a6b..26912ea1 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ An open source framework for writing lightweight, portable Ruby functions that run in a serverless environment. Functions written to this Framework will run in many different environments, including: - * [Google Cloud Functions](https://cloud.google.com/functions) *(public preview)* + * [Google Cloud Functions](https://cloud.google.com/functions) * [Google Cloud Run](https://cloud.google.com/run) * Any other [Knative](https://github.com/knative)-based environment * Your local development machine @@ -60,7 +60,7 @@ Create a `Gemfile` listing the Functions Framework as a dependency: ```ruby # Gemfile source "https://rubygems.org" -gem "functions_framework", "~> 0.11" +gem "functions_framework", "~> 1.0" ``` Create a file called `app.rb` and include the following code. This defines a diff --git a/docs/overview.md b/docs/overview.md index 2bed20db..d8f47471 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -8,7 +8,7 @@ The Functions Framework is an open source framework for writing lightweight, portable Ruby functions that run in a serverless environment. Functions written to this Framework will run in many different environments, including: - * [Google Cloud Functions](https://cloud.google.com/functions) *(public preview)* + * [Google Cloud Functions](https://cloud.google.com/functions) * [Google Cloud Run](https://cloud.google.com/run) * Any other [Knative](https://github.com/knative)-based environment * Your local development machine @@ -64,7 +64,7 @@ Create a `Gemfile` listing the Functions Framework as a dependency: ```ruby # Gemfile source "https://rubygems.org" -gem "functions_framework", "~> 0.11" +gem "functions_framework", "~> 1.0" ``` Create a file called `app.rb` and include the following code. This defines a diff --git a/docs/writing-functions.md b/docs/writing-functions.md index 5abec83b..7be32f79 100644 --- a/docs/writing-functions.md +++ b/docs/writing-functions.md @@ -111,7 +111,7 @@ dependency on Sinatra in your `Gemfile`: ```ruby source "https://rubygems.org" -gem "functions_framework", "~> 0.11" +gem "functions_framework", "~> 1.0" gem "sinatra", "~> 2.0" ``` @@ -152,7 +152,7 @@ information about it: require "functions_framework" FunctionsFramework.cloud_event "hello" do |event| - FunctionsFramework.logger.info "I received an event of type #{event.type}!" + logger.info "I received an event of type #{event.type}!" end ``` @@ -470,7 +470,7 @@ Following is a typical layout for a Functions Framework based project. ```ruby # Gemfile source "https://rubygems.org" -gem "functions_framework", "~> 0.11" +gem "functions_framework", "~> 1.0" ``` ```ruby diff --git a/lib/functions_framework/version.rb b/lib/functions_framework/version.rb index 45ede1f0..fb19e2a4 100644 --- a/lib/functions_framework/version.rb +++ b/lib/functions_framework/version.rb @@ -17,5 +17,5 @@ module FunctionsFramework # Version of the Ruby Functions Framework # @return [String] # - VERSION = "0.11.0".freeze + VERSION = "1.0.0".freeze end