{"action":"closed","number":25,"pull_request":{"url":"https://api.github.com/repos/milesak60/dbs-neo4j/pulls/25","id":178148567,"html_url":"https://github.com/milesak60/dbs-neo4j/pull/25","diff_url":"https://github.com/milesak60/dbs-neo4j/pull/25.diff","patch_url":"https://github.com/milesak60/dbs-neo4j/pull/25.patch","issue_url":"https://api.github.com/repos/milesak60/dbs-neo4j/issues/25","number":25,"state":"closed","locked":false,"title":"Update peewee to 3.2.0","user":{"login":"pyup-bot","id":16239342,"avatar_url":"https://avatars0.githubusercontent.com/u/16239342?v=4","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"body":"\nThis PR updates [peewee](https://pypi.python.org/pypi/peewee) from **3.0.18** to **3.2.0**.\n\n\n\n<details>\n  <summary>Changelog</summary>\n  \n  \n   ### 3.2.0\n   ```\n   The 3.2.0 release introduces a potentially backwards-incompatible change. The\nonly users affected will be those that have implemented custom `Field` types\nwith a user-defined `coerce` method. tl/dr: rename the coerce attribute to\nadapt and you should be set.\n\n Field.coerce renamed to Field.adapt\n\nThe `Field.coerce` method has been renamed to `Field.adapt`. The purpose of\nthis method is to convert a value from the application/database into the\nappropriate Python data-type. For instance, `IntegerField.adapt` is simply the\n`int` built-in function.\n\nThe motivation for this change is to support adding metadata to any AST node\ninstructing Peewee to not coerce the associated value. As an example, consider\nthis code:\n\npython\n\nclass Note(Model):\n    id = AutoField()   autoincrementing integer primary key.\n    content = TextField()\n\n Query notes table and cast the &quot;id&quot; to a string and store as &quot;id_text&quot; attr.\nquery = Note.select(Note.id.cast(&#39;TEXT&#39;).alias(&#39;id_text&#39;), Note.content)\n\na_note = query.get()\nprint((a_note.id_text, a_note.content))\n\n Prior to 3.2.0 the CAST is &quot;un-done&quot; because the value gets converted\n back to an integer, since the value is associated with the Note.id field:\n(1, u&#39;some note&#39;)   3.1.7, e.g. -- &quot;id_text&quot; is an integer!\n\n As of 3.2.0, CAST will automatically prevent the conversion of field values,\n which is an extension of a more general metadata API that can instruct Peewee\n not to convert certain values.\n(u&#39;1&#39;, u&#39;some note&#39;)   3.2.0 -- &quot;id_text&quot; is a string as expected.\n\n\nIf you have implemented custom `Field` classes and are using `coerce` to\nenforce a particular data-type, you can simply rename the attribute to `adapt`.\n\n Other changes\n\nOld versions of SQLite do not strip quotation marks from aliased column names\nin compound queries (e.g. UNION). Fixed in 3.2.0.\n\n[View commits](https://github.com/coleifer/peewee/compare/3.1.7...3.2.0)\n   ```\n   \n  \n  \n   ### 3.1.7\n   ```\n   For all the winblows lusers out there, added an option to skip compilation of\nthe SQLite C extensions during installation. Set env var `NO_SQLITE=1` and run\n`setup.py install` and you should be able to build without requiring SQLite.\n\n[View commits](https://github.com/coleifer/peewee/compare/3.1.6...3.1.7)\n   ```\n   \n  \n  \n   ### 3.1.6\n   ```\n   * Added `rekey()` method to SqlCipher database for changing encryption key and\n  documentation for `set_passphrase()` method.\n* Added `convert_values` parameter to `ArrayField` constructor, which will\n  cause the array values to be processed using the underlying data-type&#39;s\n  conversion logic.\n* Fixed unreported bug using `TimestampField` with sub-second resolutions.\n* Fixed bug where options were not being processed when calling `drop_table()`.\n* Some fixes and improvements to `signals` extension.\n\n[View commits](https://github.com/coleifer/peewee/compare/3.1.5...3.1.6)\n   ```\n   \n  \n  \n   ### 3.1.5\n   ```\n   Fixed Python 2/3 incompatibility with `itertools.izip_longest()`.\n\n[View commits](https://github.com/coleifer/peewee/compare/3.1.4...3.1.5)\n   ```\n   \n  \n  \n   ### 3.1.4\n   ```\n   * Added `BigAutoField` to support 64-bit auto-incrementing primary keys.\n* Use Peewee-compatible datetime serialization when exporting JSON from\n  a `DataSet`. Previously the JSON export used ISO-8601 by default. See 1536.\n* Added `Database.batch_commit` helper to wrap iterators in chunked\n  transactions. See 1539 for discussion.\n\n[View commits](https://github.com/coleifer/peewee/compare/3.1.3...3.1.4)\n   ```\n   \n  \n  \n   ### 3.1.3\n   ```\n   * Fixed issue where scope-specific settings were being updated in-place instead\n  of copied. 1534.\n* Fixed bug where setting a `ForeignKeyField` did not add it to the model&#39;s\n  &quot;dirty&quot; fields list. 1530.\n* Use pre-fetched data when using `prefetch()` with `ManyToManyField`. Thanks\n  to iBelieve for the patch. 1531.\n* Use `JSON` data-type for SQLite `JSONField` instances.\n* Add a `json_contains` function for use with SQLite `json1` extension.\n* Various documentation updates and additions.\n\n[View commits](https://github.com/coleifer/peewee/compare/3.1.2...3.1.3)\n   ```\n   \n  \n  \n   ### 3.1.2\n   ```\n   New behavior for INSERT queries with RETURNING clause\n\nInvestigating 1522, it occurred to me that INSERT queries with non-default\n*RETURNING* clauses (postgres-only feature) should always return a cursor\nobject. Previously, if executing a single-row INSERT query, the last-inserted\nrow ID would be returned, regardless of what was specified by the RETURNING\nclause.\n\nThis change only affects INSERT queries with non-default RETURNING clauses and\nwill cause a cursor to be returned, as opposed to the last-inserted row ID.\n\n[View commits](https://github.com/coleifer/peewee/compare/3.1.1...3.1.2)\n   ```\n   \n  \n  \n   ### 3.1.1\n   ```\n   * Fixed bug when using `Model.alias()` when the model defined a particular\n  database schema.\n* Added `SchemaManager.create_foreign_key` API to simplify adding constraints\n  when dealing with circular foreign-key relationships. Updated docs\n  accordingly.\n* Improved implementation of `Migrator.add_foreign_key_constraint` so that it\n  can be used with Postgresql (in addition to MySQL).\n* Added `PickleField` to the `playhouse.fields` module. [Docs](http://docs.peewee-orm.com/en/latest/peewee/playhouse.htmlPickleField).\n* Fixed bug in implementation of `CompressedField` when using Python 3.\n* Added `KeyValue` API in `playhouse.kv` module. [Docs](http://docs.peewee-orm.com/en/latest/peewee/playhouse.htmlkey-value-store).\n* More test cases for joining on sub-selects or common table expressions.\n\n[View commits](https://github.com/coleifer/peewee/compare/3.1.0...3.1.1)\n   ```\n   \n  \n  \n   ### 3.1.0\n   ```\n   Backwards-incompatible changes\n\n`Database.bind()` has been renamed to `Database.bind_ctx()`, to more closely\nmatch the semantics of the corresponding model methods, `Model.bind()` and\n`Model.bind_ctx()`. The new `Database.bind()` method is a one-time operation\nthat binds the given models to the database. See documentation:\n\n* [Database.bind()](http://docs.peewee-orm.com/en/latest/peewee/api.htmlDatabase.bind)\n* [Database.bind_ctx()](http://docs.peewee-orm.com/en/latest/peewee/api.htmlDatabase.bind_ctx)\n\n Other changes\n\n* Removed Python 2.6 support code from a few places.\n* Fixed example analytics app code to ensure hstore extension is registered.\n* Small efficiency improvement to bloom filter.\n* Removed &quot;attention!&quot; from *README*.\n\n[View commits](https://github.com/coleifer/peewee/compare/3.0.20...3.1.0)\n   ```\n   \n  \n  \n   ### 3.0.20\n   ```\n   * Include `schema` (if specified) when checking for table-existence.\n* Correct placement of ORDER BY / LIMIT clauses in compound select queries.\n* Fix bug in back-reference lookups when using `filter()` API.\n* Fix bug in SQL generation for ON CONFLICT queries with Postgres, 1512.\n\n[View commits](https://github.com/coleifer/peewee/compare/3.0.19...3.0.20)\n   ```\n   \n  \n  \n   ### 3.0.19\n   ```\n   * Support for more types of mappings in `insert_many()`, refs 1495.\n* Lots of documentation improvements.\n* Fix bug when calling `tuples()` on a `ModelRaw` query. This was reported\n  originally as a bug with *sqlite-web* CSV export. See coleifer/sqlite-web38.\n\n[View commits](https://github.com/coleifer/peewee/compare/3.0.18...3.0.19)\n   ```\n   \n  \n</details>\n\n\n \n\n<details>\n  <summary>Links</summary>\n  \n  - PyPI: https://pypi.python.org/pypi/peewee\n  - Changelog: https://pyup.io/changelogs/peewee/\n  - Repo: http://github.com/coleifer/peewee/\n</details>\n\n","created_at":"2018-03-28T20:05:08Z","updated_at":"2018-03-31T14:50:14Z","closed_at":"2018-03-31T14:50:14Z","merged_at":null,"merge_commit_sha":"a1bebeddef15b536477d025edd14e369848a33b0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/milesak60/dbs-neo4j/pulls/25/commits","review_comments_url":"https://api.github.com/repos/milesak60/dbs-neo4j/pulls/25/comments","review_comment_url":"https://api.github.com/repos/milesak60/dbs-neo4j/pulls/comments{/number}","comments_url":"https://api.github.com/repos/milesak60/dbs-neo4j/issues/25/comments","statuses_url":"https://api.github.com/repos/milesak60/dbs-neo4j/statuses/699115293b6d100c43ecf9750998807003deef34","head":{"label":"milesak60:pyup-update-peewee-3.0.18-to-3.2.0","ref":"pyup-update-peewee-3.0.18-to-3.2.0","sha":"699115293b6d100c43ecf9750998807003deef34","user":{"login":"milesak60","id":32964046,"avatar_url":"https://avatars1.githubusercontent.com/u/32964046?v=4","gravatar_id":"","url":"https://api.github.com/users/milesak60","html_url":"https://github.com/milesak60","followers_url":"https://api.github.com/users/milesak60/followers","following_url":"https://api.github.com/users/milesak60/following{/other_user}","gists_url":"https://api.github.com/users/milesak60/gists{/gist_id}","starred_url":"https://api.github.com/users/milesak60/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milesak60/subscriptions","organizations_url":"https://api.github.com/users/milesak60/orgs","repos_url":"https://api.github.com/users/milesak60/repos","events_url":"https://api.github.com/users/milesak60/events{/privacy}","received_events_url":"https://api.github.com/users/milesak60/received_events","type":"User","site_admin":false},"repo":{"id":117355969,"name":"dbs-neo4j","full_name":"milesak60/dbs-neo4j","owner":{"login":"milesak60","id":32964046,"avatar_url":"https://avatars1.githubusercontent.com/u/32964046?v=4","gravatar_id":"","url":"https://api.github.com/users/milesak60","html_url":"https://github.com/milesak60","followers_url":"https://api.github.com/users/milesak60/followers","following_url":"https://api.github.com/users/milesak60/following{/other_user}","gists_url":"https://api.github.com/users/milesak60/gists{/gist_id}","starred_url":"https://api.github.com/users/milesak60/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milesak60/subscriptions","organizations_url":"https://api.github.com/users/milesak60/orgs","repos_url":"https://api.github.com/users/milesak60/repos","events_url":"https://api.github.com/users/milesak60/events{/privacy}","received_events_url":"https://api.github.com/users/milesak60/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/milesak60/dbs-neo4j","description":"nosql, neo4j, python","fork":false,"url":"https://api.github.com/repos/milesak60/dbs-neo4j","forks_url":"https://api.github.com/repos/milesak60/dbs-neo4j/forks","keys_url":"https://api.github.com/repos/milesak60/dbs-neo4j/keys{/key_id}","collaborators_url":"https://api.github.com/repos/milesak60/dbs-neo4j/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/milesak60/dbs-neo4j/teams","hooks_url":"https://api.github.com/repos/milesak60/dbs-neo4j/hooks","issue_events_url":"https://api.github.com/repos/milesak60/dbs-neo4j/issues/events{/number}","events_url":"https://api.github.com/repos/milesak60/dbs-neo4j/events","assignees_url":"https://api.github.com/repos/milesak60/dbs-neo4j/assignees{/user}","branches_url":"https://api.github.com/repos/milesak60/dbs-neo4j/branches{/branch}","tags_url":"https://api.github.com/repos/milesak60/dbs-neo4j/tags","blobs_url":"https://api.github.com/repos/milesak60/dbs-neo4j/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/milesak60/dbs-neo4j/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/milesak60/dbs-neo4j/git/refs{/sha}","trees_url":"https://api.github.com/repos/milesak60/dbs-neo4j/git/trees{/sha}","statuses_url":"https://api.github.com/repos/milesak60/dbs-neo4j/statuses/{sha}","languages_url":"https://api.github.com/repos/milesak60/dbs-neo4j/languages","stargazers_url":"https://api.github.com/repos/milesak60/dbs-neo4j/stargazers","contributors_url":"https://api.github.com/repos/milesak60/dbs-neo4j/contributors","subscribers_url":"https://api.github.com/repos/milesak60/dbs-neo4j/subscribers","subscription_url":"https://api.github.com/repos/milesak60/dbs-neo4j/subscription","commits_url":"https://api.github.com/repos/milesak60/dbs-neo4j/commits{/sha}","git_commits_url":"https://api.github.com/repos/milesak60/dbs-neo4j/git/commits{/sha}","comments_url":"https://api.github.com/repos/milesak60/dbs-neo4j/comments{/number}","issue_comment_url":"https://api.github.com/repos/milesak60/dbs-neo4j/issues/comments{/number}","contents_url":"https://api.github.com/repos/milesak60/dbs-neo4j/contents/{+path}","compare_url":"https://api.github.com/repos/milesak60/dbs-neo4j/compare/{base}...{head}","merges_url":"https://api.github.com/repos/milesak60/dbs-neo4j/merges","archive_url":"https://api.github.com/repos/milesak60/dbs-neo4j/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/milesak60/dbs-neo4j/downloads","issues_url":"https://api.github.com/repos/milesak60/dbs-neo4j/issues{/number}","pulls_url":"https://api.github.com/repos/milesak60/dbs-neo4j/pulls{/number}","milestones_url":"https://api.github.com/repos/milesak60/dbs-neo4j/milestones{/number}","notifications_url":"https://api.github.com/repos/milesak60/dbs-neo4j/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/milesak60/dbs-neo4j/labels{/name}","releases_url":"https://api.github.com/repos/milesak60/dbs-neo4j/releases{/id}","deployments_url":"https://api.github.com/repos/milesak60/dbs-neo4j/deployments","created_at":"2018-01-13T15:46:28Z","updated_at":"2018-02-24T21:56:26Z","pushed_at":"2018-03-31T14:50:11Z","git_url":"git://github.com/milesak60/dbs-neo4j.git","ssh_url":"git@github.com:milesak60/dbs-neo4j.git","clone_url":"https://github.com/milesak60/dbs-neo4j.git","svn_url":"https://github.com/milesak60/dbs-neo4j","homepage":"","size":26,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":1,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"milesak60:master","ref":"master","sha":"4289a07924db438c029a77f2d74ed8a6874580a0","user":{"login":"milesak60","id":32964046,"avatar_url":"https://avatars1.githubusercontent.com/u/32964046?v=4","gravatar_id":"","url":"https://api.github.com/users/milesak60","html_url":"https://github.com/milesak60","followers_url":"https://api.github.com/users/milesak60/followers","following_url":"https://api.github.com/users/milesak60/following{/other_user}","gists_url":"https://api.github.com/users/milesak60/gists{/gist_id}","starred_url":"https://api.github.com/users/milesak60/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milesak60/subscriptions","organizations_url":"https://api.github.com/users/milesak60/orgs","repos_url":"https://api.github.com/users/milesak60/repos","events_url":"https://api.github.com/users/milesak60/events{/privacy}","received_events_url":"https://api.github.com/users/milesak60/received_events","type":"User","site_admin":false},"repo":{"id":117355969,"name":"dbs-neo4j","full_name":"milesak60/dbs-neo4j","owner":{"login":"milesak60","id":32964046,"avatar_url":"https://avatars1.githubusercontent.com/u/32964046?v=4","gravatar_id":"","url":"https://api.github.com/users/milesak60","html_url":"https://github.com/milesak60","followers_url":"https://api.github.com/users/milesak60/followers","following_url":"https://api.github.com/users/milesak60/following{/other_user}","gists_url":"https://api.github.com/users/milesak60/gists{/gist_id}","starred_url":"https://api.github.com/users/milesak60/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milesak60/subscriptions","organizations_url":"https://api.github.com/users/milesak60/orgs","repos_url":"https://api.github.com/users/milesak60/repos","events_url":"https://api.github.com/users/milesak60/events{/privacy}","received_events_url":"https://api.github.com/users/milesak60/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/milesak60/dbs-neo4j","description":"nosql, neo4j, python","fork":false,"url":"https://api.github.com/repos/milesak60/dbs-neo4j","forks_url":"https://api.github.com/repos/milesak60/dbs-neo4j/forks","keys_url":"https://api.github.com/repos/milesak60/dbs-neo4j/keys{/key_id}","collaborators_url":"https://api.github.com/repos/milesak60/dbs-neo4j/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/milesak60/dbs-neo4j/teams","hooks_url":"https://api.github.com/repos/milesak60/dbs-neo4j/hooks","issue_events_url":"https://api.github.com/repos/milesak60/dbs-neo4j/issues/events{/number}","events_url":"https://api.github.com/repos/milesak60/dbs-neo4j/events","assignees_url":"https://api.github.com/repos/milesak60/dbs-neo4j/assignees{/user}","branches_url":"https://api.github.com/repos/milesak60/dbs-neo4j/branches{/branch}","tags_url":"https://api.github.com/repos/milesak60/dbs-neo4j/tags","blobs_url":"https://api.github.com/repos/milesak60/dbs-neo4j/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/milesak60/dbs-neo4j/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/milesak60/dbs-neo4j/git/refs{/sha}","trees_url":"https://api.github.com/repos/milesak60/dbs-neo4j/git/trees{/sha}","statuses_url":"https://api.github.com/repos/milesak60/dbs-neo4j/statuses/{sha}","languages_url":"https://api.github.com/repos/milesak60/dbs-neo4j/languages","stargazers_url":"https://api.github.com/repos/milesak60/dbs-neo4j/stargazers","contributors_url":"https://api.github.com/repos/milesak60/dbs-neo4j/contributors","subscribers_url":"https://api.github.com/repos/milesak60/dbs-neo4j/subscribers","subscription_url":"https://api.github.com/repos/milesak60/dbs-neo4j/subscription","commits_url":"https://api.github.com/repos/milesak60/dbs-neo4j/commits{/sha}","git_commits_url":"https://api.github.com/repos/milesak60/dbs-neo4j/git/commits{/sha}","comments_url":"https://api.github.com/repos/milesak60/dbs-neo4j/comments{/number}","issue_comment_url":"https://api.github.com/repos/milesak60/dbs-neo4j/issues/comments{/number}","contents_url":"https://api.github.com/repos/milesak60/dbs-neo4j/contents/{+path}","compare_url":"https://api.github.com/repos/milesak60/dbs-neo4j/compare/{base}...{head}","merges_url":"https://api.github.com/repos/milesak60/dbs-neo4j/merges","archive_url":"https://api.github.com/repos/milesak60/dbs-neo4j/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/milesak60/dbs-neo4j/downloads","issues_url":"https://api.github.com/repos/milesak60/dbs-neo4j/issues{/number}","pulls_url":"https://api.github.com/repos/milesak60/dbs-neo4j/pulls{/number}","milestones_url":"https://api.github.com/repos/milesak60/dbs-neo4j/milestones{/number}","notifications_url":"https://api.github.com/repos/milesak60/dbs-neo4j/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/milesak60/dbs-neo4j/labels{/name}","releases_url":"https://api.github.com/repos/milesak60/dbs-neo4j/releases{/id}","deployments_url":"https://api.github.com/repos/milesak60/dbs-neo4j/deployments","created_at":"2018-01-13T15:46:28Z","updated_at":"2018-02-24T21:56:26Z","pushed_at":"2018-03-31T14:50:11Z","git_url":"git://github.com/milesak60/dbs-neo4j.git","ssh_url":"git@github.com:milesak60/dbs-neo4j.git","clone_url":"https://github.com/milesak60/dbs-neo4j.git","svn_url":"https://github.com/milesak60/dbs-neo4j","homepage":"","size":26,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":1,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/milesak60/dbs-neo4j/pulls/25"},"html":{"href":"https://github.com/milesak60/dbs-neo4j/pull/25"},"issue":{"href":"https://api.github.com/repos/milesak60/dbs-neo4j/issues/25"},"comments":{"href":"https://api.github.com/repos/milesak60/dbs-neo4j/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/milesak60/dbs-neo4j/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/milesak60/dbs-neo4j/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/milesak60/dbs-neo4j/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/milesak60/dbs-neo4j/statuses/699115293b6d100c43ecf9750998807003deef34"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"pyup-bot"}}