Wq.db

Latest version: v2.1.0

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

Scan your dependencies

Page 2 of 8

1.3

* The generated [wq config object](https://wq.io/docs/config) now includes `verbose_name` and `verbose_name_plural` from the Django model definitions (78dab96)
* The config can be dumped as ESM in addition to AMD and JSON (f441a31).
* If `settings.WQ_APP_TEMPLATE` is defined, wq.db will use file that to render all HTML views. The template is assumed to be a minimal index.html that simply loads [wq/app](https://wq.io/docs/app-js) to do the actual rendering (f441a31).

The new [wq django template](https://github.com/wq/wq-django-template/releases/v1.3.0a1) automatically leverages these configuration options.

1.3.0

**wq.db 1.3.0** is the first stable release of the wq.db 1.3 series! Be sure to check out the [latest documentation](https://wq.io/) and the [release notes for wq 1.3](https://github.com/wq/wq/releases/v1.3.0) when upgrading.

All changes by sheppard.

Changes since wq.db 1.3 beta

Deployment
* Ensure compatibility with Python 3.10, Django 4.0, and Django REST Framework 3.13 (1fde1d28d9283c8745329339f0b592a46b4683bd)
* Support loading [config.js](https://wq.io/config) live via the REST API, in addition to the static build (wq/wq#54)
* Make `config.js` (both live and static) configurable via `WQ_CONFIG` setting (wq/wq54)
* Support the new `./manage.py deploy` command (wq/wq.build3)
* Clean up setting references (wq/wq-django-template30)

REST API
* Support `"autoupdate"` cache setting in [wq/model](https://wq.io/wq/model) (4581dc9df6f21f0d50449412860d0bb3bff36569)
* Support `?field_name=null` URL filters (4581dc9df6f21f0d50449412860d0bb3bff36569)
* Treat empty string as null when processing file inputs (e7033f10b508e5daeddb8880b52297fe14ff18bd)
* Fix `OPTIONS` on `LoginView` (e7033f10b508e5daeddb8880b52297fe14ff18bd)
* Support grouped choices (ddf677715f9235746e75be5afabd977c5db7dd3b)

1.3.0b1

**wq.db 1.3 beta** is a beta of the next version of wq.db, as part of the [wq 1.3 beta](https://github.com/wq/wq/releases/v1.3.0b1) release. This release includes additional changes to improve support for [wq/material](https://wq.io/wq/material) and [wq/map-gl](https://wq.io/wq/map-gl), as well as the pre-built [**wq.js**](https://wq.io/wq) provided by [wq.app](https://wq.io/wq.app/).

Field Improvements
* Support `ManyToMany` foreign keys (fa8fa59)
* Support clearable [`File`](https://wq.io/inputs/File) and [`Image`](https://wq.io/inputs/File) input types (#23)
* Preserve label/verbose_name when rendering `BooleanField` as [`Toggle`](https://wq.io/inputs/Toggle#boolean-choice-field) (9c549e0)
* Support the xlsform "group" type via:
* Nested serializers with `many=False`, e.g. for `OneToOne` relationships (1677135).
* "Virtual" fieldsets that use the new [`wq_fieldsets` option](https://wq.io/guides/organize-inputs-into-fieldsets) to nest JSON and UI fields for a single serializer (1598f59).
* A single anonymous root fieldset for UI only (6ae7574)
* Improve the existing support for the [xlsform "repeat" type](https://wq.io/guides/implement-repeating-nested-forms):
* Ignore `index` attributes when determining empty status (af1b7fa)
* Improve support for customizing the [wq field configuration](https://wq.io/config):
* New [`wq_field_config`](https://wq.io/guides/define-a-custom-input-type#dbsurveyserializerspy-with-wq_field_config) and [`style={"wq_config": {}}`](https://wq.io/guides/define-a-custom-input-type#dbsurveyserializerspy) options (1677135)
* Option to explicitly list read-only fields in the configuration (0333bff)

Other Improvements

* Regenerate data/config.js whenever `./manage.py runserver` reloads (wq/wq.app120)
* Improve GeoJSON content negotiation to support [wq/map-gl](https://wq.io/wq/map-gl) (0f35c54).
* Automatically configure `base_url` for [wq/router](https://wq.io/wq/router) and [wq/store](https://wq.io/wq/store) (adb07be)
* Include `[model].Meta.ordering` in config so it is picked up by [wq/model](https://wq.io/wq/model) (9c549e0)
* Move to Github Actions (3eae919, b473091)

1.3.0a1

1.2.2

**wq.db 1.2.2** confirms support for Django REST Framework 3.12 (83 via tomaszn). It is otherwise functionally the same as [wq.db 1.2.1](https://github.com/wq/wq.db/releases/v1.2.1).

1.2.1

**wq.db 1.2.1** includes a minor patch for compatibility with Django 3.1 (81). Be sure to use Django REST Framework 3.11.1 (or newer) as well.

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.