Releases: smartlabsAT/directus-super-table
Releases · smartlabsAT/directus-super-table
v0.5.1 — M2A picker templates, field scopes & guard fix
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-collectionitem: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
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-valuesdisplay 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 ablockicon (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
- Download
super-layout-table-v0.5.0.tar.gz - Extract to your Directus extensions folder
- Restart Directus
See CHANGELOG.md for details.
What's Changed
- Add Many-to-Any (M2A) field support (#60) by @smartlabsAT in #62
Full Changelog: v0.4.2...v0.5.0
v0.4.2
Super Layout Table Extension for Directus
Installation
- Download the release archive
- Extract to your Directus extensions folder
- 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.2: Marketplace metadata cleanup by @smartlabsAT in #59
Full Changelog: v0.4.1...v0.4.2
v0.4.1
Super Layout Table Extension for Directus
Installation
- Download the release archive
- Extract to your Directus extensions folder
- 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
Super Layout Table Extension for Directus
Installation
- Download the release archive
- Extract to your Directus extensions folder
- 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
- feat: permission-aware layout (issue #37) by @smartlabsAT in #57
Full Changelog: v0.3.3...v0.4.0
v0.3.3
Super Layout Table Extension for Directus
Installation
- Download the release archive
- Extract to your Directus extensions folder
- 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
Super Layout Table Extension for Directus
Installation
- Download the release archive
- Extract to your Directus extensions folder
- 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
Super Layout Table Extension for Directus
Installation
- Download the release archive
- Extract to your Directus extensions folder
- 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
- Release v0.3.1: dependency patch updates by @smartlabsAT in #53
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Super Layout Table Extension for Directus
Installation
- Download the release archive
- Extract to your Directus extensions folder
- 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
- fix: drop stale field references from layout query (#47) by @smartlabsAT in #49
- feat: per-column display configuration for relational fields (#48) by @smartlabsAT in #50
- Release v0.3.0 by @smartlabsAT in #52
Full Changelog: v0.2.18...v0.3.0
v0.2.18
Super Layout Table Extension for Directus
Installation
- Download the release archive
- Extract to your Directus extensions folder
- 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