Skip to content

Releases: felt/geo_postgis

v3.7.0

08 May 17:35
f8f981c
Compare
Choose a tag to compare

New features

Updates

  • ex_doc updated to v0.32.1

Full Changelog: v3.6.0...v3.7.0

v3.6.0

11 Mar 17:59
25e4c84
Compare
Choose a tag to compare

New feature

  • Add support for LineStringZM, with thanks to new contributor @versilov (#160)

Fixes and updates

  • Silence compile warning by updating geo from 3.5.1 to 3.6.0
  • Misc. dependency updates (ex_doc, ecto, ecto_sql, and postgrex)

v3.5.0

25 Sep 19:10
4ffa64c
Compare
Choose a tag to compare

New features

Bug fix

Compatibility fix

  • Update geometry.ex to force recompilation on upgrade—this should make it unnecessary to do the mix deps.clean described in the upgrade notes to v3.4.4. In my testing, when moving from v3.4.3 to this release, that step was unnecessary; however, beware that it may still be needed when moving from a branch where you're using v3.5.0 to one using v3.4.3 or earlier.

v3.4.4

20 Sep 15:29
b100789
Compare
Choose a tag to compare

As of v3.4.4, geo_postgis is being maintained by the Felt team. As a company building a geospatial product on Elixir, with a track record of supporting open source software, we're excited for the future of the project.

Elixir 1.15 compatibility

This release fixes a major compatibility issue with Elixir v1.15. When compiling a project that depends on geo_postgis prior to this release, you may have seen errors like this:

== Compilation error in file lib/my_app/my_module.ex ==
** (ArgumentError) unknown type Geo.PostGIS.Geometry for field :bounding_box
    (ecto 3.10.3) lib/ecto/schema.ex:2318: Ecto.Schema.check_field_type!/4
    (ecto 3.10.3) lib/ecto/schema.ex:1931: Ecto.Schema.__field__/4
    lib/my_app/my_module.ex:23: (module)

...or:

** (UndefinedFunctionError) function Geo.PostGIS.Geometry.type/0 is undefined (module Geo.PostGIS.Geometry is not available)
    Geo.PostGIS.Geometry.type()

As new contributor @aeruder pointed out, this was due to a change in how Elixir 1.15 prunes code more precisely when compiling dependencies, resulting in the Geo.PostGIS.Geometry module being compiled out if Ecto didn't happen to get compiled before it. This release fixes the issue, but you'll still need to recompile both geo_postgis and ecto to get things working again.

Upgrade notes

If you're using Elixir 1.15, after installing v3.4.4, you'll need to run:

mix deps.clean geo_postgis ecto && mix deps.get

(Alternatively, a full clean build of your project will also do the job.)

Doing so will ensure geo_postgis compiles with the Ecto dependency and fixes the compilation errors noted above.

Note that you'll also need to run the above one-liner if you need to switch back to a previous version of geo_postgis (e.g., when moving between branches). However, if you can stick with the new version going forward, you'll only have to run it once.

Fixed

v3.4.3

20 Jun 22:22
Compare
Choose a tag to compare

v3.4.1

16 Dec 02:26
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.4.0...v3.4.1

v3.4.0

10 Apr 16:54
Compare
Choose a tag to compare
Update erlang version for travis

3.1.0

11 Feb 14:36
7881f03
Compare
Choose a tag to compare
v3.1.0

Update to 3.1.0

2.1.0

28 Aug 14:00
Compare
Choose a tag to compare
v2.1.0

Right ex_doc version

2.0.0

14 Apr 13:41
Compare
Choose a tag to compare
v2.0.0

Prepare for release