# Changelog ## 4.4.0 * add options rendering to json renderer. Credits to Mikhail Kytyzov. ## 4.3.0 * removed warnings from rspec. Thanks mgrunberg. * add compatibility with rails 6.1. Credits to mgrunberg. * run specs against 6.1. Credits to mgrunberg. ## 4.2.0 * improvements to generator template. Credits to mgrunberg. * be able to run 'rake spec:rails-6-0-stable'. Credits to mgrunberg. ## 4.1.0 * Delay rails6 initialization using on_load (getting rid of deprecation warnings in rails 6). Credits to Markus Benning. * Fix link to wiki in README. Thanks to Greg Molnar. * Fix uninitialized variable `@dom_attributes` warning. Credits to Johan Tell. * Fixed tests for rails 5x. Credits to Eugene Gavrilov. ## 4.0.5 * Fix #188 Blank url and highligh_on_subpath = true causes error. Credits to Tristan Harmer (gondalez) and Ilia Pozhilov (ilyapoz). ## 4.0.4 * Fix #184 uninitialized constant Rails::Railtie (NameError). Credits to n-rodriguez. ## 4.0.3 * Fix #180 Check URL before invoking current_page? ## 4.0.2 * fixing current_page? when url is nil ## 4.0.1 * fixed padrino adapter ## 4.0.0 * added two new configuration options ignore_query_params_on_auto_highlight and ignore_anchors_on_auto_highlight * Remove dependency on classic-style Sinatra applications and enable use with modular-style apps. Credits to Stefan Kolb. * Item can now receive a block as `name` * It's now possible to set a global `highlight_on_subpath` option instead of adding it to every item * Creating an Item doesn't remove options anymore * Creating an Item no longer changed its container, only adding it to a container does * `Item#autogenerate_item_ids?` has been removed * `SN.config_file_name`, `SN.config_file` and `SN.config_file?` have been removed * `ConfigFileFinder` and `ConfigFile` handle the configuration logic * File organization was been changed to reflect the Ruby namespacing ## 3.13.0 * consider_item_names_as_safe is now false by default. Removed deprecation warning ## 3.12.2 * Fixing issue #154. Thanks to Simon Curtois. ## 3.12.1 * bugfix (error in generator) ## 3.12.0 * Relax hash constraint on item_adapter. Thanks to Ramon Tayag. * Fixed hidden special character in navigation template. Credits to Stef Lewandowski * Added full MIT license text. Thanks to Ben Armstrong. * Added license to gemspec. Thanks to Troy Thompson. * Allow defining other html attributes than :id and :class on menu container. Credits to Jacek Tomaszewski. * Added new config option "consider_item_names_as_safe". Thanks to Alexey Naumov. * Big cleanup of specs, removed jeweler in favor of the "bundler" way. Huge thank you to Simon Courtois. * Added more powerful name generator which yields the item itself in addition to the item's name. Credits to Simon Curtois. ## 3.11.0 * Added Json renderer. Thanks to Alberto Avila. ## 3.10.1 * Padrino adapter now returns "html_safe"d content_tag ## 3.10.0 * Added ability to set selected_class on container level. Credits to Joost Hietbrink. * do not highlight items that are only partial matches. Thanks to Troy Thompson. * adding support for rails 4. Credits to Samer Masry. ## 3.9.0 * Added ability to pass a block to render_navigation for configuring dynamic navigation items (instead of passing :items). Credits to Ronald Chan. ## 3.8.0 * Changed the way the context is fetched. Fixes incompatibility with Gretel. Thanks to Ivan Kasatenko. * Added :join_with option to links renderer. Thanks to Stefan Melmuk. * Added :prefix option to breadcrumb renderer. Credits to Rodrigo Manhães. * Added :ordered option for allowing list renderer to render an `
    ` rather than a `