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

Scheduled weekly dependency update for week 10 #116

Merged
merged 5 commits into from
Mar 6, 2017

Conversation

pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Mar 6, 2017

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

Flask-SQLAlchemy 2.1 » 2.2 PyPI | Changelog | Repo | Docs
psycopg2 2.6.2 » 2.7 PyPI | Changelog | Homepage | Docs
SQLAlchemy 1.1.5 » 1.1.6 PyPI | Homepage
WebTest 2.0.25 » 2.0.26 PyPI | Changelog | Homepage
awscli 1.11.55 » 1.11.56 PyPI | Changelog | Homepage

Changelogs

Flask-SQLAlchemy 2.1 -> 2.2

2.2


Released on February 27, 2017, codename Dubnium

  • Minimum SQLAlchemy version is 0.8 due to use of sqlalchemy.inspect.
  • Added support for custom query_class and model_class as args
    to the SQLAlchemy constructor. (328_)
  • Allow listening to SQLAlchemy events on db.session. (364_)
  • Allow __bind_key__ on abstract models. (373_)
  • Allow SQLALCHEMY_ECHO to be a string. (409_)
  • Warn when SQLALCHEMY_DATABASE_URI is not set. (443_)
  • Don't let pagination generate invalid page numbers. (460_)
  • Drop support of Flask < 0.10. This means the db session is always tied to
    the app context and its teardown event. (461_)
  • Tablename generation logic no longer accesses class properties unless they
    are declared_attr. (467_)

.. _328: pallets-eco/flask-sqlalchemy#328
.. _364: pallets-eco/flask-sqlalchemy#364
.. _373: pallets-eco/flask-sqlalchemy#373
.. _409: pallets-eco/flask-sqlalchemy#409
.. _443: pallets-eco/flask-sqlalchemy#443
.. _460: pallets-eco/flask-sqlalchemy#460
.. _461: pallets-eco/flask-sqlalchemy#461
.. _467: pallets-eco/flask-sqlalchemy#467

psycopg2 2.6.2 -> 2.7

2.7


New features:

  • Added ~psycopg2.sql module to generate SQL dynamically (:ticket:308).
  • Added :ref:replication-support (:ticket:322). Main authors are
    Oleksandr Shulgin and Craig Ringer, who deserve a huge thank you.
  • Added ~psycopg2.extensions.parse_dsn() and
    ~psycopg2.extensions.make_dsn() functions (:tickets:321, 363).
    ~psycopg2.connect() now can take both dsn and keyword arguments, merging
    them together.
  • Added ~psycopg2.__libpq_version__ and
    ~psycopg2.extensions.libpq_version() to inspect the version of the
    libpq library the module was compiled/loaded with
    (:tickets:35, 323).
  • The attributes ~connection.notices and ~connection.notifies can be
    customized replacing them with any object exposing an !append() method
    (:ticket:326).
  • Adapt network types to ipaddress objects when available. When not
    enabled, convert arrays of network types to lists by default. The old !Inet
    adapter is deprecated (:tickets:317, 343, 387).
  • Added ~psycopg2.extensions.quote_ident() function (:ticket:359).
  • Added ~connection.get_dsn_parameters() connection method (:ticket:364).
  • ~cursor.callproc() now accepts a dictionary of parameters (:ticket:381).
  • Give precedence to !__conform__() over superclasses to choose an object
    adapter (:ticket:456).
  • Using Python C API decoding functions and codecs caching for faster
    unicode encoding/decoding (:ticket:473).
  • ~cursor.executemany() slowness addressed by
    ~psycopg2.extras.execute_batch() and ~psycopg2.extras.execute_values()
    (:ticket:491).
  • Added async_ as an alias for async to support Python 3.7 where
    async will become a keyword (:ticket:495).
  • Unless in autocommit, do not use :sql:default_transaction_* settings to
    control the session characteristics as it may create problems with external
    connection pools such as pgbouncer; use :sql:BEGIN options instead
    (:ticket:503).
  • ~connection.isolation_level is now writable and entirely separated from
    ~connection.autocommit; added ~connection.readonly,
    ~connection.deferrable writable attributes.

Bug fixes:

  • Fixed error caused by missing decoding ~psycopg2.extras.LoggingConnection
    (:ticket:483).
  • Fixed integer overflow in :sql:interval seconds (:ticket:512).

Other changes:

  • Dropped support for Python 2.5 and 3.1.
  • Dropped support for client library older than PostgreSQL 9.1 (but older
    server versions are still supported).
  • ~connection.isolation_level doesn't read from the database but will return
    ~psycopg2.extensions.ISOLATION_LEVEL_DEFAULT if no value was set on the
    connection.
  • Empty arrays no more converted into lists if they don't have a type attached
    (:ticket:506)

2.6.3

^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Throw an exception trying to pass NULL chars as parameters
    (:ticket:420).
  • Make ~psycopg2.extras.Range objects picklable (:ticket:462).

WebTest 2.0.25 -> 2.0.26

2.0.26


  • Added JWT auth support
  • Always show response body when response status is invalid

awscli 1.11.55 -> 1.11.56

1.11.56

=======

  • api-change:mturk: Update mturk command to latest version
  • api-change:elasticbeanstalk: Update elasticbeanstalk command to latest version
  • api-change:gamelift: Update gamelift command to latest version
  • api-change:organizations: Update organizations command to latest version
  • api-change:waf: Update waf command to latest version
  • api-change:ec2: Update ec2 command to latest version
  • api-change:dynamodbstreams: Update dynamodbstreams command to latest version
  • api-change:dynamodb: Update dynamodb command to latest version
  • api-change:waf-regional: Update waf-regional command to latest version
  • api-change:iam: Update iam command to latest version

That's it for now!

Happy merging! 🤖

@hndrewaall hndrewaall merged commit baf0779 into master Mar 6, 2017
@hndrewaall hndrewaall deleted the pyup-scheduled-update-03-06-2017 branch March 6, 2017 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants