- Fix key error in Geometry features Github Issue #159
- Replace calls to .itervalues with calls to .values()
- Upgrade to python 3
- Upgrade to django 2
- Return fieldtable id from as_dict
- better object representation of fieldtable object.
2.0.0 (?)
This release of Wazimap introduces some backwards incompatible changes. You WILL need to follow the upgrade steps. Be sure to upgrade to 1.x before upgrading to 2.x.
- Wazimap now supports multiple releases of a dataset. This means that you can, for example, have two releases of a national census in Wazimap at the same time. You will need to make some changes to how you build profile pages.
- BREAKING: SimpleTable and FieldTable are now Django models.
- BREAKING: Table management is now done through the Django admin interface. You must upgrade your existing tables.
- BREAKING:
get_objects_by_geo
has been replaced byFieldTable.get_rows_for_geo
.
- FIX another bug for versioned geos for static maps
- FIX support for versioned geos for static maps
This release of Wazimap introduces some backwards incompatible changes.
- Support versioned geographies.
- BREAKING: The Geography model has changed. You must run
python manage.py migrate
when updating. - BREAKING: The method signature of the
profile_builder
function has changed. It is now called asget_profile(geo, profile_name, request)
. You will need to update your profile methods to work with ageo
object rather than alevel
and acode
. Usegeo.geo_level
andgeo.geo_code
instead. - BREAKING: Some methods on the
GeoData
object now take aGeography
object rather than ageo_level
and ageo_code
. - BREAKING: The
geometry_data
setting must include a geography version at the top of the dict. Use''
by default. eg:{'': {'country': 'geo/country.geojson'}}
- Some methods on the
GeoData
object now take an optionalversion
parameter. - A new method
GeoData.get_comparative_geos
makes it easier to build the profile page for comparative geographies. - FIX: load streetmap tiles over https if necessary
- FEATURE: site menu
- FEATURE: use SCSS stylesheets, support customising using SCSS variables.
- Attribution updates to reflect OpenUp, the new name for Code for South Africa.
- Make the 'show data / embed' links for charts more visible
- Fix metadata for field tables that re-use db tables
- Support FieldTables that share a common database table
- Remove support for
FieldTable.table_per_level
parameter.
- Tell robots not to crawl /api/
- Remove unnecessary Auth, Admin, Messages and Sessions middleware. If you need these middleware, add them to your INSTALLED_APPS and MIDDLEWARE_CLASSES in your settings file.
- New setting
STRIP_WWW
to redirectwww.example.com
toexample.com
, turned off by default.
- Allow overriding of header block in map view
- Add a stub help page at /help
- Don't exclude partial matches from google geocoding results
Important This version makes GDAL an optional install. You must ensure you add GDAL to your requirements file, or install wazimap using wazimap[gdal]]
. See http://wazimap.readthedocs.io/en/latest/deploying.html
- Make GDAL and Shapely optional. This makes it much easier to get up and running with Wazimap without getting GDAL installed, which can be tricky.
- Support GDAL 1.x or 2.x (2.x not fully tested).
- FIX bug in testing database names
- Support null values in a table. This allows you to indicate to Wazimap that you don't have data for a particular field/indicator in a particular place. It is still necessary to ensure that all places have an entry in the database for all indicators.
- Automated build-time testing on Travis.
- Support percentage values in the map view
- Support tables with raw values that are percentages
- Version 0.5.6 was not released
- Fix embedded charts (contributed by mevey)
- Don't show error for empty FieldTable with has_total=True
- Fix loadGeometryForGeoIds bug (contributed by cliftonmcintosh)
- Fix profile page tables for non-percentages
- Correctly send comparative_levels setting to profile page
- Support floating point values in tables
- Be more tolerant of GDAL versions >= 1.11.0 and < 2.0
- Lazy load OGR/GDAL
- Don't allow Django 1.10
- Allow overriding of favicon.
- Support decimal places in chart tables
- FEATURE control the number of decimals for stats shown with the
_stat_list
include by using thedecimals
parameter. - FEATURE adjust the currency symbol used for
currency
stats shown by_stat_list
by settingCURRENCY_SYMBOL
in the file specified by Django's FORMAT_MODULE_PATH. - FEATURE get_stat_data supports percent_grouping and slices
- FEATURE get_stat_data now applies the
only
andexclude
parameters in the database. This makes it possible to specify filters on fields that don't need to be fetched. - FIX get_stat_data now uses the
denominator_key
to determine the table total for FieldTables that havedenominator_key
specified. - FIX correctly serialise Decimal() in additional places
- Don't use whitespace in JSON responses.
- FEATURE a FieldTable can now optionally not support percentages (
has_total
parameter) - FIX correctly serialize Decimal() values in JSON
- FIX reordering pure-integer keys in javascript
- FIX splitting geographies into child levels
- FIX geography search in table view
- Easier to override header blocks
- Footer Wazimap links use WAZIMAP.name where appropriate
- Change GitHub link in Footer
- Easier to override logo
- Twitter link is now optional
- FIX correct comparative levels
- Add table detail view, linked from homepage, to help users find data rather than always starting with a place.
- Make it easier to add provinces up the hierarchy in the data table view
- FIX how geo level ancestors are determined to fix issues with geography levels deeper than two.
- Add leaflet images included by css
- FIX ordering of keys for nested values
- Load leaflet locally so that it works over https
- Load fonts over https if necessary
- Serve most (all?) assets over https if site is loaded over https
- NOTE: this release still doesn't work correctly over https
- FIX: place search is wildcarded on both sides
- Make it easier to subclass from the default Wazimap Geography model by using GeographyBase
- Make homepage easier to override
- DOCS: how to override templates
- DOCS: profile page chart options
- Improve limiting searches to specific geo levels
- FIX: show slippy map on desktop, fixing bug introduced in 0.2.9.
- FIX: correctly hide slippy map on mobile, making elements clickable again
- FIX: embed over HTTPS
- Remove unnecessary rewrites for /static/iframe.html, this is only needed by wazimap-za.
- FIX: cleanly hide homepage map on small (<768px) screens
- Change the way geometries are loaded in comparison views
- Simplify template overrides in wazimap templates
- Fix link to GitHub repo in homepage template
- Add map back to the homepage [#4]
- DOCS: update deployment documentation and example files
- DOCS: make note that we recommend running securely over HTTPS
Django models have changed in this release. You will need to run migrations with python manage.py migrate
.
- FIX: content_type for robots.txt
- Remove numpy as a dependency
- Remove unused osm_area_id from geo models
- Add root_level to geo_data
- Don't include root level geography when computing geography full names
- Add optional long_name attribute to geo model
- Change profile maps JS to make it easy to override
- FEATURE: use Google place search to find places
- FEATURE: new
country_code
config setting - FIX: redirect to slugged URLs when possible
- BREAKING: Data tables now default to one table for all geo levels
- Include deployment file examples in the
deploy
directory - Remove uservoice.js
- Initial release