Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update django-tables2 to 2.7.0 #666

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Dec 5, 2023

This PR updates django-tables2 from 2.0.4 to 2.7.0.

Changelog

2.7.0

- Update docs dependencies; fix docs search; add readthedocs.yaml ([935](https://github.com/jieter/django-tables2/pull/935))
- Add example on how to use `Accessor` to documentation in `custom-data.rst` ([917](https://github.com/jieter/django-tables2/pull/917)) by [ruddra](https://github.com/ruddra)
- Use pre-commit in ci, add isort, flake8, pyupgrade ([932](https://github.com/jieter/django-tables2/pull/932))
- Add support for Django 5.0 and Python 3.12 ([930](https://github.com/jieter/django-tables2/pull/930))
- Add missing `{% load l10n %}` in templates ([919](https://github.com/jieter/django-tables2/pull/919)) by [tvanekeris](https://github.com/tvanekeris)

2.6.0

- Fix bootstrap5-responsive template to extend bootstrap5 ([909](https://github.com/jieter/django-tables2/pull/909)) by [mschoettle](https://github.com/mschoettle)
- Add support for django 4.2
- Drop python 3.7 and django 4.0 support ([920](https://github.com/jieter/django-tables2/pull/920))

2.5.3

- Assign request to table before anything else in `RequestConfig.configure()` ([888](https://github.com/jieter/django-tables2/pull/888)) fixes: [#865](https://github.com/jieter/django-tables2/issues/865)
- Add type hints to get_context_data ([895](https://github.com/jieter/django-tables2/pull/895)) by [mschoettle](https://github.com/mschoettle)
- Document hidden table attributes setting ([897](https://github.com/jieter/django-tables2/pull/897)) by [mschoettle](https://github.com/mschoettle)
- Fix building of the docs ([900](https://github.com/jieter/django-tables2/pull/900)) by [danielroseman](https://github.com/danielroseman)
- Add template bootstrap5-responsive.html ([896](https://github.com/jieter/django-tables2/pull/896)) by [mschoettle](https://github.com/mschoettle)

2.5.2

- Assign `request` to table before anything else in `RequestConfig.configure()` ([888](https://github.com/jieter/django-tables2/pull/888)) fixes: [#865](https://github.com/jieter/django-tables2/issues/865)

2.5.1

- `TableMixinBase`: implement `get_paginate_by` ([811](https://github.com/jieter/django-tables2/pull/811)) by [Alirezaja1384](https://github.com/Alirezaja1384)

2.5.0

- Dropped support for python 3.6, added support for python 3.11
- Add django_tables2/bootstrap4-responsive.html ([874](https://github.com/jieter/django-tables2/pull/874)) by [botlabsDev](https://github.com/botlabsDev)
- Pass record/value to `LinkColumn`'s attrs callables too ([852](https://github.com/jieter/django-tables2/pull/852)) by [wsldankers](https://github.com/wsldankers)
- Add template `bootstrap5.html` to support bootstrap 5 ([880](https://github.com/jieter/django-tables2/pull/880), fixes [#796](https://github.com/jieter/django-tables2/issues/796)

2.4.1

- Add Persian (Farsi) locale ([806](https://github.com/jieter/django-tables2/pull/806)) by [Alirezaja1384](https://github.com/jieter/django-tables2/commits?author=Alirezaja1384)
- Improved error message if openpyxl is not installed ([816](https://github.com/jieter/django-tables2/pull/816))
- Use correct mime type for xlsx (fixes: [810](https://github.com/jieter/django-tables2/issues/810))
- Add support for django 4.0, drop support for python 3.5 ([822](https://github.com/jieter/django-tables2/issues/822))

2.4.0

- Add support for django 3.2 and python 3.9, drop support for django 3.0
- Add Django 3.0 and 3.1 trove classifiers [803](https://github.com/jieter/django-tables2/pull/803) by [Asday](https://github.com/Asday)
- Strip leading and trailing whitespace from TemplateColumn.value() [794](https://github.com/jieter/django-tables2/pull/794) by [jeremystretch](https://github.com/jeremystretch)
- Providing link for django-bootstrap3 [793](https://github.com/jieter/django-tables2/pull/793) by [TareqMonwer](https://github.com/TareqMonwer)
- Fix for crash on windows while deleting temp file [788](https://github.com/jieter/django-tables2/pull/788)

2.3.4

- Removed deprecation warnings with django==3.1 regarding `JSONField` [785](https://github.com/jieter/django-tables2/pull/785)

2.3.3

- Use `table.default` for empty `ManyToMany` relations ([773](https://github.com/jieter/django-tables2/pull/773)) fixes: [#769](https://github.com/jieter/django-tables2/issues/769)
- Pass record/value to `CheckboxColumn`'s `attrs` callables too ([774](https://github.com/jieter/django-tables2/pull/774)), fixes: [#762](https://github.com/jieter/django-tables2/issues/762)

2.3.2

- Fix popping the extra_context of TemplateColumn [767](https://github.com/jieter/django-tables2/pull/767) by [bernhardmiller](https://github.com/bernhardmiller)
- Fix typo for the translation of the word 'next' in greek [759]](https://github.com/jieter/django-tables2/pull/759) by [orfeasa](https://github.com/orfeasa)
- Add `format_html` import to prevent `NameError` [752](https://github.com/jieter/django-tables2/pull/752) by [MBfromOK](https://github.com/MBfromOK)
- Fixed Russian translation [768](https://github.com/jieter/django-tables2/pull/768) by [Real-Gecko](https://github.com/Real-Gecko)

2.3.1

- Fixed the `LazyPaginator` in a simpler more predictable way: an attempt to show a non-existent page, shows the first page. [743](https://github.com/jieter/django-tables2/pull/743)

2.3.0

- Add ability to pass `tablib.Dataset` `kwargs` via `TableExport` and `ExportMixin` [720](https://github.com/jieter/django-tables2/pull/720) by [powderflask](https://github.com/powderflask)
- Drop django==2.1 support, add optional tablib requirements [738](https://github.com/jieter/django-tables2/pull/738)
- Short-circuit `Accessor.resolve()` if the context contains the exact accessor [722](https://github.com/jieter/django-tables2/pull/722), fixes [#717](https://github.com/jieter/django-tables2/issues/717)
- Fixed yaml export [732](https://github.com/jieter/django-tables2/pull/732) by [sg3-141-592](https://githug.com/sg3-141-592)
- Made Table docstring visible in docs [742](https://github.com/jieter/django-tables2/pull/742)
- Removed the TableBase construct in favor of using the `metaclass` keyword argument, as all supported python versions support it. [742](https://github.com/jieter/django-tables2/pull/742)
- `LazyPaginator` with non-existent page number should not result in a crash [741](https://github.com/jieter/django-tables2/pull/741)

2.2.1

- Fix backwards-compatibility with legacy separators in order_by clauses ([715](https://github.com/jieter/django-tables2/pull/715) by [federicobond](https://github.com/federicobond))

2.2.0

- Use `__` as accessor-separator, add `linkify` Meta option [702](https://github.com/jieter/django-tables2/pull/702)).
This will currently emit a warning but falls back to using `.` as separator. The next major version will raise a `ValueError` if used with `.` as separator.
- Add request attribute to table instance ([705](https://github.com/jieter/django-tables2/pull/705) by [rubickcz](https://github.com/rubickcz)).
- Append ellipsis for `LazyPaginator` if not on last page ([707](https://github.com/jieter/django-tables2/pull/707) by [tuky](https://github.com/tuky))

2.1.1

- Made `ManyToManyColumn` use `table.default` instead of a local value [680](https://github.com/jieter/django-tables2/pull/680) by [srtab](https://github.com/srtab)
- Removed invalid scope attribute in `<tr>` element of `bootstrap4.html`. [691](https://github.com/jieter/django-tables2/pull/691) by [vlt](https://github.com/vlt)
- Fixed an issue with incorrectly disabled pagination where `SingleTableMixin` was not used together with `ListView` [678](https://github.com/jieter/django-tables2/pull/678) by [nieuwenhuys](https://github.com/nieuwenhuys)

2.1.0

- Dropped support for python 2.7 (and django 1.11).
- Removed `django_tables2.utils.ucfirst`, use `django.utils.text.capfirst` instead.
- Removed `class="thead-default"` from bootstrap4 template ([671](https://github.com/jieter/django-tables2/issues/671))
- Included columns with `visible=False` in export ([677](https://github.com/jieter/django-tables2/pull/677))
- Fixed pagination when the number of pages is equal to page range plus one ([655](https://github.com/jieter/django-tables2/pull/655))

2.0.6

-  Add optional 'table' kwarg to `row_attrs` callables

2.0.5

- Fixes issue with wrong time format for TimeColumn [650](https://github.com/jieter/django-tables2/pull/650) by [IgorCode](https://github.com/IgorCode)
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant