Releases: kimlai/tz_world
Releases · kimlai/tz_world
TzWorld version 1.4.1
TzWorld version 1.4.0
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
orruntime.exs
. If so configured, that backend will be the default for calls toTzWorld.timezone_at/1
. For example:
config :tz_world,
default_backend: MyTzWorldBackend
-
Adds a
--trace
flag tomix 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
Bug Fixes
- Fixes compiler warnings for Elixir 1.17.
Tz World version 1.3.2
Bug Fixes
- Fixes compiler warnings for Elixir 1.16
Tz World version 1.3.1
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
Enhancements
- Add httpc set_options/1 support. Thanks to @gabrielgiordan for the PR (and the PR for fixing CI).
TzWorld version 1.2.0
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
Enhancements
- Replace
Application.get_env/2
withApplication.compile_env/2
to remove warnings on Elixir 1.14. Now requires Elixir 1.10 as a minimum version.
TzWorld version 1.0.0
Enhancements
- Update to version 1.0.0 since the API has been stable for a year.
TzWorld version 0.6.0
Bug Fixes
-
Honour the configuration for
:data_dir
. Thanks to @superhawk610. Fixes #12 -
Be more resilient if the
:dets
file is not in place