Skip to content

Releases: cdgriffith/Box

Version 5.0.0a2

03 Jul 15:21
Compare
Choose a tag to compare
Version 5.0.0a2 Pre-release
Pre-release
  • Fixing that recast of subclassses of Box or BoxList were not fed box properties (thanks to Alexander Kapustin)

Version 5.0.0a1

15 Jun 18:55
Compare
Choose a tag to compare
Version 5.0.0a1 Pre-release
Pre-release
  • Adding dotted and flat 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

Version 5.0.0a0

27 Apr 00:31
Compare
Choose a tag to compare
Version 5.0.0a0 Pre-release
Pre-release
  • Adding support for msgpack coverters 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)
  • 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 or del #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
  • 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
  • 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

27 Apr 00:12
cb450cc
Compare
Choose a tag to compare
  • Fixing README.md example #149 (thanks to J Alan Brogan)
  • Changing protected_keys to remove magic methods from dict #146 (thanks to Krishna Penukonda)

Version 4.2.2

11 Mar 14:03
572c1b5
Compare
Choose a tag to compare
  • 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

29 Feb 03:51
ba48dc7
Compare
Choose a tag to compare
  • Fixing uncaught print statement (thanks to Bruno Rocha)
  • Fixing old references to box_it_up in the documentation

Version 4.2.0

26 Feb 04:13
ec6cc77
Compare
Choose a tag to compare
  • 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

22 Feb 02:11
5115001
Compare
Choose a tag to compare
  • 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 Not Found

29 Dec 05:33
5615489
Compare
Choose a tag to compare
  • Fixing get to return None when not using default box (thanks to Jeremiah Lowin)
  • Updating outdated docs

Version 4.0.3

26 Dec 22:37
3edc56a
Compare
Choose a tag to compare
  • Fixing non-string keys breaking when box_dots is enabled (thanks to Marcelo Huerta)