All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fix array splat errors under Ruby 3 (PR thanks to @evgeni)
- Add
AS_DEPRECATION_DISABLE
environment variable to fully disable ASDT. - Support shorter
ASDT_
prefix for all environment variables.
- Fix YAML safe load error under Ruby 2.0.
- Add pause!/resume! API to temporarily queue deprecation processing.
- Fix engine root search error when engine name is given as a symbol.
- Deprecation messages are matched by prefix, so only the first part of the message needs to be stored on the whitelist entry.
- Fix error loading empty whitelist file.
- Multi-line deprecation messages are matched line-by-line, so only the first lines need to be stored in the whitelist entry.
- Use safe YAML load on configuration files.
- Fix duplicate entries created during record mode.
- Fix Rails 5 callstack compatibility when matching deprecations.
- Fix array comparison error when matching entries without callstacks.
- Add
AS_DEPRECATION_WHITELIST
environment variable to load/write whitelist to a different path. - Load and merge whitelist config files from each Rails engine root.
- Add
engine
config option to whitelist, matches engine name. - Add whitelist API to add new entries programmatically.
- Raise errors for unknown config options in whitelist.
- Fix callstack matching against whitelist with relative paths.
- Initial release, supporting raising of exceptions and recording mode.