0.0.3
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-optionsCSS utility centers content, keeps it compact, and prevents wrapping in action columns.
Actions like “Edit/Delete” render neatly and consistently. -
Better Default Table Layout
DefaultclassNamenow includesalign-middlefor improved vertical alignment in Bootstrap tables.
Tables look more polished out of the box with no extra CSS. -
Raw HTML Cell Support
Columns marked withraw: truerender 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 reference0.0.3on 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 ofwsto8.17.1merged.
Keeps the toolchain current and secure.
Compatibility: Backward compatible.
Full Changelog: 0.0.2...0.0.3