Skip to content

Releases: smartlabsAT/directus-super-table

v0.5.1 — M2A picker templates, field scopes & guard fix

01 Jun 23:00
e24a6e9

Choose a tag to compare

M2A picker templates, field scopes & guard fix

Completes Many-to-Any (M2A) column-display support so templates built with Directus's native display-template picker actually render. Follow-up to #60.

Fixed

  • Picker templates resolve. The picker is rooted at the parent collection and emits field-key-prefixed tokens ({{treatment.collection}}, {{treatment.item:service.name}}); previously only the hand-written {{item:...}} form was recognised. Both now resolve.
  • Discriminator-only templates no longer blank the cell (e.g. {{collection}}). The renderer now distinguishes a not-fetched item from a permission-denied one.

Added

  • Parent-row and junction-level fields in M2A templates. Bare {{code}} reads the parent row and {{treatment.sort}} the junction row, alongside the discriminator and per-collection item: values. The deepest scope wins on a name clash, and every token is validated before the request (no 403).

Verification

267 unit tests, type-check, ESLint, Prettier and build all green; verified live on Directus 11.11.0 including a full native-picker round-trip (pick → save → render).

Refs #60.

v0.5.0 — Many-to-Any (M2A) field support

01 Jun 09:10
d6f73e7

Choose a tag to compare

Super Layout Table v0.5.0 — Many-to-Any (M2A) field support

Adds Many-to-Any (M2A) relationship support to the layout. Resolves #60.

Added

  • M2A display & query — renders polymorphic M2A fields using the
    related-values display or a per-column template with the
    {{item:<collection>.<field>}} syntax, including nested chains such as
    {{item:partners_catalog.catalog_id.title}}. Each junction row resolves
    against its own target collection.
  • Permission-aware — rows whose target collection the user cannot read
    show a block icon (only on genuine permission denial, not a dangling FK);
    restricted users still see the collections they can read.
  • In-body error state — a failed items request no longer leaves a blank
    table under a live pagination bar.
  • Editor hint — the Column Display editor shows the M2A token syntax and a
    field's allowed collections.

Fixed

  • M2A column rendered the raw display template / an empty cell.
  • A Column Display override on an M2A field expanded into an invalid path,
    403'd the items request and blanked the table while pagination stayed visible.

Notes

  • Inline editing of relational fields (M2O/O2M/M2M/M2A) is out of scope and
    tracked in #61 — relational fields remain display-only.
  • Quality: 233 unit tests pass; TypeScript, ESLint and Prettier all green.

Installation

  1. Download super-layout-table-v0.5.0.tar.gz
  2. Extract to your Directus extensions folder
  3. Restart Directus

See CHANGELOG.md for details.

What's Changed

Full Changelog: v0.4.2...v0.5.0

v0.4.2

24 May 22:44
2e95445

Choose a tag to compare

Super Layout Table Extension for Directus

Installation

  1. Download the release archive
  2. Extract to your Directus extensions folder
  3. Restart Directus

Quality Checks

  • ✅ TypeScript: No errors
  • ✅ ESLint: No errors or warnings
  • ✅ Prettier: Properly formatted
  • ✅ Tests: 39 tests passed (100%)
  • ✅ Build: Successful

Test Coverage

  • 🧬 Translation/Language Detection: 18 tests
  • 🛡️ Field Support & Security: 21 tests
  • 📊 Data Integrity & Performance validated

What's Changed

Full Changelog: v0.4.1...v0.4.2

v0.4.1

24 May 21:49
1aae481

Choose a tag to compare

Super Layout Table Extension for Directus

Installation

  1. Download the release archive
  2. Extract to your Directus extensions folder
  3. Restart Directus

Quality Checks

  • ✅ TypeScript: No errors
  • ✅ ESLint: No errors or warnings
  • ✅ Prettier: Properly formatted
  • ✅ Tests: 39 tests passed (100%)
  • ✅ Build: Successful

Test Coverage

  • 🧬 Translation/Language Detection: 18 tests
  • 🛡️ Field Support & Security: 21 tests
  • 📊 Data Integrity & Performance validated

What's Changed

  • Hotfix v0.4.1: M2M pivot 403 + collection-switch stale fields (Issue #55) by @smartlabsAT in #58

Full Changelog: v0.4.0...v0.4.1

v0.4.0

18 May 18:55
a7b88e6

Choose a tag to compare

Super Layout Table Extension for Directus

Installation

  1. Download the release archive
  2. Extract to your Directus extensions folder
  3. Restart Directus

Quality Checks

  • ✅ TypeScript: No errors
  • ✅ ESLint: No errors or warnings
  • ✅ Prettier: Properly formatted
  • ✅ Tests: 39 tests passed (100%)
  • ✅ Build: Successful

Test Coverage

  • 🧬 Translation/Language Detection: 18 tests
  • 🛡️ Field Support & Security: 21 tests
  • 📊 Data Integrity & Performance validated

What's Changed

Full Changelog: v0.3.3...v0.4.0

v0.3.3

18 May 18:55
e495a40

Choose a tag to compare

Super Layout Table Extension for Directus

Installation

  1. Download the release archive
  2. Extract to your Directus extensions folder
  3. Restart Directus

Quality Checks

  • ✅ TypeScript: No errors
  • ✅ ESLint: No errors or warnings
  • ✅ Prettier: Properly formatted
  • ✅ Tests: 39 tests passed (100%)
  • ✅ Build: Successful

Test Coverage

  • 🧬 Translation/Language Detection: 18 tests
  • 🛡️ Field Support & Security: 21 tests
  • 📊 Data Integrity & Performance validated

What's Changed

  • Hotfix v0.3.3: search covers hidden columns and translation fields (#24) by @smartlabsAT in #56

Full Changelog: v0.3.2...v0.3.3

v0.3.2

09 May 17:31
b2ba0ea

Choose a tag to compare

Super Layout Table Extension for Directus

Installation

  1. Download the release archive
  2. Extract to your Directus extensions folder
  3. Restart Directus

Quality Checks

  • ✅ TypeScript: No errors
  • ✅ ESLint: No errors or warnings
  • ✅ Prettier: Properly formatted
  • ✅ Tests: 39 tests passed (100%)
  • ✅ Build: Successful

Test Coverage

  • 🧬 Translation/Language Detection: 18 tests
  • 🛡️ Field Support & Security: 21 tests
  • 📊 Data Integrity & Performance validated

What's Changed

  • Hotfix v0.3.2: Inline edit silently failing on non-id primary keys (#44) by @smartlabsAT in #54

Full Changelog: v0.3.1...v0.3.2

v0.3.1

09 May 15:23
1431110

Choose a tag to compare

Super Layout Table Extension for Directus

Installation

  1. Download the release archive
  2. Extract to your Directus extensions folder
  3. Restart Directus

Quality Checks

  • ✅ TypeScript: No errors
  • ✅ ESLint: No errors or warnings
  • ✅ Prettier: Properly formatted
  • ✅ Tests: 39 tests passed (100%)
  • ✅ Build: Successful

Test Coverage

  • 🧬 Translation/Language Detection: 18 tests
  • 🛡️ Field Support & Security: 21 tests
  • 📊 Data Integrity & Performance validated

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

09 May 13:06
a2253ae

Choose a tag to compare

Super Layout Table Extension for Directus

Installation

  1. Download the release archive
  2. Extract to your Directus extensions folder
  3. Restart Directus

Quality Checks

  • ✅ TypeScript: No errors
  • ✅ ESLint: No errors or warnings
  • ✅ Prettier: Properly formatted
  • ✅ Tests: 39 tests passed (100%)
  • ✅ Build: Successful

Test Coverage

  • 🧬 Translation/Language Detection: 18 tests
  • 🛡️ Field Support & Security: 21 tests
  • 📊 Data Integrity & Performance validated

What's Changed

Full Changelog: v0.2.18...v0.3.0

v0.2.18

04 Apr 08:18
020f947

Choose a tag to compare

Super Layout Table Extension for Directus

Installation

  1. Download the release archive
  2. Extract to your Directus extensions folder
  3. Restart Directus

Quality Checks

  • ✅ TypeScript: No errors
  • ✅ ESLint: No errors or warnings
  • ✅ Prettier: Properly formatted
  • ✅ Tests: 39 tests passed (100%)
  • ✅ Build: Successful

Test Coverage

  • 🧬 Translation/Language Detection: 18 tests
  • 🛡️ Field Support & Security: 21 tests
  • 📊 Data Integrity & Performance validated

What's Changed

  • Update all dependencies to latest versions (v0.2.18) by @smartlabsAT in #46

Full Changelog: v0.2.17...v0.2.18