Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
130 lines (81 sloc) 3.3 KB

CHANGELOG

6.0.1

  • Free dependencies

6.0.0

  • Refactoring
  • nonce option. Thanks to @joeljackson
  • Included rails url_helpers into jbuilder. Thanks to @razum2um
  • Welcome @takiy33 as contributor!

5.2.3

  • Coffescript implementation of watch.js. Thanks to @willcosgrove
  • unwatchAll function in watch.js. Thanks to @willcosgrove

5.2.2

  • add support for controller helper methods in jbuilder

5.2.1

  • fix for jbuilder module. Thanks to @jankovy
  • merge variable feature (for merge hash-like variables instead of overriding them). Thanks to @jalkoby

5.2.0

  • fix issue where include_gon would raise exception if the controller did not assign any gon variables. Thanks to @asalme
  • namespace_check option. Thanks to @tommyh
  • Only inject gon into ActionController::Base-like object in spec_helper. Thanks to @kevinoconnor7
  • AMD compatible version of including gon. Thanks to @vijoc

5.1.2

  • Clarifying helpers, dump gon#watch content to safe json before render. Thanks to @Strech

5.1.1

  • global_root option. Thanks to @rafaelliu
  • MultiJson support. Thanks to @Strech

5.1.0

5.0.4

  • Fix check for get and assign variables for Gon.global

5.0.3

  • Revert changes in gemspec

5.0.2

  • Fix issue when there is no gon object for current thread and rendering include_gon (#108 part) (wasn't fixed) (@gregmolnar)

5.0.1

  • Fix issue when there is no gon object for current thread and rendering include_gon (#108 part)

5.0.0

  • 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

4.1.0

  • Refactored script tag generation (@toothrot)
  • Stop support for MRI 1.8.7
  • Added rabl-rails support (@jtherrell)
  • Accepting locals in jbuilder templates

4.0.3

  • Added new method Gon#push for assign variables through Hash-like objects (@topdev)
  • Fixes for 1.8.7 compatibility.
  • !!!IMPORTANT!!! Last version with compatibility for MRI 1.8.7

4.0.2

  • Fixed gon.watch in JS without callback and options

4.0.1

  • Removed BlankSlate requirement Peter Schröder
  • Gon#set_variable and Gon#get_variable moved to public scope
  • Added option :locals to gon.rabl functionality

4.0.0

  • Added gon.watch functionality (thanks to @brainopia and @kossnocorp)
  • Compatibility with jbuilder paths for partial! method
  • Fixed some bugs
  • Little bit refactoring - Gon now is a class

3.0.3

  • Include ActionView::Helpers into Gon::JBuilder
  • Added init option (@torbjon)

3.0.2

  • Added need_tag option (@afa)

3.0.0

  • Almost all code refactored
  • Added Gon.global for using gon everywhere
  • Included ActionView::Helpers into Rabl::Engine

2.3.0

  • Don't really remember what was before this version
Something went wrong with that request. Please try again.