v5.1.0 - 10 fixes and new options from GitHub issue reports
Released November 12, 2026
The fixes span Advanced Select, Advanced Datepicker, Overlay and the npm package, and three of the reports turned into new options rather than just patches.
- Blocks: Changelog Timeline
- Updated: Advanced Datepicker to
vanilla-calendar-pro v3.4.0
- Fixed: Removed the
engines.nodefield pinning Node to the exact patch version used for reproducible builds;npm install prelineno longer fails or warns on other Node versions. #773 - Fixed: Advanced Select now renders the selected option's title in the toggle as plain text, so escaped markup in option text or
apiUrlresponse titles can no longer inject HTML. HTML inplaceholderand option icons still renders as before. - Fixed: Fixed Advanced Select in
tagsmode throwing "Cannot set properties of null" whensetValue()was called right after initialization, before the tags input finished its setup. #775 - Fixed: Fixed Advanced Datepicker shifting dates by one day outside UTC: selected dates,
dateFormatoutput, the defaultdateMinand"today"now use the local calendar date. Date-only values formatted withHH:mmnow show00:00, andDateobjects or timestamps inselectedDatesresolve to their local date. #777 - Fixed: Fixed an inline Advanced Datepicker (
inputMode: false) withselectedDatesthrowing on init and leaving every later datepicker on the page uninitialized. #787 and #788 - Fixed: Disabled dates in Advanced Datepicker (outside
dateMin/dateMaxor listed indisableDates) are now dimmed and no longer react to hover, consistent with disabled months and years. #779 and #780 - Fixed: Pressing
Enteron a link or button inside an Overlay (Modal, Offcanvas, responsive sidebar) now activates that element instead of being intercepted by the overlay. This restores keyboard navigation for links in sidebars that stay visible on large screens, and for links and buttons inside an open modal. #790 - Improvement: Added
optionValueAsTitleoption to Advanced Select to show each option'svaluein the dropdown list while still displaying its full text as the toggle label once selected, useful for compact lists like a page-size picker. #774 - Improvement: Added
showTodayButtonoption to Advanced Datepicker to show a "Today" button below the dates that jumps to the current month and selects today, with a label that followsdateLocale. #783 and #784 - Improvement: Added opt-in
inputModeOptions.closeOnSelectoption to Advanced Datepicker to close the calendar as soon as a single date is picked; ranges, multiple dates and time pickers stay open. #781 and #782
Full changelog: https://preline.co/docs/changelog.html#v5.1.0
v5.0.0 - Preline MCP, AI Prompts, Animated Icons and more
Released August 21, 2026
This release features Preline MCP support, AI Prompts for all Blocks, Animated Icons, Improvements and Fixes.
[!NOTE] At the moment, Preline MCP (terms apply) and Animated Icons are available for Preline Pro only.
- Components: Added a new Created with Preline MCP carousel showcase example.
- Docs: Added the AI Prompts guide with per-block prompt usage, agent setup guidance, and notes on AI output expectations.
- Docs: Added an Animated Icons page collecting the CSS icon marks, each looping so the motion can be watched without hovering.
- Components: Added native Tailwind CSS scrollbar width, gutter, and color examples to the Custom Scrollbar docs.
- Updated: Tailwind CSS to
v4.3
- Fixed: Updated Advanced Datepicker calendar styles so week labels and date rows align correctly (weekend columns no longer disappear and the dates grid is no longer transposed into columns), with improved selected-range styling. #765 and #771
- Fixed: Fixed Advanced Range Slider chart theme syncing, and ApexCharts root theme handling.
- Fixed: Fixed Clipboard modal copy tooltip and icon visibility in the modal example.
- Improvement: Added
requestandrequestCompletedevents to Advanced Select to track the lifecycle ofapiUrlrequests (search andapiLoadMorepagination), useful for showing loading indicators. #767 - Fixed: Fixed Advanced Select
apiUrlrequests throwing an "Invalid URL" error whenapiUrlwas set to a relative path. #761 and #762 - Fixed: Updated the Advanced Select documentation to add the previously undocumented
value,viewport,dropdownDirectionClasses,dropdownSpace,searchTemplate,searchWrapperTemplate,searchWrapperClasses,apiPageStart, andapiTotalPathoptions, extendapiFieldsMapwithpage,offset, andlimit, replace the staleoptionGroupTemplateentry withoptgroupTag, and fix theadditionalClassesoption name typo. #763 and #764 - Fixed: Fixed Tree View
isIndeterminateoption using||instead of??for its fallback, which incorrectly forced the defaulttruevalue even when explicitly set tofalse. #759 - Fixed: Fixed Advanced Select's
addOptionsetting thedata-hs-select-optionattribute to the string"undefined"when no options object was passed; it now serializes as"null"instead. #760 - Fixed: Fixed reverse (Shift+Tab) keyboard navigation escaping the Modal, Offcanvas, Dropdown, and Advanced Select focus traps instead of cycling within them. #770
Full changelog: https://preline.co/docs/changelog.html#v5.0
v4.2.0 - New components, 10+ framework guides, and quality improvements
Adds Marquee components, expands Stepper and Spinner examples, adds 13 framework guides, and includes Tailwind CSS v4.2.x support plus dropdown and scrollspy fixes.
New Components & Improvements
- Customization: Tailwind CSS v4.2.x new color palettes added to all components.
- Navigations: Expanded the Stepper docs with new vertical examples for static, linear, white, solid, and dynamic linear variants.
- Components: Added new Marquee components with text ticker, logo marquee, vertical, 3D, finance ticker, and card marquee examples.
- Components: Expanded the Spinners docs with new throbber, ring, pulse dot, wave, bars, terminal, blinking caret, shimmer text, loading dots, and ellipsis examples.
- Docs: Added a new Components index page to help users browse all Preline docs by category.
- Docs: Added specific Preline UI JavaScript guides for HTML + Vite, Hugo, Express, React + Vite, Next.js, Remix, Vue.js, Nuxt.js, Angular, Ember.js, Svelte, SolidJS, and Qwik.
Updates
- Updated: Tailwind CSS to v4.2.x
- Updated: Replaced legacy aspect-ratio plugin usage with native Tailwind CSS aspect-ratio utilities and removed the @tailwindcss/aspect-ratio dependency.
Fixes and Improvements
- Fixed: Preserve selected remote options in dropdown across searches in tags mode and fix crash when re-selecting an option after a subsequent search. [Issue #752]
- Fixed: Fix browser back button navigating away from page instead of returning to previous section by replacing replaceState with pushState and adding a popstate listener in scrollspy. [Issue #749]
v4.1.3 - Updated documentation for frameworks
Fixes and Improvements
- Fixed: Documentation updated according to the latest Preline release. [Issue #746]
- Fixed: Add wildcard exports for
css,src,distandvariants.cssto support bare specifier imports.
v4.1.2 - Plugin export issue causing incorrect behavior.
This update addresses a plugin export issue that could cause incorrect behavior. Now, the installation docs includes the additional options for manual initialization.
Fixes and Improvements
- Fixed: Resolved an issue with plugin exports that could cause plugins to be incorrectly exposed or unavailable in certain setups. [Issue #745]
v4.1.1 -Added missing Themes files to NPM package.
This update adds missing Themes CSS files to the NPM package.
v4.1.0 - Plugin ecosystem and architecture improvements
This update addresses core architecture improvements for plugins, other general improvements and fixes from Github issues.
Fixes and Improvements
- Improvements: Improved module entry architecture to support better tree-shaking by separating auto-init and manual-init flows. Added a dedicated preline/non-auto entry for explicit initialization, while preserving preline as the plug-and-play auto-init path. Also marked side-effectful entries explicitly and kept per-plugin imports preline/plugins/* as the recommended on-demand integration path.[Issue #697]. - Improvements: Add searchMatchMode to HSSelect ("substring", "chars-sequence", "token-all", "hybrid") to improve multi-word and non-consecutive matching, so queries like "Alpha Charlie" can match "Alpha Bravo Charlie Delta" while keeping legacy isSearchDirectMatch backward compatible. [Issue #730] - Fixed: HSOverlay.autoInit() re-initialization behavior after dynamic DOM updates to ensure overlays close correctly and restore the hidden state without getting stuck open. [Issue #704] - Fixed: Incorrect positioning of fixed dropdowns inside sticky containers. - Fixed: Accessibility issues within nested components. - Fixed: Fixed tooltips getting stuck in some cases - for example, when scrolling the page quickly, they wouldn’t disappear.
v4.0.0 - New Preline Themes, 10+ Framework Guides, Improvements Bug Fixes and more.
This update introduces Preline Themes, a new foundation for customization and visual identity, along with numerous improvements, bug fixes, and new framework guides.
Themes are defaulted to all Preline content but they are optional. You may use full utility classes instead. All components, examples and templates comes with Copy Utility Classes option.
New
- Customization: Themes
- Customization: Tailwind Colors
- Automation: Agent Skills
- Framework Guides:
- Components: Tabs as inner menu
- Components: Mega Menu to Overlay on Mobile Resoultion
- Components: Tabs: Open on hover
- Components: Advanced Select: Optgroup
- Components: Advanced Select: Multiple optgroup
- Components: Advanced Select: Custom template with colored square indicators
- Components: Switch: Shape
Fixes and Improvements
- Fixed:
role="region"added to the collapse components to address the latest W3C Nu HTML Checker and Lighthouse/axe-core accessibility rules - Previously, validators were more permissive about
aria-labelledbyon any element. Recent accessibility rules became stricter and now enforce thataria-labelledbycannot be used on a<div>unless that<div>has an allowedrole. - Fixed: Remove the duplicated search input in "tags" mode. [Issue #677]
- Fixed: Links inside the dropdown now respond to the Enter key for accessibility. [Issue #691]
- Fixed: Issue with fast typing and pasting data in the combobox. [Issue #692]
- Fixed: Bug in advanced select with infinite scroll paging. [Issue #693]
- Fixed: Double URL encoding in advanced select remote data API calls. [Issue #695]
- Fixed: Text inputs not responding to keyboard input within dropdown components. [Issue #700]
- Improvement: Added support for blank values in input number component. [Issue #702]
- Fixed: Input number max value validation not updating input field in real-time. [Issue #708]
- Improvement: Advanced Select now properly renders
<optgroup>elements. [Issue #710] - Fixed: HSDatePicker now recalculates its position on open (using Floating UI), preventing the calendar from rendering off-screen. [Issue #713]
- Fixed: Form elements inside the overlay no longer prevent the
Enterkey while focused. [Issue #723] - Fixed: Add support for pre-rendering selected options on initial load. [Issue #733]
- Improvement: Improved image validation for icons. [PR #672]
- Fixed:
data-hs-overlay-keyboard="false"now works as intended — overlays/modal windows no longer close when pressing ESC if the attribute is disabled. [PR #694] - Improvement: Add support for extracting date separators from
dateFormat. [PR #717] - Improvement: Improve scrollbar width calculation for different screen resolutions. [PR #735]
v.3.2.3 - Accessibility related issue has been fixed
Fixes and Improvements
- Fixed: Issues related to dropdown menus. [Issue #684]