diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 0ebf8644a..4e063d634 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -34,10 +34,20 @@ endif::[] [[release-notes-4.x]] === Ruby Agent version 4.x +[[release-notes-4.7.1] +==== 4.7.1 + [float] ===== Fixed +- Skip capturing cookie header when it's set separately {pull}1405[#1405] +- Changes/fixes to metadata.cloud.* fields collected for GCP {pull}1415[#1415] +- Pin version of bigdecimal for ruby 2.4 {pull}1417[#1417] +- Use response method on Faraday error for older versions of the library {pull}1419[#1419] +- Fix ActionDispatchSpy#render_exception for Rails 7.1 {pull}1423[#1423] +- Use graphql < 2.1 when Ruby < 2.7 {pull}1425[#1425] - Guard against various Faraday exception response formats {pull}1428[#1428] + [[release-notes-4.7.0]] ==== 4.7.0 diff --git a/Gemfile b/Gemfile index 942d78205..19f70996a 100644 --- a/Gemfile +++ b/Gemfile @@ -48,7 +48,7 @@ else end if !defined?(JRUBY_VERSION) gem 'google-protobuf', '< 3.12' if RUBY_VERSION < '2.5' - gem 'google-protobuf', '< 3.25' if RUBY_VERSION < '2.7' && RUBY_VERSION > '2.5' + gem 'google-protobuf', '< 3.23' if RUBY_VERSION < '2.7' && RUBY_VERSION > '2.5' end gem 'grpc' if !defined?(JRUBY_VERSION) && RUBY_VERSION < '3.0' gem 'json' diff --git a/lib/elastic_apm/version.rb b/lib/elastic_apm/version.rb index 65b0cd77f..8bcc8ccf3 100644 --- a/lib/elastic_apm/version.rb +++ b/lib/elastic_apm/version.rb @@ -18,5 +18,5 @@ # frozen_string_literal: true module ElasticAPM - VERSION = '4.7.0' + VERSION = '4.7.1' end diff --git a/spec/build/update.sh b/spec/build/update.sh index 6518daaca..9fb02a233 100755 --- a/spec/build/update.sh +++ b/spec/build/update.sh @@ -11,6 +11,10 @@ if [[ "${FRAMEWORK}" =~ ^rails-4\.([0-9]) ]]; then gem i "rubygems-update:~>2.7" --no-document update_rubygems --no-document gem i "bundler:~>1.17.3" --no-document +elif [[ "${RUBY_VERSION}" =~ ^2\.(6|7).+ ]]; then + gem i "rubygems-update:~>3.4.0" --no-document + update_rubygems --no-document + gem i bundler --no-document # Install specific dependencies for 2.4.x and 2.5.x ruby versions elif [[ "${RUBY_VERSION}" =~ ^2\.(4|5).+ ]]; then gem i "rubygems-update:~>2.7" --no-document diff --git a/spec/integration/graphql_spec.rb b/spec/integration/graphql_spec.rb index 219e0d7b0..a521c93f7 100644 --- a/spec/integration/graphql_spec.rb +++ b/spec/integration/graphql_spec.rb @@ -181,7 +181,7 @@ def execute } ' - wait_for transactions: 1, spans: 13 + wait_for timeout: 10, transactions: 1, spans: 12 expect(resp.status).to be 200