Administrate v0.16.0 Release Notes

Release Date: 2021-05-06 // 6 months ago
  • ๐Ÿš€ 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.

    • ๐Ÿš… [COMPAT] [#1972] Support Rails 6.1.3.2 & 6.0.3.7.
    • [DOC] [#1962] Allow both /contributing and /CONTRIBUTING.md.
    • ๐Ÿ’ป [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.

Previous changes from v0.15.0

    • ๐Ÿ›  [BUGFIX] [#1762] Better error message if key is not specified in ATTRIBUTE_TYPES (#1762).
    • ๐Ÿ›  [BUGFIX] [#1827] Correct "required" asterisk when using validation option :on,
    • [DOC] [#1839] Link "How to"WWGuides" section from navigation.
    • ๐Ÿ“„ [DOC] [#1829] Show the LICENSE in the Docs.
    • ๐Ÿ”Œ [DOC] [#1899] Let readers know that plugins are available.
    • ๐Ÿฑ [COMPAT] [#1904] Add assets.precompile config to Engine.
    • [i18n] [#1916] Add Finnish locale.
    • โœ๏ธ [i18n] [#1905] Fix typos in administrate.fr.yml.
    • ๐Ÿš… [FEATURE] [#1909] Rely on Rails' route method to be correct.
    • ๐Ÿ›  [BUGFIX] [#1910] Fix an issue where loading in routes blew up.
    • ๐Ÿ›  [BUGFIX] [#1880] Turbo compatibility: return status unprocessable_entity.
    • โšก๏ธ [COMPAT] [#1900] Update to Heroku's recommended Unicorn config.
    • โšก๏ธ [DOC] [#1870] Update getting_started.md.
    • ๐Ÿ›  [BUGFIX] [#1869] Ensure we regularly destroy all models.
    • ๐Ÿ›  [BUGFIX] [#1868] Correct text of misleading specs.
    • [FEATURE] [#1844] Select field selected value.
    • ๐Ÿ›  [BUGFIX] [#1794] Don't show unpersisted has_one associations.
    • [FEATURE] [#1832] Namespace option view generators.
    • ๐Ÿ›  [BUGFIX] [#1788] Pass page local when rendering field, as has_one's rely on page existing.
    • ๐Ÿ“š [DOC] [#1776] Improve how documentation pages are rendered.
    • [FEATURE] [#1234] Allow authorize_resource to be called on index.
    • [FEATURE] [#1782] Adding an error message during 'administrate' initialize when there are no models in db.
    • [FEATURE] [#1797] Add delimiter option for number fields.
    • ๐Ÿ“š [DOC] [#1811] Provide a single, unified source of documentation.
    • [DOC] [#1813] Document both demo apps consistently.
    • [FEATURE] [#1804] Enable Selectize for polymorphic fields.
    • ๐Ÿ›  [BUGFIX] [#1799] Conditionals mark fields as optional.
    • ๐Ÿ›  [BUGFIX] Move field requireness logic to Field::Base.
    • [FEATURE] [#1633] Add automatic associations.
    • ๐Ÿ›  [BUGFIX] [#1800] Use correct values when sorting by has_many associations.
    • [SECURITY] [#1786] Prevent dangerous query method on #order_by_id.
    • โฌ†๏ธ [COMPAT] [#1791] Upgrade bundler to 2.1.4.
    • โฌ†๏ธ [COMPAT] [#1602] Upgrade Ruby to 2.7.2.
    • โœ… [COMPAT] [#1548] Test against Ruby 2.7 on CircleCI.
    • ๐Ÿ”ง [COMPAT] [#1785] Switch to using suspender's Capybara configuration.
    • 0๏ธโƒฃ [UI] [#1630] Add CSP tags to default layout.
    • [i18n] [#1626] Allow translating resource names in flashes.
    • [FEATURE] [#991] Add generator helper to find project's routes.rb.
    • [COMPAT] [#1784] Add kaminari-i18n to Appraisal's gemfiles.
    • [i18n] [#1777] Translate model name label on Dashboard index.
    • [DOC] [#1781] Document hiding Dashboards in a How To section.
    • [CHANGE] [#1404] UUID's should be rendered Field::String.
    • [FEATURE] [#1222] include_blank in Belongs to form.
    • [FEATURE] [#1259] Use show page attributes when rendering has_one.
    • ๐Ÿ›  [BUGFIX] [#1226] Fix Time fields bug which occurs when Time value is nil.
    • ๐Ÿ›  [BUGFIX] [#1063] Use number_field for Field::Number.
    • [DOC] [#1439] Fix collection filters example in dashboard template.
    • [UI] [#1064] human_attribute_name instead of raw attr_name.
    • ๐Ÿ’ป [UI] [#1357] Add word-break to attribute-data.
    • โšก๏ธ [i18n] [#1769] Update nl translations.
    • [CHANGE] [#1581] Use left join instead of inner join when searching.
    • ๐Ÿšš [COMPAT] [#1749] Remove autoprefixer.
    • ๐Ÿ“„ [DOC] [#1751] Add example for adding controllers without a related model docs.
    • ๐Ÿ›  [BUGFIX] [#1744] Don't delete /tmp before generator tests.
    • [DOC] [#1742] Add missing title to Without Related Model doc.
    • ๐Ÿš… [COMPAT] [#1740] Drop support for Rails 4.2.
    • ๐Ÿ“š [DOC] [#1634] Add YARD for inline documentation.
    • ๐Ÿ’ป [UI] [#1737] Change the way polymorphic fields display links.
    • ๐Ÿ›  [BUGFIX] [#1738] Fix indentation on generated Dashboards.
    • ๐Ÿ›  [BUGFIX] [#1725] Fix pagination of "Page" models.
    • 0๏ธโƒฃ [COMPAT] [#1726] Use Rails defaults from v6.0.3.2 for gitignore.
    • ๐Ÿ“š [DOC] [#1698] Allow fetching special files in the documentation.
    • [COMPAT] [#1718] Replace phantomjs with Selenium/WebDrivers.
    • ๐Ÿ’ป [UI] [#1702] Increase percentage for attribute label.
    • ๐Ÿ’ป [UI] [#1701] Add min-width to main-content.
    • ๐ŸŒ [i18n] [#1713] Add Turkish translations.
    • โšก๏ธ [i18n] [#1703] Update Portuguese translations.