Skip to content

v1.1.0

Compare
Choose a tag to compare
@mneudert mneudert released this 03 Jul 18:18
· 181 commits to master since this release
fec5723
  • Enhancements

    • Configuring startup_sync: true allows you to ensure a synchronous database load is attempted before allowing to parse referers
    • Database entries are now stored in a single named table instead of using an intermediate reference table
    • Default configuration entries for files and urls are available through RefInspector.Config.default_files/0 and RefInspector.Config.default_urls/0
    • Output of mix task ref_inspector.download can be prevented by passing --quiet upon invocation. This does NOT imply --force and will still ask for confirmation
    • Passing async: false to RefInspector.reload/1 allows you to block your calling process until the reload has finished
    • The library used to download the database files can be changed by configuring a module implementing the RefInspector.Downloader.Adapter behaviour
    • The library used to read YAML files can be changed by using the :yaml_file_reader configuration
  • Deprecations

    • Several functions are now declared internal and will result in a Logger.info/1 message when called until they will be eventually removed:
      • RefInspector.Downloader.path_local/1
      • RefInspector.Downloader.path_remote/1
      • RefInspector.Downloader.read_remote/1
      • RefInspector.Downloader.README.path_local/0
      • RefInspector.Downloader.README.path_priv/0