thanks @tehn, @dan_derks , @21echoes ! glad i got to sneak in a pr before the release 
a little context about the âdynamic menusâ change - i essentially wanted some parameters to appear/dissapear when you change other parameters, while in the parameter menu. previously this didnât happen in the same screen (only if you left menu and came back to menu), but now it can. you still have to control the visibility of parameters and when the menu does a refresh.
this type of thing might be useful for doing âscenesâ of parameters (which is what I plan to do) as well as subparameters that become visible when something is âonâ of âoffâ.
here is some little example script that demos it:
-- test rebuild_params
function init()
params:add_option("switch","switch",{"a","b"},1)
params:set_action("switch",function(val)
params:show("param"..val)
params:hide("param"..(3-val))
_menu.rebuild_params() -- refresh menu (if in menu)
end)
params:add_control("param1","a",controlspec.new(0,1,"lin",0.1,0.1))
params:add_control("param2","b",controlspec.new(0,1,"lin",0.1,0.5))
params:hide("param2")
params:add_group("grouped",3)
params:add_option("switch2","switch2",{"c","d"},1)
params:set_action("switch2",function(val)
params:show("gparam"..val)
params:hide("gparam"..(3-val))
_menu.rebuild_params()
end)
params:add_control("gparam1","c",controlspec.new(0,1,"lin",0.1,0.3))
params:add_control("gparam2","d",controlspec.new(0,1,"lin",0.1,0.9))
params:hide("gparam2")
end