[CHANGE]: A breaking change. After an upgrade, your app may need modifications to keep working correctly.[FEATURE]: A non-breaking improvement to the app. Either introduces new functionality, or improves on an existing feature.[UI]: Non-breaking changes to the default user interface (HTML/CSS).[BUGFIX]: Fixes a bug with a non-breaking change.[COMPAT]: Compatibility improvements - changes to make Administrate more compatible with different dependency versions.[I18n]: Internationalization. Changes to translations or localizations.[OPTIM]: Optimization or performance increase.[DOC]: Documentation changes. No changes to the library's behavior.
- [#269] [FEATURE] Add a generator for copying default layout files
- [#328] [FEATURE] Add a generator for copying default sidebar partial
- [#362] [FEATURE] Add a generator for only the dashboard manifest.
Customizing this manifest before running the
administrate:installgenerator will change which dashboards get generated. - [#295] [FEATURE] Add dashboard detection for ActiveRecord::Enum fields.
- [#364] [FEATURE] Improve dashboard generator by explicitly listing out the
generated
SHOW_PAGE_ATTRIBUTESarray elements. - [#297] [I18n] Add Italian translations
- [#307] [I18n] Fix German grammatical errors
- [#363] [DOC] Move documentation into main repository, at the root URL
- [#251] [FEATURE] Raise a helpful error when an attribute is missing from
ATTRIBUTE_TYPES - [#298] [FEATURE] Support ActiveRecord model I18n translations
- [#312] [FEATURE] Add a
niloption tobelongs_toform fields - [#282] [FEATURE] Running the install generator multiple times no longer generates duplicate routes
- [#231] [UI] Fix layout issue on show page where a long label next to an empty value would cause following fields on the page to be mis-aligned.
- [#309] [UI] Fix layout issue in datetime pickers where months and years would not wrap correctly.
- [#306] [UI] Wrap long text lines (on word breaks) on show pages
- [#214] [UI] Improve header layout when there is a long page title
- [#198] [UI] Improve spacing around bottom link in sidebar
- [#206] [UI] Left-align checkboxes in boolean form fields
- [#315] [UI] Remove the
IDSsuffix forHasManyform field labels - [#259] [BUGFIX] Make installation generator more robust by ignoring dynamically generated, unnamed models
- [#243] [BUGFIX] Fix up a "Show" button on the edit page that was not using the
display_resourcemethod. - [#248] [BUGFIX] Improve polymorphic relationship's dashboard class detection.
- [#247] [BUGFIX] Populate
has_manyandbelongs_toselect boxes with the current value of the relationship. - [#217] [I18n] Dutch
- [#263] [I18n] Swedish
- [#272] [I18n] Danish
- [#270] [I18n] Don't apologize about missing relationship support.
- [#237] [I18n] Fix broken paths for several I18n files (de, es, fr, pt-BR, vi).
- [#266] [OPTIM] Save a few database queries by using cached counts
- [#191] [CHANGE] Improve API for specifying how resources are displayed
across the dashboard.
- Models are now displayed with a sensible default - (e.g. "User #2")
- Users can define
ModelDashboard#display_resource(resource)for custom display behavior - Users who have generated views for the following field types
may need to update them to take advantage of the new API:
- HasOne
- HasMany
- Polymorphic
- BelongsTo
- [#126] [UI] Preserve whitespace when rendering text fields
- [#194] [BUGFIX] Don't clear out datetime values in form fields
- [#193] [BUGFIX] Don't assume that unrecognized db column types are searchable
- [#124] [BUGFIX] Better detection of application models
- [#156] [COMPAT] Include missing
sass-railsdependency in gemspec - [#174] [COMPAT] Make several missing dependencies explicit.
- [#144] [COMPAT] Update repository structure so Bundler can pull the gem from github.
(e.g.
gem "administrate", github: "thoughtbot/administrate") - [#166] [COMPAT] Use ANSI SQL standards for case-insensitive search
- [#223] [I18n] Vietnamese
- [#161] [I18n] Mandarin Chinese
- [#196] [I18n] Taiwanese Mandarin
- [#142] [I18n] Brazilian Portuguese
- [#171] [I18n] Polish
- [#153] [I18n] Russian
- [#148] [I18n] French
- [#147] [I18n] German
- [#154] [I18n] Spanish
- [#120] [DOC] Add Rubygems version badge to README
- [#165] [DOC] Add CircleCI badge to README
- [#119] [DOC] Add CodeClimate badge to README
- [CHANGE] Render views using local variables, not instance variables.
- [CHANGE] Rename
table->collectionthroughout the engine.- API for dashboard classes now relies on
COLLECTION_ATTRIBUTESconstant - Generated views now use the
_collectionpartial instead of_table
- API for dashboard classes now relies on
- [FEATURE] Add a generator for copying field views to host application
- [FEATURE] Generated dashboards are more explicit, and more clearly define the API.
- [FEATURE] Add a generator for creating custom field types
- [FEATURE] Add generators for copying view templates into host application
- [FEATURE] Add sensible dynamic titles to the dashboard pages.
- [FEATURE] Add text field type.
- [UI] Give form and show pages more consistent label styles
- [UI] Fix checkbox styling and label alignment.
- [UI] Fix scrollbar issues on list pages.
- [BUGFIX] Fix missing
dropdown.svgasset. - [BUGFIX] Fix asset precompilation issue for
datetime_picker_railsgem. - [BUGFIX] Remove erroneous "Showing 5 of 1" messages
from has_many relationships on the
showpage. - [COMPAT] Use optimistic versioning for all dependencies.
- [DOC] Update README with a better description of the repo.
- [DOC] Move changelog to root of repository, improve labels, add key.
- [DOC] Add comments to all template files describing what variables will be available
- [FEATURE] Implement searching over string and email attributes
- [FEATURE] Add pagination to index views
- Customizable by overriding
Admin::ApplicationController#records_per_page - Customizable through HTTP param
per_page
- Customizable by overriding
- [FEATURE] Add sorting by column
- Clicking on the column header multiple times changes sort direction
- [FEATURE] Generate resource-specific controller subclasses.
- [FEATURE] Add a
limitoption toAdministrate::Field::HasMany, with a default of 5. This option limits the number of items shown in the relationship table. - [UI] Remove logo from the sidebar
- [UI] Fix alignment issue with string fields on show pages
- [BUGFIX] Fix a bug where
nilin a string field would cause a 500 error. - [BUGFIX] Stop supporting
has_onefields, which crashed theupdateaction
- [FEATURE] Add
Administrate::Field::Booleanfor displaying boolean data. - [FEATURE] support a
class_nameoption inbelongs_torelationships. The class name is now detected by the dashboard generator.
- [FEATURE] support lookup for models that have a custom
to_parammethod. - [FEATURE] Truncate strings on index page, with an optional argument for truncation length
- [FEATURE] Generate a single controller to serve all resources, to reduce noise after running the install generator.
- [FEATURE] Add
Administrate::Field::DateTimefor displaying dates, times, and datetimes. - [FEATURE] Add
Administrate::Field::Numberfor displaying currency, integers, and floats. Supports optionsprefixanddecimals. - [FEATURE] Generate a single controller to serve all resources, to reduce noise after running the install generator.
- [FEATURE] Don't display redundant attributes for belongs_to relationships,
such as
post_idorpost_type. - [UI] Show whitespace in strings on
showpages - [BUGFIX] Squash several 500 errors caused by polymorphic relationships.
- [UI] Use a light background
- [UI] Improve element spacing on index page
- [UI] Improve flash message appearance
- [UI] make elements more consistent between index and show pages
- [BUGFIX] Improve development environment; developers can now edit Administrate-related files in their app without needing to restart their server afterwards.
- [BUGFIX] Stop flash from index page from persisting across requests
- [CHANGE] Change the
DashboardManifestandModelDashboardAPIs to use constants instead of methods. Recognized constants are:ATTRIBUTE_TYPESFORM_ATTRIBUTESSHOW_PAGE_ATTRIBUTESFORM_ATTRIBUTES
- [CHANGE] use field classes for
attribute_typesinstead of symbols. The new interface adds the.with_optionsclass method, which allows developers to specify options that will be applied when the field object is initialized. - [FEATURE] Support
has_onerelationships - [FEATURE] Support
has_many :throughassociations with a customsourceoption. - [FEATURE] Support
has_manyassociations with a customclass_nameoption.
- [FEATURE] Add an outline to links on their focus state to improve accessibility through keyboard navigation.
- [FEATURE] Limit index pages to displaying four columns of attributes by default, to reduce clutter and overflow in the first-run experience.
- [FEATURE] Limit index pages to showing 20 items by default. Developers can customize the action to update or remove the limit, or to implement pagination with the system of their choice.
- [COMPAT] Administrate relies on the
&-suffixfeature of SASS, which was released in 3.3.0, as well as using&in SassScript, which was released in 3.4.0. We've declared an explicit dependency onsass ~> 3.4.
- [FEATURE] Use selectize.js to improve has_many form field interaction.
- [UI] remove the "Show" link from tables - it was redundant because clicking on the row itself took the user to the same place.
- [FEATURE] the
administrate:installgenerator now runs the dashboard generator for each resource it finds. - [COMPAT] Relax the required version of Neat down to ~> 1.1.0
- [BUGFIX] Re-package the gem from the correct directory to include generators.
YANKED: gem was packaged incorrectly, and generators weren't available.
- [FEATURE] First release!