Skip to content

Releases: goinnn/django-multiselectfield

v1.0.1

13 Jun 08:09

Choose a tag to compare

  • Badge image worked on GitHub but was broken on PyPI — fixed it.

v1.0.0

13 Jun 08:08

Choose a tag to compare

This release introduces multiple changes that are incompatible with previous versions.

The major version number has been incremented following Semantic Versioning (SemVer) <https://semver.org/>_, as several components of the package have changed in ways that may require updates in client code.

The internal codebase has been significantly cleaned up and reorganized, making it more maintainable and consistent.

This version contains 40% fewer lines of code compared to the previous release.

Less code means fewer bugs, easier maintenance, and better long-term sustainability.

  • Breaking changes

    • Remove MSFList (01dcad230dc368b88a39bfc36f90ddd145f381a2):

      • Removed: (50d3f785883e0a314f2dc89950e3fe1e88a7ede6)
      • It was created to support MultiSelectFields in admin.list_display, but it never actually worked. If you add a multiselect field to list_display, Django does not call to str method of MSGList (renamed to MSFList)
      • It was created for integer choices too and it is a misconception. This is explained in the README file.
    • Remove MSFFlatchoices (01dcad230dc368b88a39bfc36f90ddd145f381a2):

    • In to_python method, value is a list or a string. (c4579138dda2833cbce26afbf57da5353aa45690)

      • Remove set case and dict case
      • If this breaks something, please create a test to help understand the use case.
    • Removing integer choices:

      • It was a mistake. MultiSelectField inherits of CharField, not IntegerField.
      • It is impossible knows if original choice is (1, 'Item title 2.1') or ('1', 'Item title 2.1')
  • Fix: Form instance generated twice since Django (#168)

  • Fix CSS admin:

  • Fix Properly Display Categorized Choices in get_FOO_display (#169)

  • SortMultiSelectField: (#172)

  • Documentation:

  • Cleanup: Removed outdated code and updated compatibility:

    • Updated syntax for the targeted Python and Django versions. (#161)

    • Add pre-commit hooks (#161)

    • Fixed GitHub Actions workflow.

    • Removed Travis CI configuration.

    • Fix Coveralls integrations

    • Improved the README: clarified the correct versions of Python and Django.

v0.1.13

09 Jun 11:31
d78d652

Choose a tag to compare

v0.1.13

v0.1.12

20 Feb 06:14

Choose a tag to compare

Update version

Django 3 update

19 Dec 06:27

Choose a tag to compare

v0.1.11

Update version

back compatibility

04 Oct 10:02
66266dd

Choose a tag to compare

Merge pull request #99 from goinnn/add-back-compatibility

Add back compatibility

Fix picking MSFList

08 Aug 06:23

Choose a tag to compare

v0.1.8

Bump version for PyPI release

v0.1.4

23 Sep 14:20

Choose a tag to compare

Update documentation and release version 0.1.4