Skip to content

Releases: avalynx/avalynx-datatable

1.0.4

02 Mar 16:56
885c803

Choose a tag to compare

Release 1.0.4 – Changelog Summary

Version 1.0.4 introduces a clearer and more flexible breakpoint option for controlling responsive layout behavior in the top and bottom table sections. This improves API clarity and gives developers explicit control over Bootstrap breakpoint usage.

  • New breakpoint Configuration Option
    Replaced the previous md option with a more expressive breakpoint setting for responsive layout control.
    Allows specifying any Bootstrap breakpoint (sm, md, lg, etc.) to fine-tune table control alignment.

  • Improved API Clarity
    Renamed internal option from md to breakpoint across source, tests, and documentation.
    Makes the intent of the option clearer and easier to understand when configuring responsive behavior.

  • Dynamic Responsive Class Handling
    Layout classes are now generated using flex-{breakpoint}-row based on the configured option.
    Ensures consistent and predictable responsive alignment of top and bottom control sections.

  • Documentation & CDN Updates
    Updated README examples and jsDelivr references to version 1.0.4 and the new option name.
    Helps users adopt the new configuration seamlessly.

Compatibility: Breaking Change: option md renamed to breakpoint


Full Changelog: 1.0.3...1.0.4

1.0.3

02 Mar 16:30
03df5a2

Choose a tag to compare

Release 1.0.3 – Changelog Summary

Version 1.0.3 introduces configurable Bootstrap breakpoint support for responsive layout control and includes minor consistency and formatting improvements. This gives developers more flexibility in adapting the table layout to different screen sizes.

  • Custom Bootstrap Breakpoint Support
    Added new md option to configure the responsive breakpoint used for top and bottom control rows (default: 'md').
    Allows adapting the layout to sm, md, lg, etc., for better control over responsive behavior.

  • Responsive Layout Refactoring
    Moved fixed flex-md-row classes into dynamic logic based on the new breakpoint option.
    Ensures consistent responsive behavior while enabling per-project customization.

  • Extended Test Coverage
    Added tests verifying default and custom breakpoint class application.
    Improves reliability and prevents regressions in responsive layout handling.

  • Standardized Author Naming
    Updated LICENSE and package metadata to use camel case module naming.
    Aligns naming conventions across all Avalynx modules for consistency.

  • Minor Formatting Cleanup
    Improved code readability with small formatting adjustments.
    Enhances maintainability without affecting functionality.

Compatibility: Backward compatible


Full Changelog: 1.0.2...1.0.3

1.0.2

24 Feb 15:39
e93166b

Choose a tag to compare

Release 1.0.2 – Changelog Summary

This release focuses on improved robustness, responsive table capabilities, and internal refactoring for better performance and maintainability. It enhances integration options, strengthens parameter validation, and introduces new lifecycle utilities while remaining fully backward compatible.

  • Responsive Table Integration
    Added optional integration with AvalynxTable for responsive stacking behavior on smaller devices.
    Enables improved mobile usability without changing existing table configurations.

  • Configuration & Initialization Hardening
    Added safe fallback handling for options and language parameters during initialization.
    Prevents runtime errors and ensures sensible defaults even with incomplete or null configurations.

  • Improved Loader Handling
    Introduced a centralized showLoader helper and refined overlay behavior.
    Provides consistent loading state management and smoother UX during data fetch operations.

  • Event Handling & Lifecycle Enhancements
    Refactored event binding using delegated handlers and added refresh() and destroy() methods.
    Allows cleaner teardown, dynamic refreshes, and safer re-initialization in SPA or dynamic DOM scenarios.

  • Performance & DOM Optimization
    Optimized table rendering using DocumentFragment and reduced redundant DOM updates.
    Improves rendering performance, especially for larger datasets and frequent refreshes.

  • Sorting & Search Improvements
    Enhanced multi-column sorting logic and prevented unnecessary fetches when search input is unchanged.
    Results in more predictable sorting behavior and reduced network overhead.

  • API & Request Handling Refinements
    Standardized parameter encoding using URLSearchParams for both GET and POST requests.
    Ensures proper query encoding and better interoperability with various backend implementations.

  • Testing, CI & Coverage Expansion
    Added comprehensive Jest test coverage (100%) and CI workflow with Codecov integration.
    Increases reliability and confidence in future changes.

  • Documentation & Examples Update
    Added a full German README, new integration example, and refreshed usage documentation.
    Provides clearer guidance and demonstrates advanced integration scenarios.

Compatibility: Backward compatible

Full Changelog: 1.0.1...1.0.2

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