# Change Log ## 4.0.12 ### Bug fixes * Fixes incorrect offset when using the Shadow DOM and styling the `` element (#5682) ### Miscellaneous * Replace cdnjs with jsDelivr in the documentation (#5687) * Fix incorrect provider for the automated NPM deployment (#5686) ## 4.0.11 ### Bug fixes * Fixes jQuery migrate error when getting offset when dropdownParent not in document (#5584) ### Miscellaneous * Enable GitHub actions for CI (#5591) * Documentation has been moved into and is deployed from the code repository (#5638) * Remove Travis CI integration (#5665) ## 4.0.10 ### New features / improvements * Support passing in a selector for `dropdownParent` option (#5622) ### Bug fixes * Fix bug where dropdowns pointing upwards were incorrectly positioned (#5621) ## 4.0.9 ### New features / improvements * Mirror disabled state through aria-disabled on selection (#5579) * Select2 now clears the internal ID when it is destroyed (#5587) * Set the main ARIA 1.1 roles and properties for comboboxes (#5582) * The `language` option now has a clearly defined fallback chain (#5602) ### Bug fixes * Do not propagate click when search box is not empty (#5580) * Fix `maximumSelectionLength` being ignored by `closeOnSelect` (#5581) * Fix generated options not receiving result IDs (#5586) * Remove selection title attribute if text is empty (#5589) * Reposition dropdown whenever items are selected (#5590) * Fix dropdown positioning when displayed above with messages (#5592) * Fix search box expanding width of container (#5595) * `allowClear` no longer shifts selections to a new line (#5603) ### Translations * Fix error in German translations (#5604) ### Miscellaneous * Updated development grunt version so it no longer shows as vulnerable (#5597) * Remove unused variables (#5554) ## 4.0.8 ### New features / improvements * Test against and fix compatibility with jQuery 3.4.1 (#5531) * Results respect disabled state of `