14
0
Files
python-python-box/python-python-box.changes
Tomáš Chvátal c346bff0cc Accepting request 824521 from home:mcalabkova:branches:devel:languages:python
- Update to 5.1.0
  * Adding `dotted` option for `items` function (thanks to ipcoder)
  * Fixing bug in box.set_default where value is dictionary, return the internal value and not detached temporary (thanks to Noam Graetz)
  * Removing warnings on import if optional libraries are missing
  Version 5.0.1
  -------------
  * Fixing default box saving internal method calls and restricted options (thanks to Marcelo Huerta)
  Version 5.0.0
  -------------
  * Adding support for msgpack converters `to_msgpack` and `from_msgpack`
  * Adding support for comparision of `Box` to other boxes or dicts via the `-` sub operator #144 (thanks to Hitz)
  * Adding support to `|` union boxes like will come default in Python 3.9 from PEP 0584
  * Adding `mypy` type checking, `black` formatting and other checks on commit
  * Adding new parameter `box_class` for cleaner inheritance #148 (thanks to David Aronchick)
  * Adding `dotted` option for `keys` method to return box_dots style keys (thanks to ipcoder)
  * Fixing box_dots to properly delete items from lists
  * Fixing box_dots to properly find items with dots in their key
  * Fixing that recast of subclassses of `Box` or `BoxList` were not fed box properties (thanks to Alexander Kapustin)
  * Changing that sub boxes are always created to properly propagate settings and copy objects #150 (thanks to ipcoder)
  * Changing that default_box will not raise key errors on `pop` #67 (thanks to Patrock)
  * Changing `to_csv` and `from_csv` to have same string and filename options as all other transforms
  * Changing back to no required external imports, instead have extra requires like [all] (thanks to wim glenn)
  * Changing from putting all details in README.rst to a github wiki at https://github.com/cdgriffith/Box/wiki
  * Changing `BoxList.box_class` to be stored in `BoxList.box_options` dict as `box_class`
  * Changing `del` will raise `BoxKeyError`, subclass of both `KeyError` and `BoxError`
  * Removing support for single level circular references
  * Removing readthedocs generation
  * Removing overrides for `keys`, `values` and `items` which will return views again
  Version 4.2.3
  -------------

OBS-URL: https://build.opensuse.org/request/show/824521
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-box?expand=0&rev=9
2020-08-06 05:43:15 +00:00

118 lines
6.8 KiB
Plaintext

-------------------------------------------------------------------
Wed Aug 5 15:02:55 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 5.1.0
* Adding `dotted` option for `items` function (thanks to ipcoder)
* Fixing bug in box.set_default where value is dictionary, return the internal value and not detached temporary (thanks to Noam Graetz)
* Removing warnings on import if optional libraries are missing
Version 5.0.1
-------------
* Fixing default box saving internal method calls and restricted options (thanks to Marcelo Huerta)
Version 5.0.0
-------------
* Adding support for msgpack converters `to_msgpack` and `from_msgpack`
* Adding support for comparision of `Box` to other boxes or dicts via the `-` sub operator #144 (thanks to Hitz)
* Adding support to `|` union boxes like will come default in Python 3.9 from PEP 0584
* Adding `mypy` type checking, `black` formatting and other checks on commit
* Adding new parameter `box_class` for cleaner inheritance #148 (thanks to David Aronchick)
* Adding `dotted` option for `keys` method to return box_dots style keys (thanks to ipcoder)
* Fixing box_dots to properly delete items from lists
* Fixing box_dots to properly find items with dots in their key
* Fixing that recast of subclassses of `Box` or `BoxList` were not fed box properties (thanks to Alexander Kapustin)
* Changing that sub boxes are always created to properly propagate settings and copy objects #150 (thanks to ipcoder)
* Changing that default_box will not raise key errors on `pop` #67 (thanks to Patrock)
* Changing `to_csv` and `from_csv` to have same string and filename options as all other transforms
* Changing back to no required external imports, instead have extra requires like [all] (thanks to wim glenn)
* Changing from putting all details in README.rst to a github wiki at https://github.com/cdgriffith/Box/wiki
* Changing `BoxList.box_class` to be stored in `BoxList.box_options` dict as `box_class`
* Changing `del` will raise `BoxKeyError`, subclass of both `KeyError` and `BoxError`
* Removing support for single level circular references
* Removing readthedocs generation
* Removing overrides for `keys`, `values` and `items` which will return views again
Version 4.2.3
-------------
* Fixing README.md example #149 (thanks to J Alan Brogan)
* Changing `protected_keys` to remove magic methods from dict #146 (thanks to Krishna Penukonda)
* Changing that due to `default_box` fix, `pop` or `del` no longer raise BoxKeyErrors on missing items (UNCAUGHT BUG)
-------------------------------------------------------------------
Fri Mar 20 13:38:43 UTC 2020 - pgajdos@suse.com
- version update to 4.2.2
Version 4.2.2
-------------
* Fixing `default_box` doesn't first look for safe attributes before falling back to default (thanks to Pymancer)
* Changing from TravisCI to Github Actions
Version 4.2.1
-------------
* Fixing uncaught print statement (thanks to Bruno Rocha)
* Fixing old references to `box_it_up` in the documentation
Version 4.2.0
-------------
* Adding optimizations for speed ups to creation and inserts
* Adding internal record of safe attributes for faster lookups, increases memory footprint for speed (thanks to Jonas Irgens Kylling)
* Adding all additional methods specific to `Box` as protected keys
* Fixing `merge_update` from incorrectly calling `__setattr__` which was causing a huge slowdown (thanks to Jonas Irgens Kylling)
* Fixing `copy` and `__copy__` not copying box options
Version 4.1.0
-------------
* Adding support for list traversal with `box_dots` (thanks to Lei)
* Adding `BoxWarning` class to allow for the clean suppression of warnings
* Fixing default_box_attr to accept items that evaluate to `None` (thanks to Wenbo Zhao and Yordan Ivanov)
* Fixing `BoxList` to properly send internal box options down into new lists
* Fixing issues with conversion and camel killer boxes not being set properly on insert
* Changing default_box to set objects in box on lookup
* Changing `camel_killer` to convert items on insert, which will change the keys when converted back to dict unlike before
* Fallback to `PyYAML` if `ruamel.yaml` is not detected (thanks to wim glenn)
* Removing official support for `pypy` as it's pickling behavior is not the same as CPython
* Removing internal __box_heritage as it was no longer needed due to behavior update
Version 4.0.4
-------------
* Fixing `get` to return None when not using default box (thanks to Jeremiah Lowin)
* Fixing non-string keys breaking when box_dots is enabled (thanks to Marcelo Huerta)
Version 4.0.2
-------------
* Fixing converters to properly pass through new box arguments (thanks to Marcelo Huerta)
Version 4.0.1
-------------
* Fixing setup.py for release
* Fixing documentation link
Version 4.0.0
-------------
* Adding support for retrieving items via dot notation in keys
* Adding `box_from_file` helper function
* Adding merge_update that acts like previous Box magic update
* Adding support to `+` boxes together
* Adding default_box now can support expanding on `None` placeholders (thanks to Harun Tuncay and Jeremiah Lowin)
* Adding ability to recast specified fields (thanks to Steven McGrath)
* Adding to_csv and from_csv capability for BoxList objects (thanks to Jiuli Gao)
* Changing layout of project to be more object specific
* Changing update to act like normal dict update
* Changing to 120 line character limit
* Changing how `safe_attr` handles unsafe characters
* Changing all exceptions to be bases of BoxError so can always be caught with that base exception
* Changing delete to also access converted keys (thanks to iordanivanov)
* Changing from `PyYAML` to `ruamel.yaml` as default yaml import, aka yaml version default is 1.2 instead of 1.1
* Removing `ordered_box` as Python 3.6+ is ordered by default
* Removing `BoxObject` in favor of it being another module
-------------------------------------------------------------------
Tue Sep 10 11:31:49 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.4.3:
* Fixing propagation of box options when adding a new list via setdefault (thanks to Stretch)
* Fixing update does not keep box_intact_types (thanks to pwwang)
* Fixing update to operate the same way as a normal dictionary (thanks to Craig Quiter)
* Fixing deepcopy not copying box options (thanks to Nikolay Stanishev)
-------------------------------------------------------------------
Mon Jul 22 13:23:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.4.2:
* Adding license, changes and authors files to source distribution
-------------------------------------------------------------------
Wed Jun 19 11:39:32 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
- Initial packaging (version 3.4.1)