Administrate v0.17.0 Release Notes

Release Date: 2022-01-31 // 5 months ago
  • ๐Ÿš€ 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.

    • ๐Ÿ›  [BUGFIX] [#2117] Use camelize rather than classify for the namespace
    • โœ… [COMPAT] [#2132] Add Rails 7 to tests
    • โœ… [COMPAT] [#2120] Add Ruby 3.1 to Circle tests
    • ๐Ÿ—„ [COMPAT] [#2118] Handle Selenium "options" deprecation
    • โœ… [COMPAT] [#2127] Add Ruby 3 to Circle tests
    • ๐Ÿš… [COMPAT] [#2126] Drop patch for Rails 4
    • โšก๏ธ [COMPAT] [#2123] Update Bundler to 2.3.5
    • โšก๏ธ [COMPAT] [#2122] Update Ruby version in ".ruby-version"
    • ๐Ÿšš [COMPAT] [#2121] Remove "rspec-rails" from gemspec
    • [COMPAT] [#2120] Add "webrick" to Gemfile
    • ๐Ÿ’… [UI] [#2115] Remove inline style from icon svg
    • โšก๏ธ [COMPAT] [#2102] Update browsers used in CI
    • [COMPAT] [#2097] Manage Selenium drivers automatically
    • ๐Ÿ›  [BUGFIX] [#2125] Fix rspec invocation in CircleCI
    • [BUGFIX] Typo navigation:back_to_app
    • ๐Ÿ›  [BUGFIX] [#2108] Hide link if user is not authorized to access resource
    • ๐Ÿš… [COMPAT] [#2107] Relax momentjs-rails version constraint
    • ๐Ÿ’ป [UI] [#2105] Add resource/attribute name to table headers
    • โœ… [COMPAT] [#2074] gemspec: Drop unused directive test_files
    • ๐Ÿš… [COMPAT] [#2101] Limit the highest momentjs-rails version to 2.20.1
    • ๐Ÿšš [DOCS] [#2046] Remove password field from Extending Administrate
    • [FEATURE] [#2029] Add format option to time field
    • [FEATURE] [#1998] Reformulate authorization in example app
    • ๐Ÿ’Ž [COMPAT] [#2027] Drop support for Ruby < 2.6
    • [FEATURE] [#2018] Add :include_blank option to Field::Select
    • ๐Ÿ’Ž [COMPAT] [#2023] Avoid version not compatible with Ruby 2.5
    • ๐Ÿ›  [BUGFIX] [#2015] Only call html_safe on flash message that responds to it
    • [FEATURE] [#2005] Add params to collection filter
    • ๐Ÿ’… [UI] [#2013] Fix nav styles for namespaced resources
    • ๐Ÿšš [COMPAT] [#2001] Remove shims that force deprecated form of methods
    • ๐Ÿ—„ [COMPAT] [#2008] Fix deprecation warning
    • โšก๏ธ [FEATURE] [#1991] Allow different form attributes for new/update actions
    • ๐Ÿ›  [BUGFIX] [#2003] Only allow HTTP(S) URLs in example app
    • ๐Ÿ”’ [DOC] [#2002] Create
    • [FEATURE] [#1995] Allow customising redirects after actions
    • ๐Ÿ’ป [UI] [#1996] Opt-out of FLoC:
    • [DOC] [#1968] Add a script to list recent changes to templates

Previous changes from v0.16.0

  • ๐Ÿš€ This release incorporates a fix for breakages on Rails and ๐Ÿš€ 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.

    • ๐Ÿš… [COMPAT] [#1972] Support Rails &
    • [DOC] [#1962] Allow both /contributing and /
    • ๐Ÿ’ป [UI] [#1956] Isolate spacing properties for 'button--alt' class.
    • ๐Ÿ—„ [COMPAT] [#1961] Fix deprecation warning about i18n errors.
    • ๐Ÿ—„ [COMPAT] [#1960] Fix deprecation warning about dots in paths.
    • [DOC] [#1937] Add guides for Fields::Url.
    • โšก๏ธ [DOC] [#1933] Update bin/setup.