Skip to content

v0.2.0

Latest

Choose a tag to compare

@dhedlund dhedlund released this 28 Jan 21:15
· 1 commit to master since this release

[0.2.0] - 2026-01-28

Breaking Changes

See UPGRADING.md for detailed migration steps.

  • Require Ruby >= 3.1
  • Add csv and bigdecimal as gem dependencies (no longer default gems in Ruby 3.4+)
  • Replace multi_json with stdlib json (JSON::ParserError instead of MultiJson::DecodeError)
  • Drop Rails 4.x and 5.x support; minimum is now Rails 7.2

Added

  • Add CONTRIBUTING.md with development setup and architecture overview
  • Add explicit backend: :auto option for discoverable backend auto-detection

Changed

  • require "importu" now loads the Importer class (previously required explicit require "importu/importer")
  • Update README with Quick Start, Sources, and Allowed Actions sections
  • Improve YARD documentation coverage (55% to 70%+)
  • Improve MissingField error to include available fields from source data
  • Improve error messages when create/update actions are not allowed (now includes fix guidance)
  • Document before_save as a backend hook that backends may choose to honor
  • Extract AR-specific error normalization from Summary into ActiveRecord backend
  • InvalidRecord now accepts normalized_message for aggregation-friendly error messages

Fixed

  • Fix datetime converter to avoid Rails deprecation warning
  • Fix validation_errors not being passed to InvalidRecord in ActiveRecord backend
  • Remove phantom require for nonexistent backends/ruby file
  • Add explicit require for delegate stdlib
  • Add explicit require for date stdlib
  • Add explicit require for forwardable stdlib
  • Fix ConverterStub to properly initialize Proc superclass
  • Fix keyword argument splatting throughout codebase
  • Fix CSV source to create fresh reader on each rows call
  • Fix JSON source to handle empty documents
  • Fix ActiveRecord backend for Rails 7+ errors API