Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.97 KB

CHANGELOG.md

File metadata and controls

63 lines (45 loc) · 1.97 KB

Changelog

[1.1.0] - 2023-07-13

New

  • Custom run_modes
  • XlsxInput without headers
  • Custom reset hook
  • Increment counters by a given amount

BREAKING CHANGES

WorkerTools::Errors::Invalid has being replaced with WorkerTools::Errors::Silent

The method non_failure_error? has being replaced with silent_error?

1.0.0 - 2022-05-20

Compared to 0.2.1

New

  • Namespaced errors and non failure logic
  • Support for status running and complete_with_warnings
  • Benchmark wrapper
  • Counters wrapper
  • Notes instead of information field
  • Filter for slack errors (slack_error_notifiable)
  • Model attachments convention
  • Complete specification of csv open arguments

BREAKING CHANGES

Instead of writing the final csv or xlsx to a folder, the gem assumes that the model provides an add_attachment method.

Both csv and xlsx output modules use entry hashes for content (csv_output_entries, xlsx_output_entries). The mapper methods csv_output_row_values and xlsx_output_row_values do not need (in most cases) to be defined, there is a default now. See the complete examples in the README.

These methods were renamed

  • xlsx_output_values => xlsx_output_row_values
  • xlsx_insert_headers => xlsx_output_insert_headers
  • xlsx_insert_rows => xlsx_output_insert_rows
  • xlsx_iterators => xlsx_output_iterators
  • xlsx_style_columns => xlsx_output_style_columns
  • xlsx_write_sheet => xlsx_output_write_sheet

These methods were removed

  • add_info in favor of add_note
  • create_model_if_not_available, a model is always created.
  • format_log_message, format_info_message in favor of format_message
  • csv_output_target
  • cvs_output_target_folder
  • csv_output_target_file_name
  • csv_ouput_ensure_target_folder
  • csv_output_write_target
  • xlsx_output_target
  • xlsx_output_target_folder
  • xlsx_ensure_output_target_folder
  • xlsx_write_output_target