Skip to content

PatternFly Java 0.12.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 09:20
· 115 commits to main since this release
aa04ab6

Added

  • Add org.patternfly.async package in the core module with AsyncStatus, AsyncItems, AsyncItemsController, HasAsyncItems, Reloadable, and ReloadStrategy
  • Add ReloadStrategy value class with everyInput(int) and structuralChange(BiPredicate) factory methods to make the three typeahead reload modes explicit and mutually exclusive
  • Add Reloadable interface with a single reloadOn(ReloadStrategy) method, implemented by Typeahead and BaseSearchInput
  • Add TypeaheadInputController delegate to share typeahead input handling between SingleTypeahead and MultiTypeahead
  • Add onNoResults(NoResults) to BaseSearchInput for feature parity with typeahead components

Changed

  • Move AsyncStatus from org.patternfly.core to org.patternfly.async
  • Move AsyncItems, AsyncItemsController, and HasAsyncItems from org.patternfly.component to org.patternfly.async
  • Consolidate two package-private StayOpenPredicate interfaces into a single typed org.patternfly.component.StayOpenPredicate<C>
  • Rename onSearch(SearchFilter) to onFilter(SearchFilter) in Typeahead and BaseSearchInput to clarify it filters existing menu items
  • Replace reQueryOnInput(int) and reloadWhen(BiPredicate) with reloadOn(ReloadStrategy) in Typeahead and BaseSearchInput

Removed

  • Remove unused SearchFilter.noResults() static method (superseded by the NoResults interface)

Fixed

  • Fix stale debounce callback surviving strategy changes in TypeaheadInputController and BaseSearchInput
  • Fix Menu.search() Javadoc claiming int return type when method returns List<MenuItem>