Skip to content

0.0.3

Choose a tag to compare

@jschwind jschwind released this 23 Oct 07:05
· 9 commits to main since this release
e48256b

Release 0.0.3 – Changelog Summary

This release focuses on table styling and rendering flexibility, plus quality-of-life improvements to docs, tests, and the build pipeline. Users get cleaner defaults, easier per-cell customization, and a smoother integration experience.

  • Per-Column & Per-Cell Classes
    You can now attach classes to columns (head.columns[].class) and individual cells (data[].data_class[colId]) as well as whole rows (data[].class).
    This enables precise styling (e.g., highlight cells/rows) without manual DOM work.

  • “Options” Column Styling
    New .avalynx-datatable-options CSS utility centers content, keeps it compact, and prevents wrapping in action columns.
    Actions like “Edit/Delete” render neatly and consistently.

  • Better Default Table Layout
    Default className now includes align-middle for improved vertical alignment in Bootstrap tables.
    Tables look more polished out of the box with no extra CSS.

  • Raw HTML Cell Support
    Columns marked with raw: true render HTML directly (e.g., buttons/links).
    Great for action cells and rich content without custom renderers.

  • JSON Response Format Documented
    README now documents the expected JSON structure (columns, data, counts, sorting, search).
    Faster server integration and fewer guesswork errors.

  • Examples & CDN Version Bump
    Examples updated to reference 0.0.3 on jsDelivr for both CSS and JS.
    Copy-paste setup stays current and reliable.

  • Changelog & Docs Polish
    Added/updated CHANGELOG, README wording, and JSDoc alignment.
    Clearer guidance and less confusion for new adopters.

  • Build & Test Pipeline
    Introduces a minimal build step (ESM export helper) and Jest tests with jsdom and Babel config.
    Improves reliability and paves the way for future contributions.

  • Dependency Maintenance
    Dependabot bump of ws to 8.17.1 merged.
    Keeps the toolchain current and secure.

Compatibility: Backward compatible.


Full Changelog: 0.0.2...0.0.3