All Versions
47
Latest Version
Avg Release Cycle
27 days
Latest Release
-

Changelog History
Page 4

  • v0.4.1

    May 25, 2017

    ๐Ÿ†• New:

    • render_to_string/2 in Commander, a shorthand for Phoenix.View.render_to_string/3

    Internal improvements:

    • โœ‚ removed jQuery from core JS code; only Drab.Query and Drab.Modal depends on jQuery
    • module dependencies (Drab behaviour)
  • v0.4.0

    ๐Ÿ”„ Changes:

    • renamed execjs/2 -> exec_js/3, brodcastjs/2 -> broadcast_js/3
    • exec_js/3 returns tuple {:ok, result} or {:error, reason}
    • exec_js!/3 raises exceptions on JS error
    • configurable timeouts for exec_js/3 and exec_js!/3
  • v0.3.5

    ๐Ÿ”„ Changes:

    • ๐Ÿ’ป Drab.Browser with browser related functions, like local time, timezone difference, userAgent, redirect_to

    Depreciations:

    • ๐Ÿšš Drab.Core.console moved to Drab.Browser
  • v0.3.4

    May 04, 2017

    ๐Ÿ› Bug fixes:

    • execute! allows string as the method with parameters
    • โช reverted back the timeout for execjs/2 - it caused troubles and it is not really needed; in case of the connectivity failure the whole Drab will die anyway
  • v0.3.3

    May 03, 2017
    • ๐ŸŽ precompile Drab templates for better performance; user templates are still interpreted on the fly
    • choose the behaviour for broadcasting functions: now may send to :same_url, :same_controller or to user defined "topic"
    • 0๏ธโƒฃ timeout for execjs/2 (and so for the most of Drab.Query functions); default is 5000 ms and can be changed with config :drab, timeout: xxx|:infinity
  • v0.3.2

    • phoenix version ~> 1.2 (#13)
    • warning when user updates attr: "data-*" - it should be done with data: * (#14)
    • โœ… integration tests
  • v0.3.1

    ๐Ÿ†• New features:

    • debugging Drab functions directly from IEx console
    • display information when handler die, different for prod and dev
  • v0.3.0

    API Changes and Depreciations:

    • Drab.Query.select API changed: now select(:val) returns first value instead of the list, but all jQuery methods have corresponding plural methods, which return a Map of %{name|id|__undefined_XX => value}
  • v0.2.6

    ๐Ÿ”„ Changes:

    • โšก๏ธ reload drab events in JS after each insert or update
    • โž• added event object with specified properties to the dom_sender
    • โž• added debounce function as an option to the event handler
    • ๐Ÿ“‡ renamed Drab.Config to Drab.Commander.Config
  • v0.2.5

    ๐Ÿ”„ Changes:

    • handling disconnects (ondisconnect callback)
    • ๐Ÿ’ป keep Store in a permament location (browser store) on demand
    • access to Plug Session with Drab.Core.get_session/2