phacks / notion-ruby-client

A Ruby client for the Notion API
MIT License
117 stars 25 forks source link

faraday_middleware is deprecated #38

Closed espen closed 1 year ago

espen commented 1 year ago

See https://github.com/lostisland/faraday_middleware#%EF%B8%8F-deprecation-warning-%EF%B8%8F

Tao-Galasse commented 1 year ago

Any news on this, please ? 🙏

I need to upgrade faraday to 2.0 to fix some issues with other gems which have been updated, but notion-ruby-client is blocking me to do it, resulting in my app being basically broken 😞

Tao-Galasse commented 1 year ago

I tried to fix it by myself; I don't know if it's the cleanest way to do it, but at least it passes all rspec tests. The PR is here => #42

If you want to use it in your project while this still isn't merged and pushed on RubyGems, you can add this line to your Gemfile : gem 'notion-ruby-client', git: 'https://github.com/Tao-Galasse/notion-ruby-client'

phacks commented 1 year ago

Apologies for the absence of updates in such a long time, and thanks for your patience. Thanks to @Tao-Galasse, this is now fixed in the 1.1.0 version!