Releases: cdgriffith/Box
Releases · cdgriffith/Box
Version 6.0.0rc1
- Adding Cython support to greatly speed up normal Box operations on supported systems
- Adding #161 support for access box dots with
get
and checking within
(thanks to scott-createplay) - Adding #183 support for all allowed character sets (thanks to Giulio Malventi)
- Adding #196 support for sliceable boxes (thanks to Dias)
- Changing #208 repr to produce
eval
-able text (thanks to Jeff Robbins) - Changing #215 support ruamel.yaml new syntax (thanks to Ivan Pepelnjak)
- Changing
update
andmerge_update
to not use a keyword that could cause issues in rare circumstances - Fixing internal
_safe_key
logic to be twice as fast - Removing support for 3.6 as it is EOL
- Removing support for ruamel.yaml < 0.17
This is a pre-release and under testing, do not use in production
Version 5.4.1
- Fixing #205 setdefault behavior with box_dots (thanks to Ivan Pepelnjak)
Version 5.4.0
Version 5.3.0
- Adding support for functions to box_recast (thanks to Jacob Hayes)
- Adding #181 support for extending or adding new items to list during
merge_update
(thanks to Marcos Dione) - Fixing maintain stacktrace cause for BoxKeyError and BoxValueError (thanks to Jacob Hayes)
- Fixing #177 that emtpy yaml files raised errors instead of returning empty objects (thanks to Tim Schwenke)
- Fixing #171 that
popitems
wasn't first checking if box was frozen (thanks to Varun Madiath)
Version 5.2.0
- Adding checks for frozen boxes to
pop
,popitem
andclear
(thanks to Varun Madiath) - Fixing requirements-test.txt (thanks to Fabian Affolter)
- Fixing Flake8 conflicts with black (thanks to Varun Madiath)
- Fixing coveralls update (thanks to Varun Madiath)
Version 5.1.1
- Bugfix dots default (#166)
Version 5.1.0
- Adding
dotted
option foritems
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
andfrom_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 forkeys
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
orBoxList
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
andfrom_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 inBoxList.box_options
dict asbox_class
- Changing
del
will raiseBoxKeyError
, subclass of bothKeyError
andBoxError
- Removing support for single level circular references
- Removing readthedocs generation
- Removing overrides for
keys
,values
anditems
which will return views again
Version 5.0.0a3
Don't have a concept of depth for keys