Skip to content

Releases: cdgriffith/Box

Version 6.0.0rc1

21 Jan 19:33
Compare
Choose a tag to compare
Version 6.0.0rc1 Pre-release
Pre-release
  • Adding Cython support to greatly speed up normal Box operations on supported systems
  • Adding #161 support for access box dots with get and checking with in (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 and merge_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

22 Aug 15:08
4f9b3a6
Compare
Choose a tag to compare
  • Fixing #205 setdefault behavior with box_dots (thanks to Ivan Pepelnjak)

Version 5.4.0

15 Aug 01:02
51042b8
Compare
Choose a tag to compare
  • Adding py.typed for mypy support (thanks to Dominic)
  • Adding testing for Python 3.10-dev
  • Fixing #189 by adding mappings for mypy
  • Fixing setdefault behavior with box_dots (thanks to ipcoder)
  • Changing #193 how magic methods are handled with default_box (thanks to Rexbard)

Version 5.3.0

13 Feb 16:14
9170539
Compare
Choose a tag to compare
  • 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

29 Oct 02:53
4a50512
Compare
Choose a tag to compare
  • Adding checks for frozen boxes to pop, popitem and clear (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

20 Aug 19:07
4b66113
Compare
Choose a tag to compare
  • Bugfix dots default (#166)

Version 5.1.0

23 Jul 21:09
69db25b
Compare
Choose a tag to compare
  • 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

13 Jul 04:25
3c0197b
Compare
Choose a tag to compare
  • Fixing default box saving internal method calls and restricted options (thanks to Marcelo Huerta)

Version 5.0.0

12 Jul 19:41
1289508
Compare
Choose a tag to compare
  • 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 5.0.0a3

05 Jul 18:37
Compare
Choose a tag to compare
Version 5.0.0a3 Pre-release
Pre-release
Don't have a concept of depth for keys