- Update to 2.0.0
* Parameter slot values are now all inherited correctly across
a hierarchy of Parameterized classes.
* There is now a ListProxy wrapper around Selector.objects (with
forward and backward compatibility) to easily update objects
and watch objects updates.
* Parameterized classes and instances now have a rich HTML
representation that is displayed automatically in
a Jupyter/IPython notebook.
* Parameters have all gained the allow_refs and nested_refs
attributes, bringing an exceptionally useful feature that was
available in Panel since version 1.2 to Param.
* Experimental new rx reactive expressions.
* You can now use .param.update as a context manager for applying
temporary updates.
* For speed, only generate the Parameter docstring in an IPython context.
* Support for deserialization of file types into Array and DataFrame.
* Integer now accepts numpy.integer values.
* Range now does stricter validation of the slot values.
* Path now has check_exists attribute, leading it to raise an error
if path is not found on parameter instantiation.
* Add top-level __all__ and move Parameter classes to parameters.py.
* Now compatible with Python 3.8+
* Other changes, take a look at the upstream changelog.
OBS-URL: https://build.opensuse.org/request/show/1120521
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=50
- update to 1.13.0:
* This release includes a new `Bytes` *Parameter* and a few
important bug fixes. This release is also marked by the
adoption of a formal project governance, ensuring Param's
future as a healthy open-source project. Many thanks to
@ovidner and @droumis for their first contributions! And to
@maximlt, @Hoxbro, @jlstevens, @philippjfr and @jbednar for
their continuing support to fixing and improving Param.
* Fix copying when having watchers on e.g. bounds on inherited
Parameter types (#675)
* Allow JSON serialization to work with `json.dumps` (#655)
* `ListSelector` restricted to `list` type objects (#531)
* Fix `depends` async wrapper (#684)
* Allow named colors to be any case (#711)
OBS-URL: https://build.opensuse.org/request/show/1074514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-param?expand=0&rev=23
* This release includes a new `Bytes` *Parameter* and a few
important bug fixes. This release is also marked by the
adoption of a formal project governance, ensuring Param's
future as a healthy open-source project. Many thanks to
@ovidner and @droumis for their first contributions! And to
@maximlt, @Hoxbro, @jlstevens, @philippjfr and @jbednar for
their continuing support to fixing and improving Param.
* Fix copying when having watchers on e.g. bounds on inherited
Parameter types (#675)
* Allow JSON serialization to work with `json.dumps` (#655)
* `ListSelector` restricted to `list` type objects (#531)
* Fix `depends` async wrapper (#684)
* Allow named colors to be any case (#711)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=48
- version update to 1.9.0
New features:
Added support for instance parameters, allowing parameter metadata
to be modified per instance and allowing parameter objects to be
passed to Panel objects (#306)
Added label slot to Parameter, to allow overriding attribute name
for display (#319)
Added step slot to Parameter, e.g. to control Panel widget step
size (#326)
Added keywords_to_params utility for deducing Parameter types and
ranges automatically (#317)
Added support for multiple outputs from a Parameterized (#312)
Added Selector as a more user-friendly version of ObjectSelector,
accepting a list of options as a positional argument (#316)
Changes affecting backwards compatibility:
Changed from root logger to a param-specific logger; no change to
API but will change format of error and warning messages (#330)
Old abstract class Selector renamed to SelectorBase; should be no
change unless user code added custom classes inherited from
Selector without providing a constructor (#316)
Bugfixes and other improvements:
Various bugfixes (#320, #323, #327, #329)
Other improvements (#315, #325)
OBS-URL: https://build.opensuse.org/request/show/697402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=19
- update to version 1.8.1
* Added positional default arguments for nearly all Parameter
subclasses (apart from ClassSelector)
* Minor bugfixes for watching callbacks
- update to version 1.8.0
* Parameterized methods can now declare @depends(p,q) to indicate
that they depend on parameters p and q (defaulting to all
parameters)
* Parameterized methods can depend on subobjects with
@depends(p.param,q.param.r), where p.param indicates
dependencies on all parameters of p and q.param.r indicates a
dependency on parameter r of q.
* Functions and methods can watch parameter values, re-running
when those values change or when an explicit trigger is issued,
and can unwatch them later if needed.
* Multiple events can be batched to trigger callbacks only once
for a coordinated set of changes
* Added support in ObjectSelector for selecting lists and dicts
(#268)
* Added pandas DataFrame and Series parameter types (#285)
* Added support for regular expression validation to String
Parameter (#241, #245)
OBS-URL: https://build.opensuse.org/request/show/662847
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=15