Releases: Dmitri-Sintsov/django-jinja-knockout
v2.2.1
2.1.0
Built-in custom elements, including es5 IE11 polyfills.
Bootstrap 5 compatibility.
ObjDict Django model serializer with built-in field permissions check for AJAX viewmodels, including datatables.
get_absoulte_url with optional user permission check / link title generation.
2.0.0
Built-in es6 modules support for modern browsers.
Optional SystemJS loader support for IE11 via django_deno.
Optional minified terser bundles support both for es6 modules and for SystemJS loader via django_deno.
datatables support separate cell click actions, not just row actions.
More throughout support for datatables annotated fields / virtual fields via grid_fields dicts.
Optional lazy registration of client-side components.
Numerous fixes, including improved related grid view kwargs auto-detection, see pageRouteKwargsKeys and pageRouteKwargsKeys example.
ListRangeFilter for ListSortingView range fields.
1.1.0
Optional separate action handlers for HTTP methods.
RangeFilter / DateFilter / DateTimeFilter ListSortingView filters for numeric / DateField / DateTimeField Django model fields.
ListQuerySet supports ordering by prefetched reverse relation list field name: qs.order_by('reverse_relation_list__field_name')
Automatic client-side localization.
Support of Selenium 4. Additional Selenium commands. Improved Selenium logging.
1.0.0
Django 3.1a1 / Bootstrap 4.5 / Knockout 3.5 support.
MultipleKeyGridWidget edit many to many relationships for Django models.
PageContext to inject view title / client data / client routes / custom scripts to templates via TemplateResponse.
Improved Bootstrap popovers support.
Support for Nested components in formsets.js (empty_form) 'anonymous_template' Knockout binding.
UrlPath class supports automatic re_path() generation with positional named keyword arguments.
0.8.0
- Supports both Bootstrap 4 and Bootstrap 3 via pluggable
djk_ui
application. Renderer
classes provides customizable layouts for fields / forms / related forms / inline formsets.- Underscore.js templates support template attributes merging and custom tags.
- Nested / sparse components.
- Nested serializer.
0.7.1
Grids (datatables) compound columns support. New built-in action type 'pagination'.
Optional built-in Javascript error logger.
AJAX forms / viewmodels improvements and refactoring.
0.6.0
AJAX actions are rewritten as server-side ActionsView
class and client-side counterpart App.Actions
. It is now used as foundation for most of AJAX code, including grid datatables and new App.EditForm
/ App.EditInline
client-side components.
New widget widgets.PrefillWidget
to select pre-filled text from the list of supplied values.
Selective skipping of DisplayText
field widget rendering.
Basic version of ViewmodelValidator
for AJAX submitted forms.
0.5.0
Rewritten recursive underscore.js template processor.
Displaying verbose field names in grid rows, grid row actions and in ForeignKeyGridWidget related model field placeholder.
Clean-up of client-side components code.
Better support for grids that use RAW queries with LEFT JOIN
, which may have multiple rows with the same pkVal.
Improvements in Selenium automation testing: better handling of automation commands, more of commands implemented, much larger test coverage.
Numerous bugfixes, including related field queries support in FilteredRawQuerySet.
0.4.2
- Compatibility to Django 1.10+ new-style middleware (thanks to Melvyn Sopacua).
- Fixed pagination when multiple filter field choices are selected in
views.ListSortingView.