all releases all gems

Changelog

See what's new for your app. Features, improvements, and fixes across Avo and its gems, newest first.

Avo 2.14.0

Hello beautiful people,

It's that time of week again. New Avo goodies coming your way.

  1. Select all matching records Demo
  2. Custom path and message helpers for after create, update, and delete actions Docs Demo
  3. Automatically determine required fields from validators Demo
  4. Tabs as pills Docs Demo
  5. Readonly as a block Demo

๐Ÿ› Bug Fixes:

  • Crashes with file attachments and failed validators
  • Reset filters on a has_many would redirect
  • date value changed on direct submit
  • wrong cancel button path when creating from has many
  • inline_svg path fixes
  • act_on policy method not working for show view
  • redirect back to parent if deleted from parent
  • search pagination unlimited causes crashes

๐Ÿค– Maintenance

  • readme tweaks
  • add action testing examples
  • update to heroicons to v2
  • corrected a typo in avo.rb

๐Ÿ’ก Refactor

  • progressbar component visual tweaks
  • use inline_svg gem

There hasn't been a lot of chatter on the Discord this week. It could be that we haven't pushed too many bugs to production in the last release ๐Ÿ˜… or it's just vacation time everywhere.

Speaking of vacations, I'm going to take some time off next week. I'll still have my laptop with me, so write if you run into issues.

Recommended reading

Short Ruby Newsletter has been smashing it this week so go check out the news you might have missed.

Easy PRs

We've got about 5 good first issues for you to pick up if you want to stretch that brain.
https://avohq.io/good-first-issues

Again, an amazing release with great features that hopefully solve a few painful problems for you guys.

Release notes: https://avohq.io/releases/2.14.0
Release video: https://youtu.be/peKt90XhdOg
Twitter: https://twitter.com/avo_hq
Repo: https://github.com/avo-hq/avo

Thank you for being awesome!
Adrian and Paul

Release notes

๐ŸŽธ Features

๐Ÿ› Bug Fixes

๐Ÿค– Maintenance

๐Ÿ’ก Refactor

Avo 2.13.0

Hello everyone ๐Ÿ‘‹

We've got two great features going out today and a few cool things we're working on next, so let's dive in.

Product updates

  1. Customizable controls on the show page
    https://youtu.be/qUvMh7AkrlU
    https://github.com/avo-hq/avo/pull/1083

  2. Scoped search results in has_many associations. Please beware of a breaking change documented in the upgrade guide. Paul created a script that will help you make the easy migration.
    https://docs.avohq.io/2.0/associations/has_many.html#search-query-scope
    https://github.com/avo-hq/avo/pull/1122

  3. Fixed a bug with failed forms not being re-submittable

  4. Fixed a bug where the heading could not be the first item in a resource

  5. Fixed a bug with the sidebar default collapsed state

New documentation website

We updated our docs website to use the new vitepress version. Vitepress is the less-opinionated Vuepress alternative. Using it felt a little like using Avo with Rails. Many years of experience building the same thing condensed into a great package.
It's fast, looks great, and is plenty customizable.

The structure has been changed a bit, so some old links might have been lost, but it's all for the better. Each field and association has its page now, and the options available are better presented to you. In addition, the search is improved and powered by algolia.
I posted better docs on installation, getting started, and tweaked the copy all-around.

We love feedback, so we made a page just for docs here ๐Ÿ’ฌ.

Docs spotlight

As we open up Avo's native components, we're documenting the recommended ways to use them. Today I'd like to throw your attention to the Avo::PanelComponent page, where we explain thoroughly how easy it is to create panels inside custom or resource tools.

Community spotlight

Ricky shared an excellent way of doing CSV/XSL exports with Avo Actions.

Recommended reading

You probably noticed the upcoming newsletter Short Ruby Learnings by Lucian Ghinda. You might have subscribed, but if you haven't and maybe thinking about it, let me give you the final nudge. Go and subscribe today! It's worth your time and the slot it takes in your email. It's like receiving a full review of what happened in the Ruby world in the past week in your inbox.

Good first issues

We've got 11 "Good first issue"s ready to be picked up by you when you want to digitally stretch your brain a bit.
It's the easiest way of getting your issue fixed or feature implemented with Avo.

A fantastic example is Desmond's PR to bring Action Policy support to Avo. Thank you Desmond!

Next up

We have a few things on our plate as we continue development:

  • Custom path and message after creating update and delete 1139. That will make it easier for you to control what happens after destructive actions to your records.
  • Expose native field components to the public 1138. That will enable you to create custom UIs much easier using the same DSL methods. I am very excited about the power this feature will unleash โšก๏ธ
  • Branding 1133. Using a light customization layer, you'll be able to change the logos and colors throughout Avo.
  • Resource cards 791 are still on the table, but I just didn't have the time to finish the PR.
  • We'll improve our licenses page a bit to provide more information and the ability to change the URLs for your licenses. Until now, we haven't enforced the one URL per license rule, but we'll start doing it in the following weeks, so this refactor to the admin panel will be much appreciated.

We've been pretty busy these past weeks, and by the looks of it, we'll be busier going forward. But, I love how the community is growing and how Avo is evolving to be more and more extendable.

Please share Avo with your peers if it helped you and share your feedback.

Thank you for being awesome!
Adrian and Paul

Release notes

๐ŸŽธ Features

๐Ÿ› Bug Fixes

๐Ÿ’ก Refactor

Avo 2.12.0

Hey everyone ๐Ÿ‘‹

First of all, I want to welcome Paul to the team. He's going to be hands-on with development going forward ๐Ÿ’ช
https://github.com/Paul-Bob
We also published a contributors page where we want to thank all of our contributors for their help.
https://avo.cool/contributors

This is an exciting release ๐Ÿฅณ The changes brought on by v2.12 enable developers to craft richer experiences, so let's dive in!

  1. Use custom fields inside resource tools
    https://docs.avohq.io/2.0/resource-tools.html#add-custom-fields-on-forms

  2. Use custom resource for has_many
    https://docs.avohq.io/2.0/associations.html#use-resource

  3. Add discreet_pagination option
    https://docs.avohq.io/2.0/associations.html#discreet-pagination

  4. Move resource controls to the left side
    https://docs.avohq.io/2.0/associations.html#resource-controls-on-the-left-side

  5. Hide sidebar on desktop

  6. Add path helpers on actions

  7. Bugfixes and improvements:

    • date and date_time can be cleared
    • date field does not take the offset into account
    • has_one field outputs all the associations
    • too many tabs flow out of the screen
    • heading fields not showing inside panels
    • tools cant come before fields
    • key value field shows "null" string instead of nothing
    • Trix input name broken for some resource names
    • authorization actions broke for some associations
    • overridden data attributes should take precedence
    • footer form buttons in the wrong place
    • some links think they are external when they are not
    • added avo_debug param
    • init script builds the assets
    • menu show/hide action is animated
    • changed the turbo frame failed to load state

Told you! It's a big one, but exciting. I can't wait to see what you'll build next using the new tools.

Next, we'll focus on finishing up the customizable resource controls (which I demo in the video) and improving the general stability of the framework.

There are 11 "Good first issues" ready to pick up if you have some spare time to improve your favorite platform.
https://avo.cool/good-first-issues

Release video
https://youtu.be/MfryUtcXqvU

Release notes
https://avohq.io/releases/2.12.0

As always, please share Avo in your networks, to your peers, and subscribe to the channels.
Thank you for being awesome!

Adrian and Paul โœŒ๏ธ

https://avo.cool
https://avo.cool/chat
https://avo.cool/repo
https://twitter.com/avo-hq

Release notes

๐ŸŽธ Features

๐Ÿ› Bug Fixes

๐Ÿค– Maintenance

๐Ÿ’ก Refactor

Avo 2.11.0

Hola amigos y amigas ๐Ÿ‘‹

Avo 2.11 landed with a few enhancements and a lot of bug fixes. Let's dive in ๐Ÿคฟ

Changelog

  1. Include blank for select field
    https://docs.avohq.io/2.0/fields.html#include-blank

  2. Add Accept option to file fields
    https://docs.avohq.io/2.0/fields.html#accept-option

  3. Force a specific locale to Avo
    https://docs.avohq.io/2.0/localization.html#setting-the-locale

  4. Fixed a bug with polymorphic associations not working
    https://github.com/avo-hq/avo/pull/1061

  5. Fixed a few bugs introduced by some paths refactor
    https://github.com/avo-hq/avo/pull/1057

  6. Fixed a breadcrumb bug with nested resources
    https://github.com/avo-hq/avo/pull/1056

  7. Fixed search for nested resources
    https://github.com/avo-hq/avo/pull/1055

  8. Fixed Order routes clashing
    https://github.com/avo-hq/avo/pull/1053

  9. Fixed a timezones bug for the date time field
    https://github.com/avo-hq/avo/pull/995

  10. Fixed a bug with some generators being broken
    https://github.com/avo-hq/avo/pull/1033

Next up

Next, I'm focusing on improving authorization for associations and prototyping a new way of customizing actions for a resource.

I will focus a bit on the resource actions area to improve that experience. I'm talking about the place where the Save, Edit, and Back buttons are. I want to offer more flexibility in what you can display to the user. I talked more about that in the release video (15:43).

The docs should get a fresh layer of paint too. It may not happen in this release cycle, but it should definitely happen soon.

Spread the word

I'm looking for a marketing person to join the team as a part-time collaborator to help us with our marketing efforts. If you know anyone that would be good for such a collaboration, please send them my way.

I published a "Why Successful Startups Use MVPs" article on our blog and spoke on the Ruby Rogues podcast, inviting you to read and listen.
https://avohq.io/blog/why-successful-startups-use-mvps
https://avohq.io/blog/avo-on-ruby-rouges-podcast

Helping out

I renamed the #help Discord channel to #community-help to better signal its purpose. If you want to ask the community for help, you can do that there, but if you want more official technical support, please use the GitHub issues page. That's the best way to describe an issue or feature request and track its resolve.

If your team needs more support with Avo and you want to be featured on our homepage, docs, and release notes as an indie developer supporting company, we have you covered! You can sponsor the project and ensure it will receive the maintenance it deserves in the future.
https://github.com/sponsors/adrianthedev

Thank you for being so awesome and so supportive โค๏ธ

Adrian

Release video:
https://www.youtube.com/watch?v=IAxHvhwzeOU

Release notes:
https://avohq.io/releases/2.11.0

Release notes

๐ŸŽธ Features

๐Ÿ› Bug Fixes

๐Ÿค– Maintenance

๐Ÿ’ก Refactor

Avo 2.10.2

Hello everyone,

Avo 2.10 has landed with a few bug fixes and a long-time expected feature.

  1. Tabs and panels landed ๐Ÿš€ - You can better organize your fields and tools into panels and tabs. This does not have only an aesthetic function but also performance too.
    https://docs.avohq.io/2.0/tabs.html

  2. French translations. Thank you Dimitri B! Run bin/rails generate avo:locale to load them.

  3. Key-value fixed for the New view

  4. Added forced_locale to be able to edit multilingual records easier.

  5. Date & datetime picker improvements for mobile. Thank you hassyyy!

  6. You can declare the model_class as a string now. This will not break your app on boot time anymore.

  7. Fixed a hardcoded value in ResourceEditComponent. Thank you, Louis!

I can't wait to see what you are going to build with it.

Going forward we're going to focus on fixing two nasty bugs. One with the date-time field and one with namespaced resources and finishing up some things we started a while back like resource cards, controller hooks, and some more cool stuff.

Release notes:
https://avohq.io/releases/2.10.0

Release video:
https://youtu.be/B1Y-Z-R-Ys8

Thank you for being awesome โœŒ๏ธ

Release notes

๐Ÿ› Bug Fixes

๐Ÿค– Maintenance

  • chore(deps): bump rails-html-sanitizer from 1.4.2 to 1.4.3 @dependabot (#1019)

Avo 2.10.0

Hello everyone,

Avo 2.10 has landed with a few bug fixes and a long-time expected feature.

  1. Tabs and panels landed ๐Ÿš€ - You can better organize your fields and tools into panels and tabs. This does not have only an aesthetic function but also performance too.
    https://docs.avohq.io/2.0/tabs.html

  2. French translations. Thank you Dimitri B! Run bin/rails generate avo:locale to load them.

  3. Key-value fixed for the New view

  4. Added forced_locale to be able to edit multilingual records easier.

  5. Date & datetime picker improvements for mobile. Thank you hassyyy!

  6. You can declare the model_class as a string now. This will not break your app on boot time anymore.

  7. Fixed a hardcoded value in ResourceEditComponent. Thank you, Louis!

I can't wait to see what you are going to build with it.

Going forward we're going to focus on fixing two nasty bugs. One with the date-time field and one with namespaced resources and finishing up some things we started a while back like resource cards, controller hooks, and some more cool stuff.

Release notes:
https://avohq.io/releases/2.10.0

Release video:
https://youtu.be/B1Y-Z-R-Ys8

Thank you for being awesome โœŒ๏ธ

Release notes

๐ŸŽธ Features

๐Ÿ› Bug Fixes

๐Ÿ’ก Refactor

Avo 2.9.0

Hi there ๐Ÿ‘‹

We've got another packed release with multiple bug fixes, improvements and features.

  1. Show actions on Edit views. We're prepping the ground to give the user the ability to skip the show view.
    โš ๏ธ May contain a breaking change
    https://docs.avohq.io/2.0/upgrade.html#actions-are-visible-on-the-edit-view
    https://docs.avohq.io/2.0/actions.html#actions-visibility

  2. Required takes a block for easier customization
    https://docs.avohq.io/2.0/field-options.html#required

  3. Override the label for some menu items
    https://docs.avohq.io/2.0/menu-editor.html#resource

  4. Load user translations before Avo's
    https://docs.avohq.io/2.0/upgrade.html#eject-translation-files
    โš ๏ธ May contain a breaking change

  5. We generate paths based on the resource name, not on the model class.
    โš ๏ธ May contain a breaking change

  6. Align table headers same as cells
    https://docs.avohq.io/2.0/field-options.html#align-text-on-index-view

  7. After update path fixed
    https://docs.avohq.io/2.0/resources.html#customize-what-happens-after-record-is-created-edited

  8. Fix Trix styles

We focused our efforts on marketing over the past two weeks. Now we'll be resuming work on Tabs and panels, resource cards, and other cool goodies.

Release notes:
https://avohq.io/releases/2.9.0

Release video:
https://youtu.be/qwBwRbeHl0Y

Thank you for being awesome โœŒ๏ธ

https://avo.cool/rails-admin
https://twitter.com/avo_hq
https://github.com/avo-hq/avo

Release notes

๐ŸŽธ Features

๐Ÿ› Bug Fixes

๐Ÿค– Maintenance

๐Ÿ’ก Refactor

Avo 2.8.0

Hello friends,

Biiiig release today. We took a break last week but we bring a lot of goodies in this release so let's dive in:

StimulusJS integration ๐Ÿ”ฅ You can now make your forms and CRUD interface a lot more dynamic.
Docs
Demo video

Custom blank text on select filter from @Paul-Bob. All filters have the empty_message option as a placeholder.
Docs

Added the ability to run an action silently. You can now run actions silently without responses. That's useful when you need to redirect from an action.
Docs

Access the resource and model in the action visibility block by @marschattha.
Docs

Allow singular name on has fields from @Paul-Bob. This makes the has_one, has_many, and other associations a bit more flexible to display.
Docs

Added link_to_resource to the external_image_field component by @teenu4 ๐Ÿ’ช
Docs

Expose the global param in search. You now know what kind of search was performed. Global or one resource.
Docs

Refactored the logo partial to support more mobile-friendly use-cases.
Docs

Enabled ranges in all dashboard cards
Docs

Fixed a few bugs: Sidebar menu collapsed state; broken search for uncountable resources (fish); broken breadcrumbs when creating through associations, translation keys on resources and fields not displaying properly.

A lot of fixes under the hood to make the experience faster and more pleasant to work with.

Removed gendered language from our readme file with the help of @afomera. We also went through our docs pages to make sure they are inclusive.

We are incredibly grateful to our community for making this project even more awesome and inclusive.

We'd love to hear from you what have you've been building with Avo, so let us know on Discord or on Twitter โœŒ๏ธ

Release video:
https://youtu.be/y5m97oeSmKs

Release notes:
https://avohq.io/releases/2.8.0

PS: We're looking for funding, so if your company has a sponsorship budget we'd love to talk and see how we can help each other.

https://avohq.io
https://avohq.io/chat
https://twitter.com/avo_hq
https://github.com/avo-hq/avo

Release notes

๐ŸŽธ Features

๐Ÿ› Bug Fixes

๐Ÿค– Maintenance

๐Ÿ’ก Refactor

๐Ÿ’„ Style

Avo 2.7.0

Hola amigos,

This week version 2.7 brings three new features and a slew of bug fixes.

https://youtu.be/Eex8CiinQZ8

  1. Resource tools. You can now add custom content to your resource pages even more effortlessly.
    https://docs.avohq.io/2.0/resource-tools.html
    https://youtu.be/Eex8CiinQZ8?t=196

  2. Authorization in the menu builder
    https://docs.avohq.io/2.0/menu-editor.html#authorization
    https://youtu.be/Eex8CiinQZ8?t=373

  3. Initialize the parent on the attach screen when creating a record
    https://docs.avohq.io/2.0/associations.html#belongs-to-attach-scope
    https://youtu.be/Eex8CiinQZ8?t=6

  4. Fix back path from the index view, has_one name option, broken pagination on per-page switch, long names in the sidebar, and search on back action
    https://youtu.be/Eex8CiinQZ8?t=471

We love this release because it makes Avo even more powerful and flexible so you can deliver the best experience to your users.

Keep the feedback incoming and share Avo with your peers โœŒ๏ธ

Thank you,
Adrian

Release notes

๐ŸŽธ Features

๐Ÿ› Bug Fixes

๐Ÿค– Maintenance

Avo 2.6.0

Hey there ๐Ÿ‘‹,

Avo 2.6 comes with a lot of goodies today.

  1. Tags field ๐ŸŽ‰ We posted a video about all the quirks and features
    https://docs.avohq.io/2.0/fields.html#tags-field
    https://youtu.be/DKKSjNUvuBA

  2. Attach scope for associations. Control which records are displayed in the attach modal for has_many or belongs_to associations.
    https://docs.avohq.io/2.0/associations.html#belongs-to-attach-scope

  3. Show association panels on the edit view

  4. Multiple action alerts
    https://docs.avohq.io/2.0/actions.html#message-responses

  5. The design has been cleaned up a bit

  6. Changed the way you query the data for cards from a block to a method
    https://docs.avohq.io/2.0/upgrade.html#change-the-way-the-cards-run-their-queries

There's a new walkthrough video that you can watch and show to all your friends that are building apps.
https://youtu.be/WgNK-oINFww

And there's a video of this release explained more in-depth.
https://youtu.be/hczPSmqCCR0

We hope you love this release as much as we do.

Please help us spread the word about Avo on Twitter, to your team, and on other channels where developers might hang out.
https://twitter.com/avo_hq/status/1524399933515878400

https://avohq.io
https://twitter.com/avo_hq

Thank you ๐Ÿค™
Adrian

Release notes

๐ŸŽธ Features

๐Ÿค– Maintenance

๐Ÿ’ก Refactor

Avo 2.5.0

Hola amigos,

Version 2.5.0 brings a few exciting features that make Avo a bit more powerful than before.

  1. Dynamic filter options. You can now use the applied_filters object to configure your options better. This makes the filtering process even more powerful.
    https://docs.avohq.io/2.0/filters.html#dynamic-filter-options
    Video demo: https://www.youtube.com/watch?v=M2RsNPPFOio

  2. Filters can react to other filters. Imagine you have two filters countries and cities. You want to show only the cities from the countries the user selected in the first filter in the second one. Using react, you can do precisely that.
    https://docs.avohq.io/2.0/filters.html#react-to-filters

  3. Customize empty message text when no options are available
    https://docs.avohq.io/2.0/filters.html#empty-message-text

  4. Keep the filters panel open when choosing options.
    https://docs.avohq.io/2.0/filters.html#keep-filters-panel-open

  5. We're now exposing the record scopes to associations so you can better scope down the associated records.
    https://docs.avohq.io/2.0/associations.html#add-scopes-to-associations
    Video demo: https://www.youtube.com/watch?v=3ee9iq2CnzA

  6. We fixed a bug where has many loses scope per page change

We love how flexible Avo becomes with every release. We hope you love it too!

Take care ๐Ÿค™

Release notes

๐ŸŽธ Features

  • feature: filter improvements; dynamic options, react to filters, empty message & keep panel open @adrianthedev (#873)
  • feature: pass record to association scope @adrianthedev (#876)

๐Ÿ› Bug Fixes

๐Ÿค– Maintenance

Avo 2.4.0

Hello friends,

We're releasing 2.4.0 today with one nasty bug fix and other tiny ones.

  1. Hide header, sidebar, and footer when printing in the browser. Thank you @yorch for this contribution!
  2. Fixed a bug with the new menu editor crashing some apps so please update your apps
  3. Removed ActionMailer because we weren't using it
  4. Fixed a bug with filters default values being reset

Next week we'll get ready to launch the tags field and probably the resource cards.

Thanks for being awesome ๐Ÿค™

https://avo.cool
https://docs.avohq.io
https://twitter.com/avo_hq

Release notes

๐ŸŽธ Features

  • Hide header, sidebar and footer when print in browser @yorch (#704)

๐Ÿ› Bug Fixes

๐Ÿค– Maintenance

๐Ÿ’ก Refactor

Avo 2.3.0

Hey there guys and gals @here,

Avo 2.3 just landed ๐Ÿ›ฌ with the new menu editor, custom sortable blocks, and custom text alignment on the index view

  1. Menu editor is here ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰. You can easily customize your main menu with sections, groups, links, resources, and dashboards. The profile menu takes links as well. We hope you love it as much as we do.
    Video: https://www.youtube.com/watch?v=VMvG-j1Vxio
    Docs: https://docs.avohq.io/2.0/menu-editor.html

  2. Custom sortable blocks allow you to make computed fields and belongs_to fields sortable. Thank you, @MrJoy, for this fantastic contribution.
    Docs: https://docs.avohq.io/2.0/field-options.html#custom-sortable-block

  3. Custom text alignment (right/center) on Index view.
    Docs: https://docs.avohq.io/2.0/field-options.html#align-text-on-index-view

  4. Fixed a few bugs with the installer and filters

  5. Fixed the authorization logic for authorizing actions

  6. Changed the locale changing param from locale to set_locale for better compatibility.

We love this release and hope you will too โค๏ธ

We'll take some time off this week to enjoy the Easter Holidays, so there will probably not be any flashy release next week, but we're here if you want to send us your ideas and feedback โœ๏ธ

https://avo.cool
https://twitter.com/avo_hq
https://avohq.io/releases/2.3.0

Take care!
Adrian

Video

https://youtu.be/8-VwZfiERug

Release notes (2.2.2 + 2.3.0)

๐ŸŽธ Features

๐Ÿ’ก Refactor

๐Ÿ› Bug Fixes

Avo 2.2.2

Release notes

๐ŸŽธ Features

๐Ÿ› Bug Fixes

Avo 2.2.0

Hey there friends @here,

New week, new release. This time with a video talking about what we released.
https://youtu.be/0sQDaD4UYAs

  1. Allow detaching via the association. By default, when you visit a record through an association that belongs_to field is disabled. There might be cases where you'd like that field not to be disabled and allow your users to change that association. Docs

  2. Hide the record selector checkbox โ€“ You might not need the selector checkbox on your table. Now you can hide it. Docs

  3. Cosmetic tweaks around the profile component and resource description.

  4. Added support for namespaced models. You can now use self.model_class = Some::User on your resource.

  5. Fix broken action buttons on Safari

  6. Improved the development experience a bit by watching and reloading the initializer file in your development env and the whole lib directory when doing development on Avo

Full release notes

Thank you, @yorch and @MrJoy, for your contributions this week!

Next to ship are the Resource cards, which didn't get all the attention they needed to release this week, but we think you're going to love them.

We've got quite a few tickets to fix issues and some new feature requests, so the sidebar editor will be delayed a bit.

We love getting feedback and spitballing ideas, so please get in touch with us if you want to chat.

Cheers,
Adrian

https://avo.cool

Video

https://www.youtube.com/watch?v=0sQDaD4UYAs

Release notes

๐ŸŽธ Features

๐Ÿ› Bug Fixes

๐Ÿค– Maintenance

Avo 1.25.1

What's Changed

Full Changelog: https://github.com/avo-hq/avo/compare/v1.24.2...v1.25.1