{"action":"closed","issue":{"url":"https://api.github.com/repos/Level/abstract-leveldown/issues/255","repository_url":"https://api.github.com/repos/Level/abstract-leveldown","labels_url":"https://api.github.com/repos/Level/abstract-leveldown/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/Level/abstract-leveldown/issues/255/comments","events_url":"https://api.github.com/repos/Level/abstract-leveldown/issues/255/events","html_url":"https://github.com/Level/abstract-leveldown/issues/255","id":339145525,"node_id":"MDU6SXNzdWUzMzkxNDU1MjU=","number":255,"title":"Make db argument of iterator and chained batch required","user":{"login":"vweevers","id":3055345,"node_id":"MDQ6VXNlcjMwNTUzNDU=","avatar_url":"https://avatars2.githubusercontent.com/u/3055345?v=4","gravatar_id":"","url":"https://api.github.com/users/vweevers","html_url":"https://github.com/vweevers","followers_url":"https://api.github.com/users/vweevers/followers","following_url":"https://api.github.com/users/vweevers/following{/other_user}","gists_url":"https://api.github.com/users/vweevers/gists{/gist_id}","starred_url":"https://api.github.com/users/vweevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vweevers/subscriptions","organizations_url":"https://api.github.com/users/vweevers/orgs","repos_url":"https://api.github.com/users/vweevers/repos","events_url":"https://api.github.com/users/vweevers/events{/privacy}","received_events_url":"https://api.github.com/users/vweevers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Level/abstract-leveldown/milestones/2","html_url":"https://github.com/Level/abstract-leveldown/milestone/2","labels_url":"https://api.github.com/repos/Level/abstract-leveldown/milestones/2/labels","id":3480186,"node_id":"MDk6TWlsZXN0b25lMzQ4MDE4Ng==","number":2,"title":"v6","description":"","creator":{"login":"vweevers","id":3055345,"node_id":"MDQ6VXNlcjMwNTUzNDU=","avatar_url":"https://avatars2.githubusercontent.com/u/3055345?v=4","gravatar_id":"","url":"https://api.github.com/users/vweevers","html_url":"https://github.com/vweevers","followers_url":"https://api.github.com/users/vweevers/followers","following_url":"https://api.github.com/users/vweevers/following{/other_user}","gists_url":"https://api.github.com/users/vweevers/gists{/gist_id}","starred_url":"https://api.github.com/users/vweevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vweevers/subscriptions","organizations_url":"https://api.github.com/users/vweevers/orgs","repos_url":"https://api.github.com/users/vweevers/repos","events_url":"https://api.github.com/users/vweevers/events{/privacy}","received_events_url":"https://api.github.com/users/vweevers/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":33,"state":"open","created_at":"2018-07-07T13:22:26Z","updated_at":"2018-10-19T14:12:48Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-07-07T13:19:19Z","updated_at":"2018-10-19T14:12:47Z","closed_at":"2018-10-19T14:12:47Z","author_association":"MEMBER","body":"So that iterators and chained batches will always have a `db` property (or `_db`, normalizing that is a second question). This prevents garbage collection of `db`.\r\n\r\nhttps://github.com/Level/abstract-leveldown/blob/7b079c5510f0ae354ae9503849ac7d9a0aa01551/abstract-iterator.js#L1-L2\r\n\r\nhttps://github.com/Level/abstract-leveldown/blob/7b079c5510f0ae354ae9503849ac7d9a0aa01551/abstract-chained-batch.js#L1-L2\r\n\r\n---\r\n\r\n- [x] iterator\r\n  - [x] make it required\r\n  - [x] rename to `.db` (already the case)\r\n  - [x] document\r\n- [x] chained batch:\r\n  - [x] make it required (#257)\r\n  - [x] rename to `.db`\r\n  - [x] document"}}
{"actor":{"display_login":"vweevers"}}