geolix v2.0.0 Release Notes

Release Date: 2020-09-20 // almost 4 years ago
    • ✨ Enhancements

      • Adapters can now utilize a :delayed response from the Geolix.Adapter.load_database/1 callback combined with Geolix.Database.Loader.set_loaded/1 for a lazy initialization. The database will not be used for lookups until set to the :loaded state
      • Database worker supervision is now done using a DynamicSupervisor
      • Unloading a database can now be done by passing the complete database configuration instead of only the :id
    • 🐛 Bug fixes

      • Databases loaded without an adapter configuration can now be properly unloaded to prevent repeated error messages from Geolix.reload_databases/0
      • The optional metadata/1 callback for adapters is now properly treated as optional
    • Backwards incompatible changes

      • Internal adapter process pooling has been removed
      • Minimum required Elixir version is now ~> 1.7

Previous changes from v1.1.0

    • ✨ Enhancements
      • Configuring startup_sync: true allows you to ensure a synchronous database load is done during startup. This may have unwanted consequences when your loading process takes longer than around 5 seconds (default startup timeout), e.g. when loading a database from a remote location
      • Usage of deprecated Supervisor functions has been removed (#30)