Skip to content

Commit

Permalink
Merge pull request #161 from lyft/pynamo-upgrade3
Browse files Browse the repository at this point in the history
Upgrade pynamodb to 3.2.1 and bump version to 3.0.0
  • Loading branch information
surbhishah authored Mar 6, 2018
2 parents d3ddf6e + 8d640af commit e4c8238
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@

# 2

## 2.0.0
## 3.0.0

* This is a breaking release, if you're using blind credentials. This change
upgrades to using pynamodb 3.2.1. If you're using blind credentials, it's
necessary to first upgrade to confidant 2.0.0, run the
migrate\_set\_attribute maintenance script, then upgrade to this version.
This is due to a breaking change in pynamodb itself, which requires using
specific versions of pynamodb to migrate the underlying data.

## 2.0.0
WARNING: If you upgrade to this version, any new writes to blind credentials
will be in a format that is only compatible in 1.11.0 forward. If you've
upgraded and need to downgrade, you should downgrade to 1.11.0. This is only
a concern if you're using blind credentials. If you're using blind credentials,
see the [upgrade instructions](https://lyft.github.io/confidant/basics/upgrade/)
see the [upgrade instructions](https://github.com/lyft/confidant/blob/master/docs/source/basics/upgrade.html.markdown)
for more detailed information about this breaking change.

* Added support for a maintenance mode, which will disable all writes to
Expand Down Expand Up @@ -153,7 +161,7 @@ even in unreleased branches.
* Feature (and new default): Added support for secure cookies for session
management. This removes the dependency on redis. New settings were added to
control the lifetime of secure cookie sessions.
* Feature: Extensible metadata for secrets and blind secrets.
* Feature: Extensible metadata for secrets and blind secrets.
* Feature: AWS account scoping for services. If you're using multiple AWS
accounts, it's possible to limit access to services from specific accounts by
using multiple KMS keys for KMS authentication.
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ boto3==1.4.0
# License: MIT
# Upstream url: http://jlafon.io/pynamodb.html
# Use: For DynamoDB storage
pynamodb==2.2.0
pynamodb==3.2.1

# cryptography is a package which provides cryptographic recipes and
# primitives to Python developers.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pep8==1.5.7
pyasn1==0.1.9
pycparser==2.17
pyflakes==1.5.0 # via flake8
pynamodb==2.2.0
pynamodb==3.2.1
pyopenssl==16.2.0
python-dateutil==2.6.0 # via botocore, pynamodb
python-saml==2.2.1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name="confidant",
version="2.0.0",
version="3.0.0",
packages=find_packages(exclude=["test*"]),
include_package_data=True,
zip_safe=False,
Expand Down

0 comments on commit e4c8238

Please sign in to comment.