From 148b153c946e0ab018033b547a93425cf9e2b0e6 Mon Sep 17 00:00:00 2001 From: Alex Rudall Date: Mon, 26 Dec 2022 18:00:03 +0000 Subject: [PATCH 1/2] 3.0.0 --- CHANGELOG.md | 14 ++++++++++++++ Gemfile.lock | 2 +- lib/ruby/openai/version.rb | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 042f1a05..7932fc87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.0.0] - 2022-12-26 + +### Added + +- Add ability to set access_token via gem configuration. +- Thanks [@grjones](https://github.com/grjones) and [@aqueflamingo](https://github.com/aquaflamingo) for raising this and [@feministy](https://github.com/feministy) for the [excellent guide](https://github.com/feministy/lizabinante.com/blob/stable/source/2016-01-30-creating-a-configurable-ruby-gem.markdown#configuration-block-the-end-goal) to adding config to a gem. + +### Removed + +- [BREAKING] Remove ability to include access_token directly via ENV vars. +- [BREAKING] Remove deprecated answers, classifications, embeddings, engines and search endpoints. +- [BREAKING] Remove ability to pass engine to completions and embeddings outside of the parameters hash. +- [BREAKING] Remove ability to pass API version directly to endpoints. + ## [2.3.0] - 2022-12-23 ### Added diff --git a/Gemfile.lock b/Gemfile.lock index 0e5a1024..228a5fbd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - ruby-openai (2.3.0) + ruby-openai (3.0.0) httparty (>= 0.18.1, < 0.21.0) GEM diff --git a/lib/ruby/openai/version.rb b/lib/ruby/openai/version.rb index c8d302a1..82041612 100644 --- a/lib/ruby/openai/version.rb +++ b/lib/ruby/openai/version.rb @@ -1,5 +1,5 @@ module Ruby module OpenAI - VERSION = "2.3.0".freeze + VERSION = "3.0.0".freeze end end From 85aafa726e2032586a0edc1b5ddaaabf81a17b00 Mon Sep 17 00:00:00 2001 From: Alex Rudall Date: Mon, 26 Dec 2022 18:00:43 +0000 Subject: [PATCH 2/2] Typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7932fc87..e6d5b4bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Add ability to set access_token via gem configuration. -- Thanks [@grjones](https://github.com/grjones) and [@aqueflamingo](https://github.com/aquaflamingo) for raising this and [@feministy](https://github.com/feministy) for the [excellent guide](https://github.com/feministy/lizabinante.com/blob/stable/source/2016-01-30-creating-a-configurable-ruby-gem.markdown#configuration-block-the-end-goal) to adding config to a gem. +- Thanks [@grjones](https://github.com/grjones) and [@aquaflamingo](https://github.com/aquaflamingo) for raising this and [@feministy](https://github.com/feministy) for the [excellent guide](https://github.com/feministy/lizabinante.com/blob/stable/source/2016-01-30-creating-a-configurable-ruby-gem.markdown#configuration-block-the-end-goal) to adding config to a gem. ### Removed