wq.db 1.0 alpha
wq.db 1.0.0a1 is an alpha release of the upcoming 1.0 version of wq.db. A number of components and configuration options were refactored as part of the overall “patterns API cleanup” discussed in the 0.8 release notes.
wq.db.patterns
API Refactor
- All “attachments” now use nested serializers instead of being registered as API models (#46)
- These serializers now generate a XLSForm-like configuration object for use by wq.app (see wq/wq.app#38)
- unifies the previous ‘parents’, ‘children’ and ‘choices’ config options
- replaces attachment predicates and attachmentTypes config
- With the above changes,
wq.db.rest
is now completely independent fromwq.db.patterns
(#35). A number of patterns-specific options that were previously auto-inferred are no longer needed or are stored on the serializer class.
- These serializers now generate a XLSForm-like configuration object for use by wq.app (see wq/wq.app#38)
- Complete the transition (started in 0.8.2) of the
files
app into a pattern,wq.db.patterns.file
.File
instances are now “attachments” forFiledModel
subclasses. - Refactoring:
- Split JSON form support into a separate library (html-json-forms)
- Split Natural Key tools into a separate library (#50, see django-natural-keys)
- Remove admin code (#38)
- Remove support for “classic” form naming style (#33)
Miscellaneous Cleanup
- Ensure support for Django 1.9 (see tomchristie/django-rest-framework#3785)
- Use new django-mustache library to support Django 1.8+ template engine (#48)
- Remove chart module (see wq/django-rest-pandas#17)
- Auto-autodiscover for
wq.db.rest
(fixes #52) - Don’t override manually defined *_id fields on serializers (#42)
- Auto-generate an index page when none is registered
- More flexible geometry detection for GeoJSON support
- Various minor bug fixes