{"action":"published","release":{"url":"https://api.github.com/repos/facebook/flow/releases/12249538","assets_url":"https://api.github.com/repos/facebook/flow/releases/12249538/assets","upload_url":"https://uploads.github.com/repos/facebook/flow/releases/12249538/assets{?name,label}","html_url":"https://github.com/facebook/flow/releases/tag/v0.78.0","id":12249538,"node_id":"MDc6UmVsZWFzZTEyMjQ5NTM4","tag_name":"v0.78.0","target_commitish":"v0.78","name":"v0.78.0","draft":false,"author":{"login":"fishythefish","id":187068,"node_id":"MDQ6VXNlcjE4NzA2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/187068?v=4","gravatar_id":"","url":"https://api.github.com/users/fishythefish","html_url":"https://github.com/fishythefish","followers_url":"https://api.github.com/users/fishythefish/followers","following_url":"https://api.github.com/users/fishythefish/following{/other_user}","gists_url":"https://api.github.com/users/fishythefish/gists{/gist_id}","starred_url":"https://api.github.com/users/fishythefish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fishythefish/subscriptions","organizations_url":"https://api.github.com/users/fishythefish/orgs","repos_url":"https://api.github.com/users/fishythefish/repos","events_url":"https://api.github.com/users/fishythefish/events{/privacy}","received_events_url":"https://api.github.com/users/fishythefish/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2018-08-03T17:39:33Z","published_at":"2018-08-03T19:46:30Z","assets":[],"tarball_url":"https://api.github.com/repos/facebook/flow/tarball/v0.78.0","zipball_url":"https://api.github.com/repos/facebook/flow/zipball/v0.78.0","body":"New Features:\r\n* Added the [`unnecessary-invariant`](https://flow.org/en/docs/linting/rule-reference/#toc-unnecessary-invariant) lint, which will flag uses of `invariant` when Flow can determine that the predicate must be truthy.\r\n* `find-refs` now traverses union types.\r\n* The `--flowconfig-name` flag now allows you to specify the name of the flowconfig.\r\n* Added a `file_watcher` option for `.flowconfig`.\r\n* Rechecks will now stop and restart as soon as Flow notices other file changes. The previous behavior was to finish the recheck and then start a new recheck. The new behavior is currently off by default and can be enabled by setting `experimental.cancelable_rechecks=true` in `.flowconfig`.\r\n**Note**: This feature is experimental. When it stabilizes, the flag will be removed and this feature will be enabled by default.\r\nNotable bug fixes:\r\n* `flow-upgrade` should no longer trigger `ENOENT` on Windows.\r\n* Running Flow with `--profile` should no longer throw on Windows.\r\n* Suppression comments preceding lint errors for disabled lints should now be correctly considered unused and trigger unused suppression warnings.\r\n* `ArrayBuffer`'s static indexer property is now correctly marked covariant. This should prevent errors like [this one](https://flow.org/try/#0PTAEBUAsEsGdQMYEMCusCm8mgGYBsB7Ad1HQCcyCzRoA7UAF0nUSpf2NABN0c7oG0ArQBQ6AB4AHKg1wpaCQcNAAjJFwAUASlABvEaEOtasWUgpIAnqAC8oWuhIBVOgwAcAQQuWNAFgBMWgDcBkZk6AwoZPQACpQAtnDoAHThsAR4AG7oGuZkVskqKDg45MEiAL4iIkA).\r\n* Fixed a bug in which the polarity of a type parameter was propagated to all subsequent type parameters, causing errors when covariant type parameters followed contravariant or invariant ones.\r\n  This bug is demonstrated by the difference in behavior of the following examples:\r\n  - [Incorrect](https://flow.org/try/#0C4TwDgpgBAKgPAQQDQGoBCA+KBeKBvAQwC4pkoUAjEtAXwG4AoBgMwFcA7AY2AEsB7dlGaIkmABTFSSKFShoAlCXjJM+BlCgAnCMFabBhaRRoMTDCAA8wfTcCgATCMwKsANneZiADNK-y6UAD0gVAAzgAWfG72UABWrKF2FNAAtjyhoTzsAOZCNlJQ7Hx2aEA)\r\n  - [Correct](https://flow.org/try/#0C4TwDgpgBAKgPAagIIBoBCA+KBeKBvBAQwC4pUoAjUtAXwG4AoBgMwFcA7AY2AEsB7dlGZxUmABQkyKStQCUpeKKx4GUKACcIwVusF5C0ijQbGGEAB5g+64FAAmEZoVYAbW8zEAGaZ9l0oAPQBUADOABZ8rnZQAFasIbYU0AC2PCEhPOwA5kLWUGjS7Hy2SEA)\r\nMisc:\r\n* Flow now prints array types as `Array<T>` instead of `T[]` in JavaScript output.\r\n* Flow now prints `{foo:x}` as `{ foo: x }` in JavaScript output, as Prettier does.\r\n* Library definition changes:\r\n  - Added `destroyed` to `net$Socket`.\r\n  - Added `document.scrollingElement`.\r\n  - Added `dgram$Socket$rinfo` to the Node library definitions.\r\n  - Added WebAssembly library definitions.\r\n  - Added the `groups` property to `RegExp$matchResult`."}}
{"actor":{"display_login":"fishythefish"}}