Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 4.0.0 #116

Merged
merged 38 commits into from
Dec 25, 2019
Merged

Version 4.0.0 #116

merged 38 commits into from
Dec 25, 2019

Conversation

cdgriffith
Copy link
Owner

@cdgriffith cdgriffith commented Dec 18, 2019

  • 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)
  • Removing ordered_box as Python 3.6+ is ordered by default
  • Removing BoxObject in favor of it being another module

This will address issues #115 #112 #111 #88 #87 #86 #76 #59 #57 #11

This PR will remain open until minimum of Dec 25th (if all goes perfect, Christmas release!)

Anyone please feel free to test this code and provide feedback!

pip install git+https://github.com/cdgriffith/Box.git@4.0

@cdgriffith cdgriffith added the 4.0 Feature planned for major 4.0 releasee label Dec 18, 2019
@cdgriffith cdgriffith added this to the 4.0 milestone Dec 18, 2019
@pep8speaks
Copy link

pep8speaks commented Dec 18, 2019

Hello @cdgriffith! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2019-12-24 18:23:40 UTC

cdgriffith and others added 27 commits December 17, 2019 18:36
Working tests
Removing Ordered box
Changing to 120 character line limit
Bringing in features from development branch
Removing old performance test
Adding toml Box support
Fixing how attrs are made safe
…box (#108)

* Solves issue#59 - Treat None values as non-existing keys for default_box
Adding 4.0 changes
Adding pypy3 to travisCI
setup pytest-runner fix
@coveralls
Copy link

coveralls commented Dec 18, 2019

Coverage Status

Coverage increased (+0.2%) to 99.605% when pulling 607517b on 4.0 into 6d8790e on master.

@cdgriffith cdgriffith merged commit d10fb33 into master Dec 25, 2019
rochacbruno added a commit to dynaconf/dynaconf that referenced this pull request Dec 26, 2019
The release of python-box cdgriffith/Box#116
is a breaking change.

So pinning this until this project addapts.

Also pinning other direct deps.
rochacbruno added a commit to dynaconf/dynaconf that referenced this pull request Dec 26, 2019
The release of python-box cdgriffith/Box#116
is a breaking change.

So pinning this until this project addapts.

Also pinning other direct deps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.0 Feature planned for major 4.0 releasee
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants