Skip to content

Latest commit

 

History

History
209 lines (127 loc) · 9.36 KB

CHANGELOG.md

File metadata and controls

209 lines (127 loc) · 9.36 KB

v2.2.0

Bugfix / Refactor

v2.1.0

Feature

  • feat(models): (re)introduce some convenience methods for working with scope trees

The Django-MPTT module provided some useful methods that are not available anymore with django-tree-queries. Luckily, it's relatively easy to provide workarounds.

Note that they might not have the same performance/efficiency as the MPTT variants, and could possibly be built in a better way. However, let's keep it to the motto "first make it right, then fast, then pretty" (e2f38f1)

v2.0.0

Refactor (Breaking change!)

  • refactor: drop django-mptt in favour of django-tree-queries

Django-Tree-Queries works with recursive CTEs (common table expressions) to deal with hierarchical relationships, generally achieving the same result, but without the right, left and tree_id fields.

Django-MPTT has been unmaintained for several years, and we're suspecting some subtle bugs in it that we can't really reproduce or verify right now. Anyway it's a good time to get rid of it.

Note: Some old migrations needed to be changed, as we cannot refer to MPTT fields anymore. They were essentially regular foreign keys however, so this won't break the database.

BREAKING! This breaks if Emeis is used as a Django app directly, and depends on any of the MPTT API / features. (61a30e0)

v1.3.4 (16 December 2024)

Fix

  • fix(setup): further loosen base requirements (8b21078)

v1.3.3 (29 December 2023)

Fix

  • fix(setup): loosen requirements (310d841)

v1.3.2 (28 December 2023)

Fix

  • fix(setup): update install requirements (2dff19b)

v1.3.1 (28 December 2023)

Fix

  • deps: update dependencies(8890b3b)

v1.3.0 (12 October 2023)

Feature

  • export: Add filtering support (7830dc3)
  • tests: Verify that creating circular scope structures fails (629c20e)

v1.2.2 (4 April 2023)

Fix

  • scopes: Update subscope's full names when scope changes (4f125ce)

v1.2.1 (2 December 2022)

Fix

  • signals: Do not crash while loading fixtures (be45eff)

v1.2.0 (17 November 2022)

Feature

  • views: Apply localized default ordering (7e1265c)

Fix

  • models: Set scope full_name correctly in all situations (47ff9b5)
  • ordering: Correct ordering when forced local is in use (a7ee5d3)

v1.1.0 (23. September 2022)

Feature

  • scopes: Denormalize full_name and use it for sorting (4921028)
  • visibilities: Respect visibilities in includes & relationships (1ef2a88)
  • Add advanced filters for ACL model (184c9a2)
  • Add "is_active" filter for user model (8efbdc0)
  • Search by metainfo fields (be26f41)
  • Order by metainfo fields (17a9849)
  • Add id__in filter for scopes (b7602a9)
  • models: Add is_active property for scope (cf5f01f)
  • search: Search for user's roles and scopes (5418e18)
  • search: Enable forcing models to be monolingual in search (1dc55fd)

Fix

  • dev-env: Start runserver with keep-meta-shutdown (749ee20)
  • Remove subtree when removing scope (fc1e4ff)
  • Rename translation in export (4b4a4c0)
  • Xlsx file on pypi, take 3 (5e9262b)

v1.0.5 (15 February 2022)

Fix

  • Include xlsx file in pypi publish, take 2 (5acc687)

v1.0.4 (15 February 2022)

Fix

  • Add xlsx template to pip package (532b379)

v1.0.3 (11 February 2022)

Fix

  • Set correct content-disposition header in export (35e0f09)

v1.0.2 (3 February 2022)

This release upgrades dependency pinnings and loosens requirement ranges in setup.py.

Fixes

  • core Alter deprecated postgres JSON field to Django's own (f6cded9)

v1.0.1 (2 February 2022)

Release only pinning dependency version, not adding any features.

  • chore: upgrade dependency psycopg2 to 2.9.3

v1.0.0 (1 February 2022)

Update to Django 3.2

Bump to latest Django LTS and lift other dependencies while giving some slack on the version requirements in setup.py so it won't be too hard to bump to this release.

Feature

Breaking

  • Rename basemodel's meta field to metainfo

v0.6.0 (14 January 2022)

Feature

  • Case insensitive ordering (f0570ab)
  • Add user list export as xlsx file (190c2a6)

v0.5.0 (14 December 2021)

Feature

  • Expose full scope name on api (3465b97)
  • New create_scope command (6813833)

v0.4.0 (31 August 2021)

Feature

  • Expose full scope name on api (3465b97)
  • new create_scope command (93fa60) Note: The settings ADMIN_USERNAME, ADMIN_ROLE_SLUG, and ADMIN_SCOPE_NAME have been removed. Use manage.py createsuperuser and manage.py create_scope instead.

v0.3.0 (27 August 2021)

Feature

  • permissions: Introduce django generic api permissions (ff5aa2f)
  • auth: Introduce user factory setting and oidc user object (0716162)
  • Add filters on User endpoint (95b15d2)
  • scopes: Expose level on api (ddc36ee)

v0.2.2 (26 July 2021)

Fixes

  • add missing migration for new manager on user model

v0.2.1 (22 July 2021)

Fixes

  • auth: make emeis user model able to authenticate (#249)

v0.2.0 (22 July 2021)

Various bugfixes to make Emeis usable as a Django app

v0.1.0 (22 July 2021)

Initial release