Releases: avalynx/avalynx-datatable
1.0.4
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
breakpointConfiguration Option
Replaced the previousmdoption with a more expressivebreakpointsetting 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 frommdtobreakpointacross 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 usingflex-{breakpoint}-rowbased 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
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 newmdoption to configure the responsive breakpoint used for top and bottom control rows (default:'md').
Allows adapting the layout tosm,md,lg, etc., for better control over responsive behavior. -
Responsive Layout Refactoring
Moved fixedflex-md-rowclasses 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
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 foroptionsandlanguageparameters during initialization.
Prevents runtime errors and ensures sensible defaults even with incomplete or null configurations. -
Improved Loader Handling
Introduced a centralizedshowLoaderhelper 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 addedrefresh()anddestroy()methods.
Allows cleaner teardown, dynamic refreshes, and safer re-initialization in SPA or dynamic DOM scenarios. -
Performance & DOM Optimization
Optimized table rendering usingDocumentFragmentand 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 usingURLSearchParamsfor 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
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