Releases: rails/activeresource
v6.2.0
What's Changed
- Fix private klass method warning by @djmb in #427
 - Reset 
ActiveResource::HttpMockin test teardown by @seanpdoyle in #412 - Set 
ActiveResource::Base.loggerduring boot by @seanpdoyle in #411 - Add 
bodyandheaderstorequest.active_resourcenotification by @seanpdoyle in #413 - Mix-in 
ActiveSupport::Rescuableby @seanpdoyle in #423 - Add 
ActiveResource::Base.collection_urlby @seanpdoyle in #426 - Fix 
ActiveResource::HttpMock.enable_net_connection!when Connection is first used by @khuston in #425 - Raise ActiveResource::ConnectionRefusedError on Errno::ECONNREFUSED by @balvig in #396
 - Drop support to Ruby 2.6 and Rails 6.0 by @rafaelfranca in #430
 - Support Strong Parameters by @seanpdoyle in #419
 - Support XML and JSON inflector acronyms by @seanpdoyle in #416
 - Integrate with Active Record's 
.serializeby @seanpdoyle in #420 - Introduce 
ActiveResource::WhereClauseby @seanpdoyle in #422 
New Contributors
- @djmb made their first contribution in #427
 - @seanpdoyle made their first contribution in #412
 - @khuston made their first contribution in #425
 
Full Changelog: v6.1.4...v6.2.0
v6.1.4
What's Changed
- ActiveSupport::Deprecation singleton was deprecated in 7.1, not 7.2 by @brandoncc in #407
 
New Contributors
- @brandoncc made their first contribution in #407
 
Full Changelog: v6.1.3...v6.1.4
v6.1.3
v6.1.2
What's Changed
- Replace deprecated 
ProxyObjectwithBasicObjectby @Earlopain in #402 - HTTP status 402 PaymentRequired by @wilsondealmeida in #401
 
New Contributors
- @Earlopain made their first contribution in #402
 - @wilsondealmeida made their first contribution in #401
 
Full Changelog: v6.1.1...v6.1.2
v6.1.1
What's Changed
- Fix URI deprecation warnings by @casperisfine in #404
 
Full Changelog: v6.1.0...v6.1.1
v6.1.0
What's Changed
- Always return a boolean value for 
ActiveResource::Base#exists?by @stefanvermaas in #375 - Support usage of 
invalid?andvalidate!methods fromActiveModel::Validationsby @balvig in #379 - Fix subclasses not inheriting headers set in the superclass by @meanphil in #383
 - Encode ID parameter for custom methods by @igor-ladkin in #399
 - [Enhancement] Allows HttpMock to ignore query params from url path if given the option by @muhammadnawzad in #395
 
New Contributors
- @stefanvermaas made their first contribution in #375
 - @balvig made their first contribution in #379
 - @amatsuda made their first contribution in #389
 - @davidstosik made their first contribution in #390
 - @meanphil made their first contribution in #383
 - @igor-ladkin made their first contribution in #399
 - @rafaelfranca made their first contribution in #400
 - @muhammadnawzad made their first contribution in #395
 
Full Changelog: v6.0.0...v6.1.0
6.0.0
Breaking changes
- Drop support to Ruby < 2.6 and Rails < 6.0
 
What's Changed
- Create PreconditionFailed (412) exception by @bbraschi in #302
 - Adds TooManyRequests (429) exception by @bradleypriest in #304
 - Fix active job serializer railtie by @gmcgibbon in #310
 - Fix Rails 6.1 compatibility by @casperisfine in #335
 - Set frozen_string_literal: true in the generated code by @casperisfine in #336
 - Stop using the deprecated URI.parser by @casperisfine in #338
 - Fix the missed URI.parser references by @casperisfine in #339
 - Fix find_every instantiating records from symbol and string without prefix_options by @ivan05almeida in #348
 - Add support to set bearer token connection through Base class by @ivan05almeida in #345
 - Fixed multi-threading race condition issue by @marisveide in #349
 - Fixed ActiveResource::ConnectionError#to_s to return a message which … by @faultier92 in #353
 - Stop requiring the useless and deprecated core_ext/uri by @casperisfine in #366
 - Changing headers on base class doesn't change them in subclasses by @adrien-k in #359
 
New Contributors
- @bbraschi made their first contribution in #302
 - @maurcarvalho made their first contribution in #307
 - @bradleypriest made their first contribution in #304
 - @pilaf made their first contribution in #315
 - @eitoball made their first contribution in #306
 - @okuramasafumi made their first contribution in #320
 - @larouxn made their first contribution in #321
 - @maria-kravtsova made their first contribution in #323
 - @casperisfine made their first contribution in #335
 - @ivan05almeida made their first contribution in #348
 - @marisveide made their first contribution in #349
 - @faultier92 made their first contribution in #353
 - @luk4s made their first contribution in #356
 - @jbampton made their first contribution in #357
 - @filabreu made their first contribution in #364
 - @aclemons made their first contribution in #367
 - @obahareth made their first contribution in #373
 - @adrien-k made their first contribution in #359
 
Full Changelog: v5.1.1...v6.0.0
5.1.0
- 
Improve support of Active Resource objects inside fibers.
 - 
Add support to Active Model Serializers.
 - 
Fix error when trying to parse
nilas a JSON response. - 
Fix
exists?to return the right value when the response code is between 200 and 206. - 
Match the log level to the HTTP response code.
 - 
Add
ActiveResource::Connection.loggeraccessors to configure a specific logger instance for the
connection object. - 
Add
ActiveResource::Base#element_urlmethod. - 
Add Active Job serialization support with Rails 6.
 - 
Support lazy setting of configuration options.
 - 
Use
UnnamedResourcewhen resource fails to create normally. - 
Add support to Bearer Token Authorization header to connection.
 
4.1.0
Enhancements
- Adds activeresource.rb so 
require: 'active_resource'is no longer needed
in Gemfile. (#95, Pedro Nascimento) ActiveResource::Collectiondelegates all instance methods forArray.
(#101, printercu)- Railtie enables configuration and dev reloading of observers just like
ActiveRecord when using Active Resource with Rails. Active Resource also now runs Active Support
load hooks for:active_resource. (#109, Ches Martin) 
Fixes
- Improvement to thread safety of headers. (#61, niedfelj)
 - A 
belongs_tochild with a missing parent ID returns nil for the
association instead of making a bogus remote call. (#68, Javier Saldana) - A 
has_manyassociation does not trigger a remote call if parent is a new
record. (#97, Sasha Shamne)