- CVE-2020-25739: Enforce HTML entities escaping in gon output
6.3.2 - 2019-11-18
- Restrict possibility of vulnerable i18n legacy verision (0.3.6.pre) installation
6.3.1 - 2019-11-18
- ActionView::Base and ActionController::Base should be loaded inside ActiveSupport.on_load hook. Thanks to @amatsuda
- Require Ruby >= 2.2.2 (activesupport). Thanks to @nicolasleger
- Update old_rails.rb to reflect GonHelpers -> ControllerHelpers name change. Thanks to @etipton
6.2.1 - 2018-07-11
- Update README: correct spelling mistake. Thanks to @EdwardBetts
- Autoload test classes only in test env. Thanks to @wilddima
- Fix keys cache. Thanks to @ertrzyiks
- fixing tests by running with rabl and rabl-rails separately. Thanks to @dsalahutdinov
6.2.0 - 2017-10-04
- Introduce keys cache. Thanks to @vlazar
- Add possibleErrorCallback to watch params. Thanks to @etagwerker
- Update readme with PhoenixGon hex link. Thanks to @khusnetdinov
- Fix code highlighting in README. Thanks to @ojab
- Refactoring: use attr_reader
- Remove unnecessary json dependency.
- Remove rubysl and rubinius-developer_tools gem.
6.1.0 - 2016-07-11
- env is deprecated and will be removed from Rails 5.0. Thanks to @dlupu
- fix merging routes bug. Thanks to @strikyflo
- Show what method was used in public methods error.
- Use 'need_tag' as option name to prevent calling 'tag' method. Thanks to @june29
- Update README; comment out gon.clear from sample code. Thanks to @speee-nakajima
- Update README; Replace the include_gon method with render_data method.
- Refactoring: use attr_accessor method.
- Refactoring: use attr_reader method.
6.0.1 - 2015-07-22
- Free dependencies
6.0.0 - 2015-07-22
- nonce option. Thanks to @joeljackson
- Refactoring
- Included rails url_helpers into jbuilder. Thanks to @razum2um
5.2.3 - 2014-11-03
- Coffescript implementation of watch.js. Thanks to @willcosgrove
- unwatchAll function in watch.js. Thanks to @willcosgrove
5.2.2 - 2014-10-31
- support for controller helper methods in jbuilder
5.2.1 - 2014-10-28
- merge variable feature (for merge hash-like variables instead of overriding them). Thanks to @jalkoby
- fix for jbuilder module. Thanks to @jankovy
5.2.0 - 2014-08-26
- namespace_check option. Thanks to @tommyh
- AMD compatible version of including gon. Thanks to @vijoc
- Only inject gon into ActionController::Base-like object in spec_helper. Thanks to @kevinoconnor7
- fix issue where include_gon would raise exception if the controller did not assign any gon variables. Thanks to @asalme
5.1.2 - 2014-07-22
- Clarifying helpers, dump gon#watch content to safe json before render. Thanks to @Strech
5.1.1 - 2014-07-17
- global_root option. Thanks to @rafaelliu
- MultiJson support. Thanks to @Strech
5.1.0 - 2014-06-29
- Many fixes. Thanks to @Silex, @kilefritz, @irobayna, @kyrylo, @randoum, @jackquack, @tuvistavie, @Strech for awesome commits and help!
5.0.4 - 2014-02-13
- Fix check for get and assign variables for Gon.global
5.0.3 - 2014-02-12
- Revert changes in gemspec
5.0.2 - 2014-02-12
- Fix issue when there is no gon object for current thread and rendering include_gon (#108 part) (wasn't fixed) (@gregmolnar)
5.0.1 - 2013-12-30
- Fix issue when there is no gon object for current thread and rendering include_gon (#108 part)
5.0.0 - 2013-12-26
- Gon is threadsafe now! (@razum2um)
- Camelcasing with depth (@MaxSchmeling)
- Optional CDATA and style refactoring (@torbjon)
- jBuilder supports not only String and Hash types of locals (@steakchaser)
- Using ActionDispatch::Request#uuid instead of ActionDispatch::Request#id (@sharshenov)
4.1.1 - 2013-06-04
- Fixed critical XSS vulnerability #84 (@vadimr & @Hebo)
4.1.0 - 2013-04-14
- rabl-rails support (@jtherrell)
- Refactored script tag generation (@toothrot)
- Stop support for MRI 1.8.7
- Accepting locals in jbuilder templates
4.0.3 - 2013-04-14
!!!IMPORTANT!!! Last version with compatibility for MRI 1.8.7
- new method
Gon#push
for assign variables through Hash-like objects (@topdev)
- Fixes for 1.8.7 compatibility.
4.0.2 - 2012-12-17
- Fixed gon.watch in JS without callback and options
4.0.1 - 2012-10-25
- option :locals to gon.rabl functionality
- Gon#set_variable and Gon#get_variable moved to public scope
- BlankSlate requirement (@phoet)
4.0.0 - 2012-07-23
- gon.watch functionality (thanks to @brainopia and @kossnocorp)
- Compatibility with jbuilder paths for partial! method
- Little bit refactoring - Gon now is a class
- Fixed some bugs
3.0.5 - 2012-06-22
- type text/javascript option (@torbjon)
- A litlle bit refactoring
- Made compatible with active support json encoding for escaping script tags
- bug for init option
- clear if init true (@torbjon)
3.0.4 - 2012-06-02
- Fix bug with gon clear with global variables, bump version
3.0.3 - 2012-05-22
- init option (@torbjon)
- Include ActionView::Helpers into Gon::JBuilder
3.0.2 - 2012-04-28
- need_tag option (@afa)
3.0.0 - 2012-04-17
- Added Gon.global for using gon everywhere
- Almost all code refactored
- Included ActionView::Helpers into Rabl::Engine
2.3.0 - 2012-04-09
- Don't really remember what was before this version