Skip to content

Releases: orchidjs/tom-select

2.0.0 Release Candidate 5

06 Nov 16:17
Compare
Choose a tag to compare
  • Remove TomSelect dependency from plugins. Thanks @ryanb
  • Don't select option on enter when no matches found. #235
  • Use official sass package instead of node-sass.
  • Close dropdown when creating new item and closeAfterSelect=true. #250. Thanks @erikbrannstrom
  • [ctrl-a] when control_input has text should select text. #251
  • Display keyboard for iOS 15 when clicking on control_input. #212

2.0.0 Release Candidate 2

25 Aug 00:03
Compare
Choose a tag to compare
  • #184 Preload once
  • #186 Fixed browser halt when searching with longer queries
  • #185 Display loading spinner when preload=focus

2.0.0 Release Candidate 1

21 Aug 17:11
Compare
Choose a tag to compare

JavaScript

  • #168 Correct types for TomSettings.plugins
  • #180 dropdown_input plugin: don't focus before close if not open

Migrating to v2

1.7.7

17 Jul 19:01
Compare
Choose a tag to compare

JavaScript

  • Focus on tab with dropdown_input plugin. Fixes #138
  • setAttr() can accept number arguments
  • Fix Safari issue with submitting selected options #122
  • Generate *.d.ts in dist/types for #66

Docs

  • Add ids for better search navigation
  • Add description for constructor
  • Remove inline CSS

Tests

  • Safari 14
  • tab should change document.activeElement

2.0.0 Beta 1

15 Jul 23:57
Compare
Choose a tag to compare
2.0.0 Beta 1 Pre-release
Pre-release
  • Caret position functionality moved to Caret Position plugin
  • user_created parameter added to addOptions() #145
  • Hidden controlInput with controlInput=null instead of controlInput=''
  • Consistent keyboard navigation across control input configurations
  • close() shouldn't prevent further keyboard input
  • Add sync() method
  • Deprecate isInvalid, use isValid instead
  • input validation on original input

1.7.6

04 Jul 14:12
Compare
Choose a tag to compare

JavaScript

  • Fix TomSelect in shadow root #132
  • Add doc_mousedown listener so that it can be removed in _destory()
  • Use on(initialize) instad of hook(after setup) in plugins
  • TypeScript
    • noUnusedParameters: true
    • strictBindCallApply: true
    • noImplicitAny: true

CSS

  • Remove unnecessary clearfix hack

Tests

  • [escape] should clear the control_input
  • Use before() to setup tests
  • Fewer uses of jQuery
  • Update browserstack launchers
  • Combine focus and blur tests
  • Ability to create tests istance outside of setup_test()
  • More async tests

Docs:

  • Fix search input positioning
  • Update Render Template
  • Bootstrap 5.0.2, fix striped tables

1.7.5

08 Jun 02:32
Compare
Choose a tag to compare

JavaScript

  • Fix change_listener plugin causing loss of focus and not respecting delimiter
  • Fix conflict between change_listener plugin and removeItem()
  • Fix incorrect loading count
  • allowEmptyOption not working #119
  • Fix "no implicit any" in utils.ts #117
  • Type assertion for keypress in dropdown_input plugin
  • Add husky to run test:typescript before commits
  • Initialize duplicate options. Buffer offers zero performance improvement
  • Arrow functions in utils.ts and vanilla.ts
  • Fix updateOriginalInput() for duplicate items
  • Add item_select event

CSS

  • Add min-width for input_autogrow to make sure cursor is visible

Docs

  • "Render Templates" instead of "Rendering". Lead paragraph for Remote Data
  • Remove esm example
  • Updates to customizing.njk
  • flex-column for offcanvas content

Tests

  • async for optgroup_columns
  • Check for tests that should be async

1.7.4

03 Jun 01:39
Compare
Choose a tag to compare

JavaScript

  • onBlur() not called properly for #111
  • Remove correct item with backspace for #106
  • highlight.js to highlight.ts

Docs

  • Update hidePlaceholder description
  • Docsearch css
  • load(query) instead of load(fn) for #105
  • Faster site rebuild during dev
  • Update icon-blender
  • Update contribute.md and add pull_request_template.md

1.7.3

28 May 21:52
Compare
Choose a tag to compare

JavaScript

  • #102 clicking options or items should prevent click evts on parent nodes
  • Better TypeScript typing
  • Correct types entry in package.json
  • contrib/microplugin.js changed to TypeScript

CSS

  • Fix dropdown-active border radius

Docs

  • Add Algolia search
  • Fix CSP conflict with no-backspace-delete example
  • Dropdown template does not have display:none

Tests

  • Add test for allowEmptyOption
  • use scroll(..'auto') for virtual scroll tests

1.7.2

21 May 14:43
Compare
Choose a tag to compare

JavaScript

  • #97 Placeholder showed after focus out of selectbox when clear button clicked
  • #98 Removing all items from tom-select mode=single doesn't update underlying select
  • add scroll() method, add behavior option to scrollToOption()
  • revert portions of 1bf49e5 to fix duplicate item deletion
  • #88 Dropdown doesn't scroll to active option
  • don't change activeOption when hideSelected = false for #88
  • #93 Select box smooth scrolls to current item when opening
  • close() dropdown on load to make sure it is hidden

CSS

  • #95 make spinner scss vars overwritable
  • #91 bootstrap 5 styles doesn't apply to input-group
  • #92 fix placement of clear-button with single mode caret

Other

  • Added robots.txt and sitemap.xml to documentation site
  • #94 Updated docs for clearOptions()
  • More tests