Minor release
v3.11.0 - 142 Pull Requests merged this month π€―
Hey @everyone! We just released 3.11 with over 140 PRs merged! π
Here's are the highlights:
- Add breadcrumbs to association pages
- Add attachments to record and
single_
includes - Display additional fields when attaching a record to another
- Set default scopes
- full IDs obfuscation (friendlyid/hashids/prefixedids)
- popovers in action lists
- Add optional confirmation on save
- add visible option for tabs
- Run callbacks on through model when detaching association
- Display warning when menu editor is used in community license
- custom search drivers
- add
default_sort_column
configuration option - add visible option to tab
- Add translations for different languages
- refactor: Restructure Avo::BaseResource for user customization
- add visible option to panels
- Render action controls without adding to actions method
- options for select
- Create button to nullify date_time fields
- or modifier when filtering by same attribute
- allow actions to render turbo streams
- alias closemodal action response to donothing
- extra map markers
- Enable configuring search_count per resource
- apply target resource policy on belongs_to field create new link
- hide empty menu groups and sections
Full release-notes on our website.
https://avohq.io/releases/3.11
Kanban boards
I forgot to show you the kanban boards π
If you want to see more join our Office Hours session this Friday.
I'll walk through the feature as we have it now.
Friendly.rb is nearing
We announced 12 spectacular speakers. We'll do outdoor activities. We'll have cool surprises and swag.
You only need to be there. We'll take care of the rest.
Thanks for being awesome!
Adrian, Paul, and Avi
Release notes: https://avohq.io/releases/3.11
Release video: https://youtu.be/flrl8DGxx6Y
Twitter: https://twitter.com/avo_hq
Repo: https://github.com/avo-hq/avo
Subscribe to Short Ruby Newsletter: https://shortruby.com/
Subscribe to SupeRails: https://www.superails.com
Subscribe to the Friendly.show: https://www.friendly.show
Friendly.rb: https://friendlyrb.com/
Release notes
More information and release video here
πΈ Features
- feature: number is_within @Paul-Bob (#61)
- Feature: Add breadcrumbs to association pages @binarygit (#3082)
- Feature: Display additional fields when attaching a record to another @binarygit (#3048)
- Feature: Set default scopes @binarygit (#3081)
- feature: full IDs obfuscation (friendlyid/hashids/prefixedids) @gabrielgiroe1 (#2564)
- feature: kanban boards (preparation) @adrianthedev (#3088)
- feature: popovers in action lists @Paul-Bob (#3080)
- Feature: Add optional confirmation on save @G-Simpson (#2965)
- add visible option for tabs @icaroryan (#3031)
- Feature: Run callbacks on through model when detaching association @binarygit (#3004)
- Feature: Display warning when menu editor is used in community license @binarygit (#3056)
- feature: custom search drivers @Paul-Bob (#3034)
- feature: add
default_sort_column
configuration option @icaroryan (#3018) - feature: add visible option to tab @icaroryan (#3017)
- feature: Add translations for different languages @binarygit (#3020)
- refactor: Restructure Avo::BaseResource for user customization @Yash-Singh-Pathania (#2998)
- feature: add visible option to panels @icaroryan (#2989)
- Render action controls without adding to actions method @binarygit (#2968)
- feature: options for select @Paul-Bob (avo-dynamic_filters #59)
- Create button to nullify date_time fields @binarygit (#2951)
- feature: or modifier when filtering by same attribute @Paul-Bob (avo-dynamic_filters #52)
- feature: allow actions to render turbo streams @Paul-Bob (#2796)
- feature: add attachments to record @adrianthedev (#2956)
- Feature: alias closemodal action response to donothing @G-Simpson (#2952)
- feature: extra map markers @Paul-Bob (#2941)
- Enable configuring search_count per resource @binarygit (#2930)
- feature: apply target resource policy on belongs_to field create new link @Paul-Bob (#2934)
- feature: hide empty menu groups and sections @Paul-Bob (#2931)
π Bug Fixes
- fix: correct field for filter @Paul-Bob (#60)
- fix:
set_record
when fetchingfields
on actions'handle
@Paul-Bob (#3093) - fix: panel component orientation @adrianthedev (#3092)
- fix: base resource overriding @Paul-Bob (#3077)
- fix: pagy 9 support @Paul-Bob (#3090)
- fix: menu test on
avo_warining_spec.rb
@Paul-Bob (#3089) - fix: MissingResourceError on polymorphic field @Paul-Bob (#3087)
- Fix: Side menu always displays @binarygit (#3064)
- Fix: Always display persisted image in the edit view @binarygit (#3015)
- fix: aftercreatepath when is associated record @Paul-Bob (#3065)
- fix: sign_out test @Paul-Bob (#3067)
- fix: errors when attaching @Paul-Bob (#3002)
- fix: search @Paul-Bob (#3051)
- fix: check for pagy version @adrianthedev (#3050)
- fix: exclude rails 7.1 version error from production @Paul-Bob (#3042)
- π pagy v9 compatibility, backwards compatible @yshmarov (#3046)
- fix: tiptap multiple versions of prosemirror-model were loaded @Paul-Bob (#3037)
- π Fix: css based solution for sidebar without js dependency @G-Simpson (#3041)
- fix: boolean dash when false @Paul-Bob (#3044)
- fix: model assignment @pravo23 (#3032)
- fix: assets outputted multiple times @adrianthedev (#3027)
- fix: uninitialized constant Net::HTTP error @binarygit (#3016)
- fix: boolean group field broken with setters @adrianthedev (#2985)
- Change boolean field to show dash when null @serene (#2997)
- fix: includes on right avo base resource @Paul-Bob (avo-dashboards #44 & avo-pro #81 & avo-dynamic_filters #57)
- fix: uncomment parse_group return statement @Paul-Bob (avo-dynamic_filters #56)
- π fix: dynamic filter suggestions on tags @Paul-Bob (avo-dynamic_filters #55)
- Fix margin for index row controls @binarygit (#2986)
- fix: debug_controller syntax error @Paul-Bob (#2977)
- fix: trix and action text improvements @adrianthedev (#2958)
- fix: search for type on all fields instead only filterable @Paul-Bob (avo-dynamic_filters #47)
- fix: tags delimiters @Paul-Bob (#2932)
- π fix: apply
edit_{association}?
policy @Paul-Bob (#2933)
π€ Maintenance
- [ruby] Update all Bundler dependencies (2024-08-02) @depfu (#3085)
- [ruby] Update all Bundler dependencies (2024-07-18) @depfu (#3007)
- chore: check if defined
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
@Paul-Bob (#3084) - π¨ [security] [ruby] Update rexml 3.3.2 β 3.3.4 (patch) @depfu (#3083)
- [js] Update all Yarn dependencies (2024-08-01) @depfu (#3079)
- Write test for warnings @binarygit (#3057)
- [js] Update all Yarn dependencies (2024-07-25) @depfu (#3053)
- π Use Rails.application.secretkeybase directly @jpawlyn (#3043)
- chore: fix tests for #2985 @Paul-Bob (#3028)
- [js] Update all Yarn dependencies (2024-07-18) @depfu (#3006)
- [js] Update all Yarn dependencies (2024-07-17) @depfu (#2999)
- [js] Update all Yarn dependencies (2024-07-04) @depfu (#2937)
- π¨ [security] [ruby] Update rexml 3.3.1 β 3.3.2 (patch) @depfu (#2995)
- π security: prevent xss in pagination params @adrianthedev (#2990)
- chore: clear unused filters @Paul-Bob (avo-dynamic_filters #58)
- Test for divider in actionslist in showcontrols @gabrielgiroe1 (avo-advanced #35)
- Test actions @binarygit (avo-advanced #39)
- π Update ransack dependence to use 4.2.0 @binarygit (avo-dynamic_filters #54)
- [ruby] Update all Bundler dependencies (2024-07-11) @depfu (#2967)
- chore: rails 7.1 warning @Paul-Bob (#2914)
- π chore: drop httparty dependency @Paul-Bob (#2942)
- chore: update readme @adrianthedev (#2953)
- chore: tests only with rails 8.0 @Paul-Bob (avo-menu #25)
- chore: 3.1 compatibility @Paul-Bob (avo-dashboards #42 & avo-menu #24 & avo-pro #80 & avo-dynamic_filters #49 & avo-advanced #38)
- chore: update capybara @Paul-Bob (#23)
- chore: custom policy menu & controls test @Paul-Bob (#79)
- chore: add custom policy test for search @Paul-Bob (#78)
- chore: add 7.2.0.beta2 to appraisals @Paul-Bob (#2949)
- chore: 3.1 compatibility @Paul-Bob ()
- [ruby] Update all Bundler dependencies (2024-07-04) @depfu (#2938)
π‘ Refactor
- Use literal properties for
ActionsComponent
@joeldrapper (#2919) - refactor:
reflect_on_association
instead_reflections
@Paul-Bob (#3069) - refactor: rename
model
torecord
infill_field
methods @Paul-Bob (#3033) - Run i18n_specs in a separate job @binarygit (#2966)
β‘οΈ Performance
- performance: use
@reflection
ivar on associations controller @Paul-Bob (#3076) - performance: don't fetch fields on action's initialization @Paul-Bob (#3066)
- performance: memoization and image lazy loading @adrianthedev (#2954)
For more information, check out Avo's release notes page