Releases: projectblacklight/blacklight
Releases · projectblacklight/blacklight
v7.28.0
v7.27.1
v7.27.0
What's Changed
- Pass a SearchState instance when building the advanced search form search service by @cbeer in #2753
- Render adv search constraints even in the deprecated helpers by @cbeer in #2759
- Remove wrapping classes from bookmark tools by @cbeer in #2756
- Facet rendering should fall back on a null facet field response by @cbeer in #2758
Full Changelog: v7.26.1...v7.27.0
v7.26.1
v7.26.0
What's Changed
- Use attr_readers to access facet item data by @cbeer in #2739
- Backport Blacklight::FacetComponent implementation by @cbeer in #2740
- Also handle 'inclusive' facets in deprecated #render_filter_element m… by @cbeer in #2734
- Use helpers instead of @view_context by @cbeer in #2738
Full Changelog: v7.25.3...v7.26.0
v7.25.3
v7.25.2
What's Changed
- Backport BookmarksController#create should not return success on invalid input by @sandbergja in #2710
- Deprecate the _previous_next_doc.html.erb partial in 7.x by @barmintor in #2711
- removing presenter kwarg breaks 7.x apps, deprecate and ignore instead by @barmintor in #2713
- Use FILE instead of file by @cbeer in #2714
- render_search_bar should delegate to SearchBarComponent until it is removed in 8.0 by @barmintor in #2715
- configured search_state_class propagates to search builder by @barmintor in #2719
- Backport unpermitted params by @cbeer in #2718
- Update icon to be compatible with propshaft by @jcoyne in #2726
Full Changelog: v7.24.0...v7.25.2
v7.25.1
What's Changed Since 7.24.0
Features
Blacklight::Component
, a base component for Blacklight, is introduced and used as the parent class for most componentsBlacklight::Component
provides limited ability to override the template compiled for the component without writing a new componentBlacklight::SearchState
sanitizes its params hash according to the Blacklight configuration for filters and explicitly allowed fields
Bugfixes
- Explicitly test that bootstrap and bootstrap.Modal are defined
- Blacklight::DocumentFactory is not yet loaded when Blacklight::Configuration property defaults are set
Deprecations
Blacklight::SearchBarPresenter
is deprecated in favor of rendering the search bar component directly
Full Changelog: v7.24.0...v7.25.1
v7.24.0
What's Changed
- Backport #2654: Bring the facebook param fix to inclusive facets as well by @SandbergJ in #2655
- Backport #2657: Extract default pagination options to engine-level configuration by @cbeer in #2658
- Explicitly use the top-level Deprecation class by @cbeer in #2663
- Backport #2659: Don't allow constraint values to wrap by @cbeer in #2662
- Backport #2649: Use thread_mattr_accessor instead of deprecated ActiveSupport::PerThreadRegistry by @cbeer in #2650
Full Changelog: v7.23.0.1...v7.24.0
v7.23.0
What's Changed
New Features
- #2597: Handle RSolr timeouts with its own class by @jrochkind in #2636
- #2605: Support for spellcheck collations: by @epugh in #2637
- #2626: Extract components for displaying previous searches as text by @cbeer in #2629
- Support Rails 7 in Blacklight 7 by @jcoyne / @cbeer in #2615
Fixes
- #2638: Guard against bootstrap variable not being defined; fixes #2612 by @cbeer in #2639
- Avoid deprecation with view_component loading by @hackartisan in #2621
- #2579: Mark required fields as required by @cbeer in #2640
- #2627: Update #render_search_to_page_title to use search state to resolve filters by @cbeer in #2630
- #2617: Bug fix: stop the ERB block from accidentally rendering by @ewlarson in #2646
Testing + development experience
- Deprecate engine config keys by @barmintor in #2610
- Fix release-7.x build by @hackartisan in #2622
- Bump test dependency versions by @cbeer in #2631
- #2613: Add expectations, so that we're on the right page before clicking buttons by @jcoyne in #2635
- #2633: Use the class_methods module provided by ActiveSupport::Concern by @jcoyne in #2633
- #1930: Routing spec for /search_history by @cbeer in #2634
- #2543 + #2544: Bump rspec + Remove unnecessary dependency rspec-its by @jcoyne in #2643
- #2458: Testing tweaks by @cbeer in #2642
Full Changelog: v7.22.2...v7.23.0