Skip to content

Releases: elixir-inspector/ua_inspector

v1.0.0

20 Apr 14:58
8a9b849
Compare
Choose a tag to compare
  • Ownership has been transferred to the elixir-inspector organisation

  • Enhancements

    • Documentation is now available inline (@moduledoc, ...) with the README.md file targeting the repository (development) instead of releases
    • The default database path has been set to Application.app_dir(:ua_inspector, "priv")
  • 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 and ua_inspector.download.short_code_maps have been removed

v0.20.0

10 Mar 12:04
24887fd
Compare
Choose a tag to compare
  • 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
  • Deprecations

    • Accessing the system environment by configuring {:system, var} or {:system, var, default} will now result in a Logger.info/1 message and will stop working in a future release
    • The download tasks ua_inspector.download.databases and ua_inspector.download.short_code_maps are now deprecated and will be removed in a future release

v0.19.2

12 Feb 18:03
581ccce
Compare
Choose a tag to compare
  • Bug fixes
    • Short code maps are now stored in the correct file encoding (UTF-8) to allow parsing short code maps with characters like umlauts (#15)

v0.19.1

05 Jan 12:24
db356fd
Compare
Choose a tag to compare
  • Enhancements
    • The (soft) deprecated download tasks ua_inspector.download.databases and ua_inspector.download.short_code_maps are no longer displayed in the output of mix help

v0.19.0

03 Jan 12:16
541677e
Compare
Choose a tag to compare
  • 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
  • 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

15 Aug 11:32
02eee64
Compare
Choose a tag to compare
  • 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)
  • 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

v0.17.0

18 Feb 12:58
6bf8791
Compare
Choose a tag to compare
  • Enhancements
    • References to piwik (like database URLs) have been updated to reflect the rename to matomo

v0.16.1

17 Jan 21:00
5c7c652
Compare
Choose a tag to compare
  • Bug fixes
    • Broken module naming for the mix download tasks has been fixed (#12)

v0.15.1

17 Jan 21:00
ac3a58c
Compare
Choose a tag to compare
  • Bug fixes
    • Broken module naming for the mix download tasks has been fixed (#12)

v0.16.0

05 Jan 14:51
c44ca6c
Compare
Choose a tag to compare
  • Backwards incompatible changes
    • Minimum required elixir version is now ~> 1.3