All Versions
47
Latest Version
Avg Release Cycle
27 days
Latest Release
-
Changelog History
Page 4
Changelog History
Page 4
-
v0.4.1 Changes
May 25, 2017๐ New:
render_to_string/2
in Commander, a shorthand forPhoenix.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
๐ 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
andexec_js!/3
- renamed
-
v0.3.5 Changes
๐ 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 Changes
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 Changes
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 withconfig :drab, timeout: xxx|:infinity
-
v0.3.2 Changes
- phoenix version ~> 1.2 (#13)
- warning when user updates
attr: "data-*"
- it should be done withdata: *
(#14) - โ integration tests
-
v0.3.1 Changes
๐ New features:
- debugging Drab functions directly from
IEx
console - display information when handler die, different for prod and dev
- debugging Drab functions directly from
-
v0.3.0 Changes
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}
- Drab.Query.select API changed: now
-
v0.2.6 Changes
๐ 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
๐ 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