diff --git a/CHANGELOG.md b/CHANGELOG.md index 042f1a05..e6d5b4bf 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 [@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 + +- [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