Current section

Files

Jump to
ref_inspector CHANGELOG.md
Raw

CHANGELOG.md

# Changelog
## v0.19.0 (2018-02-13)
- Enhancements
- Finding the data table is now done via a named lookup table instead
of calling the database state server
- Old data tables are deleted with a configurable delay after reloading
to avoid race conditions (and the resulting empty lookup responses)
- If you need to check if the database is loaded (i.e. "no longer empty")
you can use `RefInspector.ready?/0`
## v0.18.0 (2017-12-31)
- Enhancements
- Download task name has been shortened to `ref_inspector.download`
- Reloading the database if part of the configuration is missing or broken
(database path / database files) will issue a warning while resuming
operation with an empty database
- Deprecations
- The reload method `RefInspector.reload_databases/0` has been renamed
to `RefInspector.reload/0`
- The mix task `ref_inspector.yaml.download` has been renamed. The
alias in place will be removed in a future version
- Bug fixes
- ETS tables are now properly cleaned after reload
## v0.17.0 (2017-11-15)
- Enhancements
- All databases can be reloaded (asynchronously) using
`RefInspector.reload_databases/0`
- Configuration can be done on supervisor (re-) start by setting a
`{ mod, fun }` tuple for the config key `:init`. This method will be
called without arguments
- When using the mix download task with a default remote configuration an
information README file is placed next to the downloaded file(s)
- Soft deprecations (no warnings)
- Support for `{ :system, "ENV_VARIABLE" }` configuration has been
removed from the documentation. It will eventually be removed completely
after a proper deprecation phase
## v0.16.0 (2017-09-24)
- Backwards incompatible changes
- Minimum required elixir version is now "~> 1.3"
## v0.15.0 (2017-09-12)
- Enhancements
- Supervision can now be done without starting the application
- The database downloader has been promoted to a directly usable module
## v0.14.0 (2017-05-31)
- Enhancements
- Empty referers (`""` or `nil`) now return a result without performing
an actual lookup
- System environment configuration can set an optional default value
to be used if the environment variable is unset
- Bug fixes
- Properly handles `nil` values passed to the lookup
- Backwards incompatible changes
- Support for single `:remote_url` download configuration has been removed
## v0.13.0 (2016-11-19)
- Enhancements
- Downloaded files can be automatically stored under a custom filename
differing from the url basename
- Multiple files can be configured for download
- Deprecations
- Configuring a single `:remote_url` for download has been deprecated
## v0.12.0 (2016-09-22)
- Enhancements
- Multiple databases can be configured to load during startup.
Lookups are done in order until a match is found
- Backwards incompatible changes
- Downloaded databases are stored under the basename of the remote file
instead of the filename of the "first configured database"
- Support for `:yaml` as database configuration has been removed
## v0.11.0 (2016-09-07)
- Enhancements
- Remote url of database file is now configurable
- Deprecations
- Configuring a single `:yaml` as the database has been deprecated
- Backwards incompatible changes
- Support for loading a database file at runtime
using `RefInspector.load/1` has been removed
## v0.10.0 (2016-08-19)
- Enhancements
- Database download is done using hackney in order to prepare an
upcoming auto-update feature
- If the initial load of the database (during process initialisation)
fails a message will be sent through `Logger.info/1`
- Backwards incompatible changes
- Downloads are now done using `:hackney` instead of `mix`. This may force
you to manually reconfigure the client
- Minimum required elixir version is now "~> 1.2"
- Minimum required erlang version is now "~> 18.0"
## v0.9.0 (2016-03-30)
- Enhancements
- Database is reloaded if the storage process gets restarted
- Path can be configured by accessing the system environment
- Referer database can be reloaded usind `RefInspector.load/1`
- Backwards incompatible changes
- Reloading the database drops previously loaded (unconfigured) entries
## v0.8.0 (2015-07-18)
- Enhancements
- Domains to be detected as `:internal` can be configured
## v0.7.0 (2015-06-01)
- Enhancements
- Dependencies not used in production builds are marked as optional
- Displays expanded download path for `mix ref_inspector.yaml.download`
- Verification script now automatically downloads database file
- Worker pool options are no longer defined at compile time
- Backwards incompatible changes
- Pool configuration is now expected to be a `Keyword.t`
## v0.6.0 (2015-04-03)
- Initial Release