Skip to content

Releases: elixir-inspector/ua_inspector

v0.15.0

30 Dec 14:06
00fd940
Compare
Choose a tag to compare
  • Enhancements

    • All databases can be reloaded (asynchronously) using UAInspector.reload/0
    • Supervision can now be done without starting the application (#8)
    • The database downloader has been promoted to a directly usable module
  • Bug fixes

    • If a device has no type configured in the database previously nil was
      returned instead of the expected :unknown

v0.14.0

31 May 18:20
a270554
Compare
Choose a tag to compare
  • Enhancements

    • Empty user agents ("" or nil) now return a result without performing an actual lookup. By definition an empty user agent is never detected as a bot
    • 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 functions (#7)

v0.13.0

08 Sep 16:31
Compare
Choose a tag to compare
  • Enhancements
    • Engine versions are extracted
    • Remote url of database files is now configurable. Due to naming changes a complete re-download is necessary
    • Remote url of short code map files is now configurable

v0.12.0

18 Aug 17:07
Compare
Choose a tag to compare
  • Enhancements

    • Database downloads are done using hackney in order to prepare an upcoming auto-update feature
    • If the initial load of a database (during process initialisiation) fails a message will be sent through Logger.info/1
    • If the initial load of a short code map (during process initialisation) fails a message will be sent through Logger.info/1
  • Backwards incompatible changes

    • Completely unknown devices now yield :unknown instead of a struct with all values set to :unknown
    • 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.11.1

02 Apr 11:40
Compare
Choose a tag to compare
  • Bug fixes
    • Properly handles short code map files after upstream changes

v0.11.0

28 Mar 15:06
Compare
Choose a tag to compare
  • Enhancements
    • Databases are reloaded if a storage process gets restarted
    • HbbTV version can be fetched using hbbtv?/1
    • Path can be configured by accessing the system environment (#5)
    • Short code mappings are reloaded if a storage process gets restarted

v0.10.0

10 Nov 21:21
Compare
Choose a tag to compare
  • Bug fixes
    • Fixes problems with mix tasks under case insensitive file systems

v0.9.0

17 Oct 14:16
Compare
Choose a tag to compare

Enhancements

  • Convenience method to check if user agent belongs to a bot (bot?/1)
  • Convenience method to parse without checking for bots (parse_client/1)
  • Operating system platform included in result

v0.8.0

16 Jul 16:56
Compare
Choose a tag to compare
  • Enhancements
    • Bots are included in the detection
    • Short code mappings are fetched and parsed on demand
  • Backwards incompatible changes
    • Short code maps are no longer included in the repository
    • Renamed mix task databases.download to download.databases

v0.7.0

31 May 11:21
Compare
Choose a tag to compare
  • Enhancements
    • Dependencies not used in production builds are marked as optional
    • Displays expanded download path for mix ua_inspector.databases.download
    • Verification script now automatically downloads database files
    • Worker pool options are no longer defined at compile time
  • Backwards incompatible changes
    • Pool configuration is now expected to be a Keyword.t