Releases: ryz310/my_api_client
Releases · ryz310/my_api_client
v1.3.1 (Jun 10, 2025)
v1.3.0 (Jun 10, 2025)
Feature
Dependabot
- #1063 Bump rexml from 3.3.8 to 3.3.9 (@ryz310)
- #1081 Bump webmock from 3.24.0 to 3.25.0 (@ryz310)
- #1074 Bump faraday from 2.12.0 to 2.12.2 (@ryz310)
- #1078 Bump rubocop-performance from 1.22.1 to 1.23.1 (@ryz310)
- #1076 Bump activesupport from 7.2.2 to 7.2.2.1 (@ryz310)
- #1092 Bump pry-byebug from 3.10.1 to 3.11.0 (@ryz310)
- #1088 Bump rake from 13.2.1 to 13.3.0 (@ryz310)
- #1090 Bump rubocop-rake from 0.6.0 to 0.7.1 (@ryz310)
- #1091 Bump rubocop-rspec_rails from 2.30.0 to 2.31.0 (@ryz310)
- #1089 Bump rspec from 3.13.0 to 3.13.1 (@ryz310)
Misc
v1.2.0 (Sep 06, 2024)
Feature
-
#1048 Support lazy evaluation for request headers and body parameters (@ryz310)
The API client allows lazy evaluation for request headers and body parameters.
For example, a time-limited token can be issued immediately before the request.class ExampleApiClient < MyApiClient::Base def get_users get 'users', headers: headers, query: { key: 'value' } end private def headers lambda do new_access_token = issue_new_access_token! { 'Content-Type': 'application/json;charset=UTF-8', 'Authorization': "Bearer #{new_access_token}", } end end end
Misc
- #1049 Update supporting ruby and rails versions (@ryz310)
Support Ruby 3.3, Rails 7.1 and 7.2
End of supporting Ruby 3.0 👋
Dependabot
- #982 Bump rspec from 3.12.0 to 3.13.0 (@ryz310)
- #1006 Bump rake from 13.2.0 to 13.2.1 (@ryz310)
- #1018 Bump bugsnag from 6.26.4 to 6.27.0 (@ryz310)
- #1020 Bump webmock from 3.23.0 to 3.23.1 (@ryz310)
- #1031 Bump rubocop-performance from 1.21.0 to 1.21.1 (@ryz310)
- #1032 Bump bugsnag from 6.27.0 to 6.27.1 (@ryz310)
- #1043 Bump rexml from 3.3.3 to 3.3.6 (@ryz310)
- #1045 Bump activesupport from 7.1.3.4 to 7.1.4 (@ryz310)
- #1046 Bump faraday from 2.10.1 to 2.11.0 (@ryz310)
- #1047 Bump yard from 0.9.36 to 0.9.37 (@ryz310)
v1.1.0 (Jan 09, 2024)
v1.0.0 (Dec 07, 2023) 🎉
v0.27.0 (Nov 13, 2023)
Feature
api_clinet = ExampleApiClient.new(access_token: 'access_token')
# You can retrieve sawyer response with return value
api_clinet.get_users #=> #<Sawyer::Resource>
# You can retrieve sawyer response with block
api_clinet.get_users do |response|
response #=> #<Sawyer::Response>
response.headers #=> #<Hash>
response.data #=> #<Sawyer::Resource>
endBreaking Change
Dependabot
- #919 Bump bugsnag from 6.25.2 to 6.26.0 (@ryz310)
- #929 Bump webmock from 3.19.0 to 3.19.1 (@ryz310)
- #934 Bump rubocop-performance from 1.19.0 to 1.19.1 (@ryz310)
- #933 Bump faraday from 2.7.10 to 2.7.11 (@ryz310)
- #939 Bump jsonpath from 1.1.4 to 1.1.5 (@ryz310)
- #942 Bump rake from 13.0.6 to 13.1.0 (@ryz310)
- #945 Bump activesupport from 7.1.1 to 7.1.2 (@ryz310)
Misc
v0.26.0 (Jul 04, 2023)
Bugfix
Dependabot
v0.25.0 (Feb 12, 2023)
v0.24.0 (Nov 07, 2022)
Feature
Rubocop Challenge
- #757 RSpec/Rails/HaveHttpStatus-20220712233101 (@ryz310)
- #777 RSpec/ClassCheck-20220912233101 (@ryz310)
- #790 RSpec/Rails/InferredSpecType-20221023233100 (@ryz310)
Dependabot
- #758 ryz310/dependabot/bundler/rubocop-performance-1.14.3 (@ryz310)
- #772 Bump pry-byebug from 3.10.0 to 3.10.1 (@ryz310)
- #773 Bump webmock from 3.17.1 to 3.18.1 (@ryz310)
- #775 Bump activesupport from 7.0.3.1 to 7.0.4 (@ryz310)
- #778 Bump rspec_junit_formatter from 0.5.1 to 0.6.0 (@ryz310)
- #780 Bump faraday from 2.5.2 to 2.6.0 (@ryz310)
- #791 Bump rspec from 3.11.0 to 3.12.0 (@ryz310)
Misc
v0.23.0 (Jun 08, 2022)
Feature
Breaking Change
Rubocop Challenge
- #698 RSpec/VerifiedDoubleReference-20220419233100 (@ryz310)
- #700 Style/FetchEnvVar-20220421233101 (@ryz310)
- #728 Re-generate .rubocop_todo.yml with RuboCop v1.30.1 (@ryz310)
Dependabot
- #658 ryz310/dependabot/bundler/rspec_junit_formatter-0.5.1 (@ryz310)
- #666 Bump bugsnag from 6.24.1 to 6.24.2 (@ryz310)
- #667 Bump rubocop-rspec from 2.7.0 to 2.8.0 (@ryz310)
- #671 Bump rspec from 3.10.0 to 3.11.0 (@ryz310)
- #678 Bump faraday from 1.10.0 to 2.2.0 (@ryz310)
- #702 Bump jsonpath from 1.1.0 to 1.1.2 (@ryz310)
- #715 Bump activesupport from 7.0.2.4 to 7.0.3 (@ryz310)
- #726 Bump yard from 0.9.27 to 0.9.28 (@ryz310)
- #729 Bump rubocop-performance from 1.14.1 to 1.14.2 (@ryz310)
- #730 Bump sawyer from 0.9.1 to 0.9.2 (@ryz310)