Skip to content

Releases: avalynx/avalynx-datatable

1.0.1

05 Oct 21:06
98d88be

Choose a tag to compare

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 the data_class handling 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
    Added module.exports for 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 to 1.0.1 on jsDelivr.
    Copy-paste snippets fetch the current production build.

  • Repo Hygiene
    Added ai.txt to .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

05 Jun 20:04
9a26eb4

Choose a tag to compare

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 reference 1.0.0 assets for consistency.
    Ensures examples reflect the latest production build without manual updates.

  • Project Cleanup
    Removed the deprecated CHANGELOG.md file 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

07 Mar 21:56
b7ee305

Choose a tag to compare

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
    Added assetscomposer.json describing distributable and dev files (CSS/JS paths).
    Simplifies automated asset inclusion and keeps deployments predictable.

  • Composer Packaging Improvements
    Introduced a dedicated composer.json for datatable assets and removed an unused ESM entry from the dev file list.
    Reduces clutter and avoids shipping redundant files.

  • Dependency Hygiene
    Removed a stray package-lock.json for the avalynx-alert vendor package and ignored root package-lock.json.
    Prevents accidental lockfile drift and unexpected dependency pinning.

  • Version Bump & Examples
    Updated references across README and examples to 0.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

23 Oct 07:05
e48256b

Choose a tag to compare

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

0.0.2

30 May 10:48
038fd90

Choose a tag to compare

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
    The options.cssTable property has been renamed to options.className for clarity and consistency with web standards.
    New options.loader support allows developers to define a custom loading handler.

  • Extended API Options
    Added apiMethod and apiParams settings for more flexible server interactions.
    Enables both GET and POST usage 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
    .gitignore and 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 (cssTableclassName).


Full Changelog: 0.0.1...0.0.2

0.0.1

04 Apr 15:24

Choose a tag to compare