Skip to content

Latest commit

 

History

History
291 lines (200 loc) · 9.33 KB

CHANGELOG.md

File metadata and controls

291 lines (200 loc) · 9.33 KB

Changelog

2.3.0 - 2022-03-09

Other

  • Upgrade to latest Pundit: 2.2.0 (#266)

2.2.2 - 2021-11-08

Fix

  • Render values in columns (#263)
  • Correct README to match Godmin 2 (#262)

2.2.1 - 2021-05-20

Fix

  • Use Pundit >= 2.0.0 so that namespaces are handled correctly (#260)

2.2.0 - 2021-05-20

Other

  • Build and test against Ruby 3.0

Bug fixes

  • Regression: within an Engine, always look for Pundit policies in the engine (#259)

2.1.0 - 2021-05-10

Bug fixes

  • Use symbol in path for compatibility with the latest Rails security patches (#256)

Other

  • Build and test against Ruby 2.6 and 2.7
  • Stop building and testing against unsupported rubies (2.5 and older). These may still work and PRs may still be accepted.

2.0.0 - 2019-12-06

Features

  • Allow skipping authorization per action (#231)

Bug fixes

  • Support namespaced models when generating resources (#181)

Other

  • Drop support for Rails 4 (#239)
  • Better policy lookups for namespaced models (#180)
  • Use Pundit for authorization (#180)
  • Rails 6 support (#248) and (#250)

In order to upgrade

  • Upgrade to at least Rails 5 and Ruby 2.2.2
  • If using an admin engine, create a namespaced model for every resource, inheriting from the main app model
  • Replace any authenticate_admin_user with authenticate
  • Replace any skip_before_action :authenticate_admin_user with prepend_before_action :disable_authentication
  • Replace any rescue_from NotAuthorizedError with rescue_from Pundit::NotAuthorizedError

1.5.0 - 2017-02-17

Features

  • Support for nested resources (#189)

1.4.0 - 2017-02-15

Features

  • Support group queries in scopes and filters (#208)
  • Change color of remove buttons, so they're not grabbing all the attention (#212)

Bug fixes

  • Fix permitted params in sessions controller to work with models other than AdminUser (#210)

Other

  • Remove authentication alert (#207)
  • Add table caption for tests (#187)

1.3.1 - 2016-09-27

Bug fixes

  • Fix FileSystemResolver issue (#202)

Other

1.3.0 - 2016-07-11

Features

  • Increased batch action checkbox click area (#183)
  • Adds titles to action links (#185)
  • Rails 5 support (#199)

Bug fixes

  • Use translated title on login page (#195)
  • Hide batch action toggle when no batch action available (#197)
  • Remove hidden field for multiselect filters (#169)

Other

  • Fixes a deprecation warning on Rails 4.2.5.1 (#188)
  • Adds caching partial overrides to increase table rendering speed (#184)

1.2.0 - 2016-02-02

Features

  • Adds support for custom ordering of columns (#168)
  • Adds passing of options to association form helper (#172)
  • Adds passing of html options to association form helper (#176)

Bug fixes

  • Fixes an issue with the template resolver and Rails 4.2.5.1 (#175)

1.1.0 - 2015-12-08

Features

  • Adds locale for pt-BR (Brazilian Portuguese) (#141)
  • New sandbox template with with more examples (#135)
  • Permits belongs to association by default (#149)
  • Enables responsive design (#146)
  • Batch actions now receive a relation instead of an array (#158)

Bug fixes

  • Fixes a bug that masked errors in templates with a template not found error (#142)
  • Fixes a namespace issue with the authentication generator (#150)

1.0.0 - 2015-11-13

Release of 1.0.0 🎉

0.12.4 - 2015-10-21

Bug fixes

  • Fixes a bug which made it impossible to override the datetimepicker locale (#132)

0.12.3 - 2015-09-18

Bug fixes

  • Adds support for plural engines (#128)
  • Remove turbolinks from application.js if present (#129)

0.12.2 - 2015-09-07

Bug fixes

  • Fixes broken sign in page

0.12.1 - 2015-09-07

Bug fixes

  • Fixes issue where column ordering on index table didn't work (#124)

Other

  • Adds integration tests
  • Removes the namespace config in initializers/godmin.rb

In order to upgrade

  • Remove the initializers/godmin.rb file

0.12.0 - 2015-06-30

Features

  • Adds new navigation helpers for building a custom navbar (#54)

Other

  • Removes the godmin router method

In order to upgrade

  • Remove the godmin do block from the config/routes.rb file
  • Specify a root route if there is none already
  • Create a shared/_navigation.html.erb partial if there is none already

Bug fixes

  • Fixes issue with authentication generator not modifying the application controller

0.11.2 - 2015-06-22

Bug fixes

  • Fixes broken collection select helper

0.11.1 - 2015-05-20

Features

  • Adds destroy_resource method to ResourceService
  • Adds query param to authorize
  • Adds authorization to batch actions (#33)
  • Adds show page (#77)
  • Adds option to change add text on dropdowns (#106)
  • Adds CSV export (#86)
  • JSON export can now be controlled using attrs_for_export or by overriding a jbuilder

Bug fixes

  • Fixes a regression where filter labels were not translated

0.11.0 - 2015-04-13

Other

  • Split resources into controllers and service objects (#79)
  • Renames the following modules:
    • Godmin::Application -> Godmin::ApplicationController
    • Godmin::Resource -> Godmin::Resources::ResourceController
    • Godmin::Sessions -> Godmin::SessionsController

0.10.3 - 2015-02-18

Bug fixes

  • Adds the possibility to pass options to the date_field and datetime_field form helpers

0.10.2 - 2015-02-16

Bug fixes

  • Fixes standard resource params for multi-word models

0.10.1 - 2015-02-13

Bug fixes

  • Fixes multi-select selectize issue (#71)

0.10.0 - 2015-02-11

Features

  • Shows the number of items in each scope in the scope tab (#16)
  • Two new overridable methods for resources: build_resource and find_resource
  • Translatable title (#17)

Bug fixes

  • Fixes a bug where the wrong template would be picked (#39)
  • Fixes a bug so the resolver works with namespaces templates.
  • Fixes an autoloading issue (#60)
  • Godmin rescues NotAuthorizedError and returns a 403 Forbidden HTTP status.

Other

  • Cleaned up generators (#28)
  • Restructured the locale files a bit

0.9.9 - 2015-01-23

Features

  • Bump bootstrap to 3.3.3
  • Extracted button actions partial

0.9.8 - 2015-01-12

Bug fixes

  • Created resources are now properly scoped by resources_relation
  • Fixes broken signin form

0.9.7 - 2015-01-07

Features

  • Support for Rails 4.2
  • New form system (#50)

0.9.6 - 2014-12-18

Features

Notes

  • You must now require godmin in application.js and application.css
  • You can no longer use the select-tag class to initialize a select box

0.9.5 - 2014-12-15

Bug fixes

  • Fixes Godmin::FormBuilder issue

0.9.4 - 2014-12-15

Features

  • Added Godmin::FormBuilder

0.9.3 - 2014-12-10

Bug fixes

  • Pagination offset fix

0.9.2 - 2014-12-09

Features

  • Replaces select2 with selectize
  • Adds flash messages (#26)
  • Adds redirect hooks (#27)
  • Replaces kaminari

Bug fixes

  • Form fallbacks to regular input instead of association. (#18)
  • Install generator adds require "godmin" if it is installed in an engine.
  • Fixes default permitted params to work with multiword models.

0.9.1 - 2014-11-18

Bug fixes

  • Removed rails executable from /bin folder.

0.9.0 - 2014-11-17