Skip to content

Releases: mysociety/mapit

Version 2.0

18 Dec 16:15
Compare
Choose a tag to compare
  • Breaking changes
    • Add support for Django 2.0, drop support for older than 1.11.
  • New features
    • Add .map.html endpoint to show map of areas. #307
    • Add support for a 'country' filter in query parameters. #55
    • Improve performance of /nearest using <->. #305
  • Bugfixes:
    • Use 6 decimal places on postcode HTML page. #299
    • Remove workaround for inefficient query planning. #302
  • Development improvements:
    • Support more Debian/Ubuntu versions. #301
    • More tests, improved running with changed settings/order.
    • MapIt international-specific code is now in its own repo.
  • MapIt UK specific:
    • 2017 Boundary-Line imports; new Scilly Isles data, remove references to old ONS codes. #304
    • Use database for co-ordinate transformation. #299

Version 1.6

07 Apr 16:29
Compare
Choose a tag to compare
  • Implement new front end design. #280
  • Add block for extra content in area/postcode info. #284
  • Factor out MapIt global code to its own repository. #291
  • Exclude front-page submit views from any CSRF.
  • Switch maps to HTTPS tiles.
  • Bugfixes:
    • Fix front page postcode redirect for Django 1.10+. #285
    • Add some missing files from packaged django-mapit. #289
    • Improve and sync number regex in URL/point form. #288
  • [UK] Ignore non-postcode characters in form submit.

Version 1.5.4

01 Feb 15:26
Compare
Choose a tag to compare
  • Switch LabelCommand subclasses from using 'args' to 'label', and stop BaseCommands fom using 'args'. #278

Version 1.5.3

31 Jan 16:12
Compare
Choose a tag to compare
  • Switch LabelCommands from using 'args' to 'label'. #278
  • Increase the max_length of CodeType.code & NameType.code
  • MapIt UK specific:
    • Script to import English local authority IDs. #275
    • Remove some UK specific templates.

Version 1.5.2

16 Nov 13:28
Compare
Choose a tag to compare
  • Replace uses of old Django aggregate functions. #271
  • Fix display of Geometry object in admin. #272

Version 1.5.1

16 Nov 13:27
Compare
Choose a tag to compare
  • Fix a couple of command line argument issues. #265
  • Rename VagrantFile to Vagrantfile. #265
  • Update add_ons_to_gss command to support Python 2. #244
  • [UK] Improved postcode validation. #243

Thanks to David Basalla, Steven Day, Matthew Somerville, and Roman Zimmermann for their work on this release.

Version 1.5

22 Sep 17:32
Compare
Choose a tag to compare
  • Add support for Django 1.9 and 1.10, drop older than 1.8. #209 #248
  • Add support for Debian jessie/Ubuntu xenial. #254 #255
  • Add documentation for the /code API endpoint. #242
  • Add new footer. #238
  • Area import
    • Allow name_field to specify multiple options.
    • Add option to skip entries with blank names.
  • Postcode import
    • Add detecting location availability per postcode.
    • Allow updating locationless postcodes.
  • Bugfixes:
    • Only try and set GDAL exceptions on first use. #211 #231
    • Fix redirects when MapIt is mounted on a subpath. #228 #236
    • No need for a syncdb call, now covered by migrate. #221
    • Fix and improve JSONP middleware handling. #212
    • Disable project gzip middleware. #215
    • Tweak install script for if sudo is not installed.
    • Fix usage of imp module in newer Python versions.
  • Development:
    • Add VagrantFile and instructions for development. #237
    • Allow overriding of email subject prefix. #229
    • Add postgresql to SysV init script. #234
    • Switch api-docs ID to sidebar class for other use. #246
    • Add a couple of index page template hooks.
    • Don't show deprecation warnings by default.
    • Move to using libsass.
  • MapIt Global specific:
    • Fix issue parsing KML in python2 prior to 2.7.4. #206
    • Add a missing '{% load i18n %}' which broke front page
  • MapIt UK specific:
    • ONSPD import and improvements. #214 #216
    • October 2015 Boundary-Line. #210 #232
    • May 2016 Boundary-Line. #240
    • Script to add ONS codes to forward release.
    • OSNI boundary data import.
    • Open CSV files with the correct encoding. #225

Thanks to Steven Day, Simon Hughesdon, Isabell Long, Mark Longair, Sym Roe, Matthew Somerville, Murray Steele, and Zarino Zappia for their work on this release.

Version 1.4

18 Sep 20:59
Compare
Choose a tag to compare
  • Mark all strings for translation. #185
  • Italian translation and base templates. #185
  • Swedish translation and postcode code. #184
  • Support GeoJSON/KML for multiple areas. #136
  • Improved testing using tox.
  • Better handling of bad float numbers in URL. #202
  • New command to raise generation_high on current areas. #204
  • Bugfixes:
    • Include missing meta viewport tag for mobile display.
    • Fix Python 3 issue with streamed JSON responses.
    • Make sure the CSS has been compiled when packaging distribution. #179
    • Avoid Unicode problems in find parents commands. #185
    • Fix link to geohack tool. #195
    • Remove unneeded three-character check from import script. #203
  • MapIt UK specific:
    • Boundary-Line May 2015. #190

Thanks to chris48s, Guglielmo Celata, Greg Kempe, Jon Kristensen, Mark Longair, Chris Mytton, and Matthew Somerville for their work on this release.

Version 1.3.1

27 Mar 09:36
Compare
Choose a tag to compare
  • Allow double-clicking to zoom within a geometry on a map
  • Provide template blocks for extra CSS and JS in the base template.
  • Package country-specific templates so that they can be reused.
  • Make sure all country-specific templates use the compatibility template tag for "url".
  • Remove the links to view geometries on Google Maps that no longer work.
  • Upgrade the bundled leaflet to version 0.7.3.

Version 1.3

12 Feb 17:56
Compare
Choose a tag to compare
  • Ubuntu Trusty Tahr support. #156
  • Django 1.8 support, subject to it not being finished yet. #165
  • Stream JSON output, and HTML lists of areas, to use much less memory on very large responses. #164
  • Italy country app, thanks Guglielmo Celata. #147 #153
  • South Africa country app, thanks Mark Longair. #155
  • Add setting for whether this installation uses postcodes.
  • Add HTML version of /generations endpoint.
  • Bugfixes:
    • Fix nginx example config for static file serving. #162
    • Catch invalid SRID exceptions, and return 400. #157
    • Cache 0, not '0', to avoid a LocMem incr error.
    • Move country specific examples to country app templates.
    • Improve handling of bad /areas/ URLs, such as </areas/,123>.