A Rails engine that helps you put together a super-flexible admin dashboard.
In this release, the assets Administrate requires are now bundled in with the gem itself. You might need to do something to try this release out and we'd like to hear from you about how this goes! Please open an issue if you have any troubles.
We have an open PR to document how to work with custom assets, if that's something you're doing.
The plan is to release a couple of "beta" releases, followed by a release candidate after we've ironed out the migration requirements.
In 0.20.0
, we introduced a regression which potentially meant you might
get a NameError
because of a missing import on Administrate::VERSION
,
this fixes that and two other minor issues as well.
Administrate::VERSION
referenceThis is our final release before v1.0.0, which will bring with it a big change around how we handle our CSS and JS assets. You'll most likely need to do some work to update, and we'll be publishing release candidate releases to help learn along the way. If you can, we'd love it if you could give them a try and report any problems you face!
The following templates have changed since v0.19.0:
app/views/administrate/application/_form.html.erb app/views/administrate/application/show.html.erb app/views/fields/has_one/_form.html.erb app/views/fields/has_one/_show.html.erb
If your application overrides any of them, make sure to review your custom templates to ensure that they remain compatible.
selenium-webdriver
and remove webdrivers
Once again, a big catchup release with lots of miscellaneous compatibility improvements, bug fixes and some nice new feature improvements. Thanks to everyone who contributed the PRs below!
The following templates have changed since v0.18.0:
app/views/administrate/application/_collection.html.erb
app/views/administrate/application/_index_header.html.erb
app/views/administrate/application/_navigation.html.erb
app/views/administrate/application/_pagination.html.erb
app/views/administrate/application/edit.html.erb
app/views/administrate/application/new.html.erb
app/views/administrate/application/show.html.erb
app/views/fields/has_many/_show.html.erb
app/views/fields/select/_form.html.erb
app/views/layouts/administrate/application.html.erb
If your application overrides any of them, make sure to review your custom templates to ensure that they remain compatible.
load_server
incompatibilityThis is a general catchup release. We've added dart-sass
compatibility,
improved a i18n handling, dropped support for Rails 5.x and Ruby 2.6, dropped
datetime_picker_rails
because now browser support is good enough, plus many
others.
The following templates have changed since v0.17.0:
app/views/administrate/application/_collection.html.erb app/views/administrate/application/_collection_header_actions.html.erb app/views/administrate/application/_collection_item_actions.html.erb app/views/administrate/application/_index_header.html.erb app/views/administrate/application/_navigation.html.erb app/views/administrate/application/_pagination.html.erb app/views/administrate/application/edit.html.erb app/views/administrate/application/index.html.erb app/views/administrate/application/show.html.erb app/views/fields/belongs_to/_index.html.erb app/views/fields/belongs_to/_show.html.erb app/views/fields/date/_form.html.erb app/views/fields/date_time/_form.html.erb app/views/fields/has_many/_index.html.erb app/views/fields/has_one/_form.html.erb app/views/fields/has_one/_index.html.erb app/views/fields/has_one/_show.html.erb app/views/fields/polymorphic/_index.html.erb app/views/fields/polymorphic/_show.html.erb app/views/fields/time/_form.html.erb app/views/fields/url/_index.html.erb app/views/fields/url/_show.html.erb
If your application overrides any of them, make sure to review your custom templates to ensure that they remain compatible.
order
option.This release incorporates nearly a year of minor changes, starts testing against Ruby 3 and up, plus Rails 7. We've not heard of any incompatibilities yet, but there are known issues around asset handling (notably with sassc) that we're working on.
The following templates have changed since v0.16.0:
app/views/administrate/application/_collection.html.erb
app/views/administrate/application/_collection_header_actions.html.erb
app/views/administrate/application/_collection_item_actions.html.erb
app/views/administrate/application/_flashes.html.erb
app/views/administrate/application/_form.html.erb
app/views/administrate/application/_icons.html.erb
app/views/administrate/application/_index_header.html.erb
app/views/administrate/application/index.html.erb
app/views/fields/belongs_to/_index.html.erb
app/views/fields/belongs_to/_show.html.erb
app/views/fields/select/_form.html.erb
app/views/fields/time/_index.html.erb
app/views/fields/time/_show.html.erb
If your application overrides any of them, make sure to review your custom templates to ensure that they remain compatible.
camelize
rather than classify
for the namespace< 2.6
This release incorporates a fix for breakages on Rails 6.1.3.2 and 6.0.3.7 which were released to fix some security issues.
The following templates have changed since v0.15.0:
app/views/administrate/application/_navigation.html.erb
app/views/administrate/application/index.html.erb
app/views/fields/url/_index.html.erb
app/views/fields/url/_show.html.erb
If your application overrides any of them, make sure to review your custom templates to ensure that they remain compatible.
:on
,route
method to be correct.has_one
associations./tmp
before generator tests.protected
visibility.NOTE: This release contains the fix for CVE-2020-5257
, which
fixes a potential SQL injection on dashboard sorting.