diff --git a/CHANGELOG.md b/CHANGELOG.md index 54bb414..8370a8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +### 1.0.0-beta1 (2022-03-24) + +#### New + +- Add support for the following new endpoints: + - [Delete a block](https://developers.notion.com/reference/get-block-children) + - [Retrieve your token's bot user](https://developers.notion.com/reference/get-self) + - [Retrieve a page property item](https://developers.notion.com/reference/retrieve-a-page-property) +- Update Notion API Version to `2022-02-22` (thanks @hkob!) +- Remove the following deprecated endpoint: + - [List databases](https://developers.notion.com/reference/get-databases) +- Add Codespaces and CONTRIBUTING.md command for better DX +- Overhauled documentation + +#### Upgrade instructions + +- Please refer to the Notion Changelog to see breaking changes for version `2022-02-22`: https://developers.notion.com/changelog/releasing-notion-version-2022-02-22 + ### 0.1.0-beta1 (2021-08-29) #### New diff --git a/Gemfile.lock b/Gemfile.lock index 5588b98..c604ce6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,17 +1,17 @@ PATH remote: . specs: - notion-ruby-client (0.1.0.pre.beta1) - activesupport + notion-ruby-client (1.0.0.pre.beta1) + activesupport (~> 6) dotenv faraday (>= 1.0) faraday_middleware - hashie + hashie (~> 5) GEM remote: http://rubygems.org/ specs: - activesupport (6.1.4.1) + activesupport (6.1.5) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -20,38 +20,42 @@ GEM addressable (2.8.0) public_suffix (>= 2.0.2, < 5.0) ast (2.4.2) - concurrent-ruby (1.1.9) + concurrent-ruby (1.1.10) crack (0.4.5) rexml diff-lcs (1.4.4) dotenv (2.7.6) - faraday (1.7.0) + faraday (1.10.0) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0.1) + faraday-httpclient (~> 1.0) + faraday-multipart (~> 1.0) faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.1) + faraday-net_http_persistent (~> 1.0) faraday-patron (~> 1.0) faraday-rack (~> 1.0) - multipart-post (>= 1.2, < 3) + faraday-retry (~> 1.0) ruby2_keywords (>= 0.0.4) faraday-em_http (1.0.0) faraday-em_synchrony (1.0.0) faraday-excon (1.1.0) faraday-httpclient (1.0.1) + faraday-multipart (1.0.3) + multipart-post (>= 1.2, < 3) faraday-net_http (1.0.1) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) faraday-rack (1.0.0) - faraday_middleware (1.1.0) + faraday-retry (1.0.3) + faraday_middleware (1.2.0) faraday (~> 1.0) hashdiff (1.0.1) - hashie (4.1.0) - i18n (1.8.10) + hashie (5.0.0) + i18n (1.10.0) concurrent-ruby (~> 1.0) jaro_winkler (1.5.4) - minitest (5.14.4) + minitest (5.15.0) multipart-post (2.1.1) parallel (1.20.1) parser (3.0.1.1) @@ -96,10 +100,11 @@ GEM addressable (>= 2.3.6) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) - zeitwerk (2.4.2) + zeitwerk (2.5.4) PLATFORMS arm64-darwin-20 + ruby x86_64-linux DEPENDENCIES diff --git a/lib/notion/version.rb b/lib/notion/version.rb index e1e8b44..60ff6e9 100644 --- a/lib/notion/version.rb +++ b/lib/notion/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Notion - VERSION = '0.1.0-beta1' + VERSION = '1.0.0-beta1' NOTION_REQUEST_VERSION = '2022-02-22' end diff --git a/notion-ruby-client.gemspec b/notion-ruby-client.gemspec index 301e0fe..b537f9a 100644 --- a/notion-ruby-client.gemspec +++ b/notion-ruby-client.gemspec @@ -15,11 +15,11 @@ Gem::Specification.new do |s| s.homepage = 'http://github.com/orbit-love/notion-ruby-client' s.licenses = ['MIT'] s.summary = 'Notion API client for Ruby.' - s.add_dependency 'activesupport' + s.add_dependency 'activesupport', '~> 6' s.add_dependency 'dotenv' s.add_dependency 'faraday', '>= 1.0' s.add_dependency 'faraday_middleware' - s.add_dependency 'hashie' + s.add_dependency 'hashie', '~> 5' s.add_development_dependency 'rake', '~> 13' s.add_development_dependency 'rspec' s.add_development_dependency 'rubocop', '~> 0.82.0'