- Add support for Python 3.9, 3.10, 3.11, 3.12 and Django 4.0, 4.2.
- Drop support for Python 3.7, 3.8 and Django 2.2, 3.0.
- Add a --sync flag to the loaddivisions management command, to delete divisions that are in the DB but not the CSV, even if the DB contains the CSV. This flag is relevant if you synchronize with a single CSV.
- Add last_seen field to database objects
- Pupa now has "pupa clean" CLI command
- Change behavior of loaddivisions management command to do nothing if the DB contains the CSV. This means divisions that are in the DB but not the CSV are not deleted. This makes it easier to load multiple CSVs, but harder to synchronize with a single CSV.
- add GinIndex for search (requires migration)
- add 'enrolled' bill status
- Add billaction.extras field (requires migration)
- Drops support for Python 2, Django versions before < 2.2 LTS.
- Change behavior of loaddivisions management command to require --bulk if deletion & re-creation is desired.
Improvements requiring migrations:
- added experimental SearchableBill model
- bugfix changes to EventDocument and EventMediaBase
Bugfixes:
- Fix PersonAdmin memberships display
Other:
- add event classification choices
Improvements requiring migrations:
- adjusted length of Event.name
Other:
- recommended Postgres version is now 10.x (>= 9.4 should still work but will no longer be tested)
- removal of underdeveloped merge & unresolved legislators view
Bugfixes:
- Fix missing migrations
Improvements:
- new 'bill of address' classification
Improvements requiring migrations:
- add extras field to bill versions
Improvements:
- updated obsolete dependencies
Improvements:
- Add 'became-law' action classification.
Bugfixes:
- Fix accidentally broken Python 2 compatibility
Improvements:
- add post argument to Person.objects.memberOf
Bugfixes:
- fix urlresolvers.reverse import location for Django 2.0
Improvements requiring migrations:
- added missing migration for help_text
- update models to have explicit on_delete settings for Foreign Keys (required by Django 2.0)
Bugfixes:
- add missing help_text for opencivicdata.elections
- fixes for some opencivicdata.elections migration issues
Backwards-incompatible changes:
- Implementation of OCDEP #101 - datetime fields are fuzzy and Event's start/end_time are now start/end_date.
Improvments requiring migrations:
- add extras to BillAction & EventAgendaItem
- add Post.maximum_memberships for validating expected number of memberships, useful for multi-member seats
Improvements:
- jurisdiction specific merge tool
- experimental introduction of opencivicdata.elections - provisional for now w/ future changes likely
Bugfix:
- fix usage of FileNotFoundError on Python 2.7
Backwards-incompatible changes:
- This package is renamed to opencivicdata from opencivicdata-divisions and opencivicdata-django. This also means it is no longer split into opencivicdata-divisions and opencivicdata-django. This really shouldn't cause any issues, but you shouldn't be installing opencivicdata-divisions anymore, and doing so explicitly may cause some issues.
- Your requirements.txt or other requirements definition should now use the opencivicdata name exclusively.
- Instead of adding:
```'opencivicdata.apps.BaseConfig'
to your
INSTALLED_APPS`` you'll need to add:'opencivicdata.core.apps.BaseConfig', 'opencivicdata.legislative.apps.BaseConfig',
- If you already have models you'll need to run: ```./manage.py migrate --fake-initial`` to skip the initial migrations for the two new apps.
Improvements requiring migrations:
- Add
Membership.person_name
property, allowing unresolved people to be members of Organizations - Add
VoteEvent.bill_action
, allowing linking of VoteEvents to bill actions
Improvements:
- Add
amendment-deferral
to matchdeferral
and other amendment actions. - Add
study request
andconcurrent study request
to to bill classifications. - Basic Python 2.7 support is restored.
Backwards-incompatible changes:
- Make bill action classifications consistent:
amendment-amended
is nowamendment-amendment
committee-referral
is nowreferral-committee
executive-received
is nowexecutive-receipt
deferred
is nowdeferral
Improvements requiring migrations:
- Add
EventAgendaItem.classification
property, like Popolo's Event class
Improvements:
- Add
transit_authority
to jurisdiction classifications - Add
corporation
,agency
,department
to organization classifications - Add
motion
to bill classifications - Add
receipt
,referral
to bill action classifications
Fixes:
- Fix
EventRelatedEntity.entity_name
property when the entity is a vote event or bill
Fixes:
- Fix package
Improvements:
- Add admin views for merging objects
Fixes:
- Fix package
Backwards-incompatible changes:
- Rename Vote to VoteEvent to align with Popolo's VoteEvent class, #27
Improvements:
- Various improvements to admin views
- Add admin views for unresolved people
- Add
Organization.get_current_members
method - Add
text
field toMimetypeLinkBase
abstract class - Upgrade Django from 1.8 to 1.9 and remove
djorm-ext-pgarray
,jsonfield
,django-uuidfield
dependencies
Fixes:
- Fix package.
Start of changelog