Releases: elixir-inspector/ua_inspector
Releases · elixir-inspector/ua_inspector
v1.0.0
-
Ownership has been transferred to the
elixir-inspector
organisation -
Enhancements
- Documentation is now available inline (
@moduledoc
, ...) with theREADME.md
file targeting the repository (development) instead of releases - The default database path has been set to
Application.app_dir(:ua_inspector, "priv")
- Documentation is now available inline (
-
Backwards incompatible changes
- Internal parser process pooling has been removed. If you require pooling you need to manually wrap
UAInspector.parse/1
(and related functions) - Minimum required elixir version is now
~> 1.5
- Support for
{:system, var}
configuration has been removed - The deprecated mix tasks
ua_inspector.download.databases
andua_inspector.download.short_code_maps
have been removed
- Internal parser process pooling has been removed. If you require pooling you need to manually wrap
v0.20.0
-
Enhancements
- Initializer modules can be defined with additional arguments by using
{mod, fun, args}
- When using the default database you can now set a
:remote_release
to be used for downloading. The default is"master"
but any valid commit from the upstream source is allowed
- Initializer modules can be defined with additional arguments by using
-
Deprecations
- Accessing the system environment by configuring
{:system, var}
or{:system, var, default}
will now result in aLogger.info/1
message and will stop working in a future release - The download tasks
ua_inspector.download.databases
andua_inspector.download.short_code_maps
are now deprecated and will be removed in a future release
- Accessing the system environment by configuring
v0.19.2
v0.19.1
v0.19.0
-
Enhancements
- All database files (parser databases and short code maps) can be downloaded using a single mix task
ua_inspector.download
- Downloading the databases ensures hackney is started to allow calling
mix run --no-start -e "UAInspector.Downloader.download()"
- Finding the data table is now done via a named lookup table instead of calling the database state server
- If you need to check if all databases are loaded (i.e. "no longer empty") you can use
UAInspector.ready?/0
- OS Families are no longer hardcoded inside
Util.OS
but read from the original source and stored in a short code map - OS Families used for desktop detection are no longer hardcoded inside
Util.OS
but read from the original source and stored in a short code map - Reloading will now issue a warning if no database path is configured while resuming operation with an empty database
- All database files (parser databases and short code maps) can be downloaded using a single mix task
-
Soft deprecations (no warnings)
- The individual download tasks for databases and short code maps have been removed from the documentation. They are still completely functional but will eventually be removed after a proper deprecation phase
v0.18.0
-
Enhancements
- Configuration can be done on supervisor (re-) start or when running the mix download tasks by setting a
{mod, fun}
tuple for the config key:init
. This method will be called without arguments. - Old data tables are deleted with a configurable delay after reloading to avoid race conditions (and the resulting empty lookup responses)
- Configuration can be done on supervisor (re-) start or when running the mix download tasks by setting a
-
Bug fixes
- ETS tables of short code maps are now properly cleaned after reload
-
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
- Support for