Releases: avalynx/avalynx-datatable
1.0.1
Release 1.0.1 – Changelog Summary
Small but meaningful stability and DX update. This patch fixes a rendering typo, standardizes Bootstrap usage in JS, modernizes the dev container, and expands tests—so tables behave reliably and contributors have a smoother setup.
-
Rendering Bugfix (cell classes)
Corrected thedata_classhandling so per-cell CSS classes are applied as intended.
Results in consistent styling for action/flagged cells without manual work. -
Bootstrap Import in JavaScript
The library now imports Bootstrap directly in the ESM build.
Ensures components relying on Bootstrap behavior work out of the box. -
CommonJS Compatibility
Addedmodule.exportsfor the UMD/vanilla build.
Makes the widget easier to require in Node/CommonJS environments and tests. -
Bigger, Better Test Suite
Jest coverage was significantly expanded (table rendering, sorting, pagination, loaders, edge cases).
Boosts reliability and guards against regressions. -
Modernized Dev Container
Dockerfile updated to PHP 8.3, Node 18, and Yarn (plus minor tooling).
Faster, more predictable local and CI environments. -
Docs & Examples Version Bump
README and example pages now point to1.0.1on jsDelivr.
Copy-paste snippets fetch the current production build. -
Repo Hygiene
Addedai.txtto.gitignore.
Keeps the repo clean by avoiding accidental commits of local AI artifacts.
Compatibility: Backward compatible.
Full Changelog: 1.0.0...1.0.1
1.0.0
Release 1.0.0 – Changelog Summary
This milestone marks AvalynxDataTable’s first stable release, focused on integration improvements and documentation updates. It introduces Symfony AssetComposer installation support and cleans up legacy files for a more maintainable, production-ready package.
-
Symfony AssetComposer Integration
Added installation instructions for Symfony’s AssetComposer bundle.
Makes it easy to include AvalynxDataTable assets directly in Twig templates for Symfony-based projects. -
Comprehensive README Update
Expanded documentation with detailed setup instructions across CDN, npm, and Composer methods.
Provides a clearer onboarding experience for developers integrating the library in different environments. -
Version Bump to 1.0.0
Updated version identifiers across all source, distribution, and example files.
Confirms project stability and readiness for long-term usage. -
Example and CDN Reference Refresh
All demo pages now reference1.0.0assets for consistency.
Ensures examples reflect the latest production build without manual updates. -
Project Cleanup
Removed the deprecatedCHANGELOG.mdfile and outdated content.
Keeps the repository lean and reduces maintenance overhead.
Compatibility: Backward compatible.
Full Changelog: 0.0.4...1.0.0
0.0.4
Release 0.0.4 – Changelog Summary
This release is a housekeeping and packaging update that streamlines asset distribution and example references while fixing a minor JavaScript issue. It focuses on cleaner dependency management and smoother installs for PHP/Composer users.
-
Asset Manifest for Composer
Addedassetscomposer.jsondescribing distributable and dev files (CSS/JS paths).
Simplifies automated asset inclusion and keeps deployments predictable. -
Composer Packaging Improvements
Introduced a dedicatedcomposer.jsonfor datatable assets and removed an unused ESM entry from the dev file list.
Reduces clutter and avoids shipping redundant files. -
Dependency Hygiene
Removed a straypackage-lock.jsonfor theavalynx-alertvendor package and ignored rootpackage-lock.json.
Prevents accidental lockfile drift and unexpected dependency pinning. -
Version Bump & Examples
Updated references across README and examples to0.0.4(CSS/JS via jsDelivr).
Ensures copy-paste snippets load the correct version. -
Minor JavaScript Fix
Corrected a small logic/typo issue in the table rendering path.
Improves reliability when applying per-cell classes during render.
Compatibility: Backward compatible.
Full Changelog: 0.0.3...0.0.4
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
0.0.2
Release 0.0.2 – Changelog Summary
This release refines AvalynxDataTable’s configuration model, adds new integration options (Composer, npm, jsDelivr), and enhances developer documentation.
The focus is on better defaults, simpler setup, and improved flexibility for modern web environments.
-
Improved Configuration Model
Theoptions.cssTableproperty has been renamed tooptions.classNamefor clarity and consistency with web standards.
Newoptions.loadersupport allows developers to define a custom loading handler. -
Extended API Options
AddedapiMethodandapiParamssettings for more flexible server interactions.
Enables bothGETandPOSTusage out of the box. -
Composer Package Added
AvalynxDataTable is now available via Composer, making PHP project integration seamless. -
Updated Documentation
README optimized with clearer installation methods and direct links for npm, jsDelivr, and Composer.
Also includes detailed option descriptions and defaults. -
Examples Updated
New examples demonstrate multiple table instances and cleaner demo structure for easier testing. -
Dependency and Environment Cleanup
.gitignoreand demo paths refined; unnecessary files removed to streamline the repository. -
Version Metadata Update
Source and distribution files updated to reflect version 0.0.2 and maintain accurate versioning in headers.
Compatibility: Backward compatible with minor configuration renaming (cssTable → className).
Full Changelog: 0.0.1...0.0.2
0.0.1
Full Changelog: https://github.com/avalynx/avalynx-datatable/commits/0.0.1