Skip to content

Releases: kimlai/tz_world

TzWorld version 1.4.0

28 Sep 23:47
ad6d433
Compare
Choose a tag to compare

Enhancements

  • Adds support for easier configuration of default custom backends. In previous releases, the default backend was resolved by only considering the built-in backends. From this release, a custom backend can be configured in config.exs or runtime.exs. If so configured, that backend will be the default for calls to TzWorld.timezone_at/1. For example:
config :tz_world,
  default_backend: MyTzWorldBackend
  • Adds a --trace flag to mix tz_world.update. This flag will trigger additional logging during the update process including memory utilization on the BEAM.

  • Adds some memory use optimizations during the download process. Relates to #38 but likely does not fully solve this issue.

  • Add support for geo 4.0.

Tz World version 1.3.3

26 May 22:39
c2b9d56
Compare
Choose a tag to compare

Bug Fixes

  • Fixes compiler warnings for Elixir 1.17.

Tz World version 1.3.2

02 Dec 03:26
439c12a
Compare
Choose a tag to compare

Bug Fixes

  • Fixes compiler warnings for Elixir 1.16

Tz World version 1.3.1

16 Aug 23:40
462797d
Compare
Choose a tag to compare

Bug Fixes.

Thanks to @mjquinlan2000 for the report of issues on Elixir 1.15 and OTP 26.

  • Always send a User-Agent header to the Github API to avoid 403 responses.

  • Add :ssl to :extra_applications to support Elixir 1.15 and OTP 26.

  • Update TzWorld.Downloader.get_url/1 to follow the erlef security guidelines.

Tz World version 1.3.0

05 Apr 11:26
7bf83a3
Compare
Choose a tag to compare

Enhancements

TzWorld version 1.2.0

12 Oct 12:10
f23903e
Compare
Choose a tag to compare

Bug Fixes

  • Fix TzWorld.Backend.Dets to not raise an exception if there is no timezone data available.

Enhancements

  • Adds options to mix tzworld.update mix task:
    • --include_oceans will download a 10% larger geojson data set that covers the worlds oceans
    • --force will force a data update, even if the data is the latest release. This can be used
      to switch between data that includes oceans and that which does not.
    • Thanks to @lguminski for the feedback and suggestion.

TzWorld version 1.1.0

25 Aug 21:27
f2257e5
Compare
Choose a tag to compare

Enhancements

  • Replace Application.get_env/2 with Application.compile_env/2 to remove warnings on Elixir 1.14. Now requires Elixir 1.10 as a minimum version.

TzWorld version 1.0.0

18 Oct 19:44
2dfc5c3
Compare
Choose a tag to compare

Enhancements

  • Update to version 1.0.0 since the API has been stable for a year.

TzWorld version 0.6.0

09 Jun 19:57
17a8d69
Compare
Choose a tag to compare

Bug Fixes

  • Honour the configuration for :data_dir. Thanks to @superhawk610. Fixes #12

  • Be more resilient if the :dets file is not in place

TzWorld version 0.5.0

22 May 17:32
b6c66db
Compare
Choose a tag to compare

Bug Fixes

  • Move compile time configuration of the data directory to runtime and remove hard-coded default path

  • Start :inets and :ssl applications in the downloader mix task

  • Add certificate verification when downloading updates to the geo data

Enhancements

  • Document the :data_dir and :cacertfile configuration options it the README.md file

  • The backends :dets and :dets_with_index_cache now open the :dets file as access: :read which prevents errors if the file is abnormally closed.