Wq

Latest version: v2.1.0

Safety actively analyzes 629959 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 10

1.0.0a2

1.0.0a1

**wq.db 1.0.0a1** is an alpha release of the upcoming 1.0 version of [wq.db](https://wq.io/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](https://github.com/wq/wq.db/releases/v0.8.0).

`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](http://xlsform.org)-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 from `wq.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.
- Complete the transition (started in [0.8.2](https://github.com/wq/wq.db/releases/v0.8.2)) of the `files` app into a [pattern](https://wq.io/docs/about-patterns), `wq.db.patterns.file`. `File` instances are now "attachments" for `FiledModel` subclasses.
- Refactoring:
- Split JSON form support into a separate library ([html-json-forms](https://github.com/wq/html-json-forms))
- Split Natural Key tools into a separate library (50, see [django-natural-keys](https://github.com/wq/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-framework3785)
- Use new [django-mustache](https://github.com/wq/django-mustache) library to support Django 1.8+ template engine (#48)
- Remove chart module (see wq/django-rest-pandas17)
- 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

0.8.5

**wq.db 0.8.5** brings a couple of minor bug fixes:
- don't override manually defined serializer labels (c5bbd1f34ad1f2758b8a28df3b820f5149835101)
- don't assume relate model is installed (8f7ff7ed027797f05b1852b81762b53169871854, see https://github.com/powered-by-wq/species.wq.io/issues/3)
- ignore empty attachments (useful when saving new patterns-based models) (e517b7dbeb5425316bb00b58d854472731bac32d)

0.8.4

Update setup.py to reflect that this version does not support Django 1.9.

Support for Django 1.9 is planned for wq.db 1.0 (see 51).

0.8.3

**wq.db 0.8.3** brings a number of enhancements to facilitate updates to the [Django REST Pandas](https://github.com/wq/django-rest-pandas) and [vera](https://wq.io/vera) libraries.
- [chart](https://wq.io/docs/chart) refactoring
- Moved time series, scatter, and box plot generation from to [Django REST Pandas](https://github.com/wq/django-rest-pandas) (#47).
- Moved identifier-based URL filters from to [identify](https://wq.io/docs/identify) pattern (0add5ac)
- The chart module is no longer needed and will be removed in wq.db 1.0
- Fix bug in [search](https://wq.io/docs/search) view
- Numerous improvements to the internal implementation of [patterns](https://github.com/wq/wq/issues/21) and [natural keys](https://github.com/wq/wq.db/issues/50).

0.8.2

This release of **wq.db** brings some enhancements to the "attachment" modules and a few minor bug fixes.

Attachment Enhancements
- [locate](https://wq.io/docs/locate)'s `Location` instances for located models can be loaded directly into the map for editing via a special `edit.geojson` URL. This works well with the updated [wq/map.js](https://wq.io/docs/map-js) in [wq.app 0.8.1](https://github.com/wq/wq.app/releases/v0.8.1). Note that as part of this enhancement, the `Location` model is no longer registered with the API by default (meaning `Location` instances will not be stored offline by default).
- [files](https://wq.io/docs/files)' `File` instances can be uploaded as "attachments" making files a bit more like the [patterns](https://wq.io/docs/about-patterns) modules (bc14412). There is a little bit of customization necessary to get this to work - see the [Species Tracker source](https://github.com/powered-by-wq/species.wq.io/blob/v0.2.0/db/reports/serializers.py#L1-L15) for an example.
- `create_attachment()` and `update_attachment()` hooks to facilitate customized [patterns](https://wq.io/docs/about-patterns) model workflows (0edf702)

Bug Fixes
- Fix [wq configuration object](https://wq.io/docs/config) not listing parent models correctly (due to `get_all_related_objects()` change in Django 1.8 (20cd687))
- Ensure server-side [postsave](https://wq.io/docs/views) is triggered on `update()` (450ee3a)
- Fix for template vars in Python 2 + Django 1.8 (30e11d9)
- update `router_info` template variable name (b4b5daa) and include parent page identifier in list-by-parent-item context (ac92abd)

Page 6 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.