PackageTrack
Sign in Get early access

symfony/ux-autocomplete

JavaScript Autocomplete functionality for Symfony

v3.4.0 6.5M downloads/mo #1274 most downloaded on Packagist symfony/ux-autocomplete

What this package is like to depend on

Last release 27 days ago

27 Jul 2026

Ships fairly regularly

a new release about every 5 weeks

Some releases are documented

notes for 29 of 60 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

60 releases · first in 2022

12 releases in the last 12 months

see the full history below

Release timeline

57 releases · Jun 2022 to Jul 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 60
  1. v3.4.0 27 Jul 2026
    Release notes

    Changelog (v3.3.0...v3.4.0)

    • minor #3735 Add sync-packages.php to normalize packages .gitattributes (@Kocal)
    • bug #3730 Fix broken assets/tsconfig.json reference breaking webpack 5.109+ builds (@zalesak)
    Open source →
  2. v3.3.0 09 Jul 2026
    Release notes

    Changelog (v3.2.0...v3.3.0)

    • bug #3685 Fix LIKE ESCAPE clause breaking search on PostgreSQL (@Amoifr)
    Open source →
  3. v3.2.0 05 Jun 2026
    Release notes

    Changelog (v3.1.0...v3.2.0)

    • no significant changes
    Open source →
  4. v3.1.0 29 May 2026
    Release notes

    Changelog (v3.0.0...v3.1.0)

    Open source →
  5. v3.0.0 09 Apr 2026
    Release notes

    Changelog (v2.34.0...v3.0.0)

    • feature #3453 Update minimum required Symfony version to 7.4 (@Kocal)
    • feature #3450 Upgrade minimum required PHP version to 8.4 (@Kocal)
    • feature #3422 Add option clear_on_focus (@zairigimad)
    • feature #3186 Remove BC layers for methods and parameters (@Kocal)
    • bug #3187 Add phpunit.dist.xml in .gitattributes (@Kocal)
    • bug #3182 Drop Symfony PHPUnit Bridge in favor of PHPUnit >= 11.0 (@Kocal)
    • feature #3103 Remove deprecated code for 3.0 (@smnandre)
    • feature #2998 Upgrade minimum required PHP version to 8.2 (@Kocal)
    • feature #2996 Update minimum required Symfony version to ^6.4 (@Kocal)
    Open source →
  6. v2.36.2 08 Jul 2026
    Release notes

    Changelog (v2.36.1...v2.36.2)

    • bug #3685 Fix LIKE ESCAPE clause breaking search on PostgreSQL (@Amoifr)
    Open source →
    Release notes
    • Fix the autocomplete search query throwing an exception on PostgreSQL because of the ESCAPE '\' clause introduced in 2.36; a backslash-free LIKE escape character is now used.
    Open source →
  7. v2.36.0 29 May 2026
    Release notes

    Changelog (v2.35.0...v2.36.0)

    Open source →
  8. v2.35.0 05 Apr 2026
    Release notes

    Changelog (v2.34.0...v2.35.0)

    • feature #3422 Add option clear_on_focus (@zairigimad)
    Open source →
  9. v2.34.0 21 Mar 2026
    Release notes

    Changelog (v2.33.0...v2.34.0)

    • bug #3401 Update package.json to 2.33.0 (@Kocal)
    Open source →
  10. v2.33.0 15 Mar 2026
    Release notes

    Changelog (v2.32.0...v2.33.0)

    • feature #3362 Migrate from tsup (deprecated) to tsdown (@Kocal)
    • bug #3323 Use Extension from DependencyInjection instead of HttpKernel (@Kocal)
    • bug #3304 Fix npm releases due to repository issue (@Kocal)
    • bug #3290 Update root JS dependencies (@Kocal)
    Open source →
  11. v2.32.0 01 Jan 2026

    Nothing published for this version

  12. v2.31.0 16 Oct 2025

    Nothing published for this version

  13. v2.30.0 27 Aug 2025

    Nothing published for this version

  14. v2.29.2 18 Aug 2025

    Nothing published for this version

  15. v2.29.1 08 Aug 2025

    Nothing published for this version

  16. v2.29.0 07 Aug 2025
    Release notes
    • Add Symfony 8 support
    Open source →
  17. v2.28.2 29 Jul 2025

    Nothing published for this version

  18. v2.28.1 28 Jul 2025

    Nothing published for this version

  19. v2.28.0 27 Jul 2025
    Release notes
    • Default plugins like clear_button or remove_button can now be removed when setting their value to false in the tom_select_options.plugins option, for example:
    <?php
    #[AsEntityAutocompleteField]
    class IngredientAutocompleteType extends AbstractType
    {
        public function configureOptions(OptionsResolver $resolver): void
        {
            $resolver->setDefaults([
                'class' => Ingredient::class,
                'tom_select_options' => [
                    'plugins' => [
                        'clear_button' => false, // Disable the clear button
                        'remove_button' => false, // Disable the remove button
                    ],
                ],
            ]);
        }
    
        public function getParent(): string
        {
            return BaseEntityAutocompleteType::class;
        }
    }
    
    Open source →
  20. v2.27.0 21 Jun 2025

    Nothing published for this version

  21. v2.26.1 05 Jun 2025

    Nothing published for this version

  22. v2.26.0 23 May 2025

    Nothing published for this version

  23. v2.25.2 19 May 2025

    Nothing published for this version

  24. v2.25.1 19 May 2025

    Nothing published for this version

  25. v2.25.0 26 Apr 2025
    Release notes
    • Escape querySelector dynamic selector with CSS.escape() #2663
    Open source →
  26. v2.24.0 17 Mar 2025

    Nothing published for this version

  27. v2.23.0 06 Feb 2025
    Release notes
    • Deprecate ExtraLazyChoiceLoader in favor of Symfony\Component\Form\ChoiceList\Loader\LazyChoiceLoader
    • Reset TomSelect when updating url attribute #1505
    • Add EntityAutocompleterInterface::getAttributes() method to define additional attributes for autocomplete results #2541
    Open source →
  28. v2.22.1 05 Dec 2024

    Nothing published for this version

  29. v2.22.0 28 Nov 2024
    Release notes
    • Take labelField TomSelect option into account #2382
    Open source →
  30. v2.21.0 21 Oct 2024
    Release notes
    • Translate the option_create option from TomSelect with remote data setup #2279
    • Add one missing Dutch translation #2279
    Open source →
  31. v2.20.0 06 Sep 2024
    Release notes
    • Translate the option_create option from TomSelect #2108
    Open source →
  32. v2.19.2 13 Aug 2024

    Nothing published for this version

  33. v2.19.0 31 Jul 2024

    Nothing published for this version

  34. v2.18.0 01 Jun 2024

    Nothing published for this version

  35. v2.17.0 19 Apr 2024
    Release notes
    • Allow choice_value option in entity autocomplete fields #1723
    Open source →
  36. v2.16.0 29 Feb 2024
    Release notes
    • Missing translations added for many languages #1527 #1528 #1535
    Open source →
  37. v2.15.0 20 Feb 2024
    Release notes
    • Add doctrine/orm 3 support #1468
    • Allow passing extra options to the autocomplete fields #1322
    • Fix 2 bugs where TomSelect would reset when not necessary #1502
    • Add one missing German translation #1521
    Open source →
  38. v2.14.2 03 Feb 2024

    Nothing published for this version

  39. v2.14.0 30 Jan 2024
    Release notes
    • Fixed behavior of Autocomplete when the underlying select or option elements were modified to hopefully, more reliably, reset the autocomplete instance. This is particularly important with LiveComponents.
    • Add support for the render.loading_more Tom Select Virtual Scroll option (loading_more_text)
    • Avoid losing the selected options when the Stimulus component is disconnected and reconnected to the DOM.
    • Added tom-select/dist/css/tom-select.bootstrap4.css to autoimport - this will cause this to appear in your controllers.json file by default, but disabled see.
    • Allow passing extra_options key in an array passed as a 3rd argument of the ->add() method. It will be used during the Ajax call to fetch results.
    Open source →
  40. v2.13.3 12 Nov 2023

    Nothing published for this version

  41. v2.13.2 11 Nov 2023
    Release notes
    • Revert "Change JavaScript package to type: module"
    Open source →
  42. v2.13.1 09 Nov 2023

    Nothing published for this version

  43. v2.13.0 07 Nov 2023
    Release notes
    • Add new BaseEntityAutocompleteType
    • Drop symfony 5.4 support.
    • Add Symfony 7 support.
    • Change JavaScript package to type: module
    Open source →
  44. v2.12.0 13 Sep 2023

    Nothing published for this version

  45. v2.11.2 11 Sep 2023

    Nothing published for this version

  46. v2.11.1 19 Jun 2023

    Nothing published for this version

  47. v2.11.0 no date

    Nothing published for this version

  48. v2.10.0 no date

    Nothing published for this version

  49. v2.9.1 30 May 2023

    Nothing published for this version

  50. v2.9.0 26 May 2023
    Release notes
    • Add support for symfony/asset-mapper
    Open source →
  51. v2.8.1 24 Apr 2023

    Nothing published for this version

  52. v2.8.0 no date
    Release notes
    • The autocomplete now watches for update to any option elements inside of it change, including the empty / placeholder element. Additionally, if the select or input element's disabled attribute changes, the autocomplete instance will update accordingly. This makes Autocomplete work correctly inside of a LiveComponent. This functionality does not work for multiple selects.

    • Added support for using OptionGroups.

    Open source →
  53. v2.7.1 24 Jan 2023

    Nothing published for this version

  54. v2.7.0 19 Jan 2023
    Release notes
    • Add assets/src to .gitattributes to exclude them from the installation

    • Fix minCharacters option default value handling when using a falsy value like 0.

    • Fix TypeScript types

    • Add a new route parameter to AsEntityAutocompleteField, which allows to choose another route for Ajax calls.

    • Fix minCharacters option default value handling when using a falsy value like 0.

    • Fix TypeScript types

    • Add a way to detect if a field is an "autocomplete" field in form themes - #608

    Open source →
  55. v2.6.1 01 Dec 2022

    Nothing published for this version

  56. v2.6.0 28 Nov 2022
    Release notes
    • [BC BREAK]: The path to routes.php changed and you should update your route import accordingly:
    # config/routes/ux_autocomplete.yaml
    ux_autocomplete:
    -    resource: '@AutocompleteBundle/Resources/routes.php'
    +    resource: '@AutocompleteBundle/config/routes.php'
        prefix: '/autocomplete'
    
    • Add support for tom-select version 2.2.2 and made this the minimum-supported version.
    • Added support for the preload TomSelect option.
    • Fix don't add WHERE IN criteria without params (#561).
    • Fix issue where max_results was not passed as a Stimulus value (#538).
    • Add all possible stylesheets for tom-select to the autoimport to choose from.
    Open source →
  57. v2.5.0 06 Nov 2022
    Release notes
    • Automatic pagination support added: if the query would return more results than your limit, when the user scrolls to the bottom of the options, it will make a second Ajax call to load more.

    • Added max_results option to limit the number of results returned by the Ajax endpoint - #478.

    • Support added for setting the required minimum search query length (defaults to 3) (#492)

    • Fix support for more complex ids, like UUIDs - #494.

    • Fixed bug where sometimes an error could occur in the Ajax call related to the label - #520.

    Open source →
  58. v2.4.0 14 Aug 2022
    Release notes
    • Component added!
    Open source →
  59. v2.3.0 06 Jul 2022

    Nothing published for this version

  60. v2.2.0 15 Jun 2022

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive