Skip to content

Latest commit

 

History

History
97 lines (61 loc) · 2.61 KB

CHANGELOG.md

File metadata and controls

97 lines (61 loc) · 2.61 KB

Change Log

3.0.4 / 2024-06-04

  • Fix missing flash messages. Thanks @nanjakkun

3.0.3 / 2022-04-22

  • Allow importing false values. Thanks @Wowu

3.0.2 / 2022-04-17

  • Calculate the new_attrs after the before_import_attributes hook
  • Fix GitHub Actions CI
  • Bump Nokogiri in tests

3.0.1 / 2022-04-10

  • pass new_attrs instead of record to before_import_attributes hook. Thanks @Wowu
  • Use associated_primary_key for models with associations (compat fix for Rails Admin 3.x)
  • Bump Nokogiri in tests

3.0.0 / 2022-01-29

  • BREAKING CHANGE: Templates are now compatible with Rails Admin 3.x. For Rails Admin 2.x, continue using version 2.3.1. Thanks @Wowu

2.3.1 / 2022-01-29

  • Mark compatibility to Rails Admin < 3.0
  • Bump Nokogiri in tests

2.3.0 / 2021-06-11

  • Added an option to pass filename for each record. Thanks @waheedi
  • Enumeration translation. Thanks @zaknafain

2.2.0 / 2019-02-24

  • Switch to using CharlockHolmes for character detection. Thanks @codealchemy
  • Readme improvements. Thanks @olleolleolle

2.1.0 / 2017-11-18

  • French translation. Thanks @rodinux
  • Check for blank headers. Thanks @JuandGirald
  • Italian translation. Thanks @aprofiti
  • Remove haml dependency. Thanks @prem-prakash
  • Japanese translation. Thanks @higumachan
  • Multiple mapping keys. Thanks @dmitrypol
  • Add more hooks during import

2.0.0 / 2016-05-04

  • Pull in the encoding list from the Encoding module instead of RailsAdmin. Thanks @baldursson, @patricklewis and @lucasff

1.4.0 / 2016-02-26

  • Implement row limit (default maximum is 1000 rows). Thanks @codealchemy!
  • Document mapping keys. Thanks @zrisher!
  • Ignore columns with blank headers in CSV files

1.3.1 / 2016-02-11

  • Bugfix: Create log/import directory when logging config option is enabled. Thanks @yovasx2!

1.3.0 / 2015-11-24

  • Use where.first instead of find_by so update works for Mongoid

1.2.0 / 2015-08-27

  • Existing records can now be updated based on a belongs_to foreign key. Thanks Diego Carrion!
  • Add Excel file format support
  • Autoload the Excel import and encoding detection gems

1.1.0 / 2015-08-04

  • csv_options config added. Thanks Maksim Burnin!

1.0.0 / 2015-06-09

Major rework of the gem by new maintainer.

  • Support for Mongoid
  • Changed model import hooks to take 1 hash argument
  • Use Rails Admin abstract model instead of ActiveRecord reflection for better compatibility with custom associations
  • Support CSV and JSON
  • Update styling for Bootstrap 3
  • Added tests

0.1.9 / 2014-05-22

  • Updated/corrected README
  • Merged ImportLogger work
  • Merged modifications to import view
  • Merged post save hook on models