X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/6864f111fc7c998fc97374ff8583dfc5bf396178..c1fe3aa4f81b39aeaf4a48138f7eedc73dfefc04:/README.md diff --git a/README.md b/README.md index 3809658..8ce3103 100644 --- a/README.md +++ b/README.md @@ -838,6 +838,9 @@ which if present, should have the value `1`, otherwise the request is rejected w The headers controlling how code is formatted are: +If any of these headers are set to invalid values, `blackd` returns a `HTTP 400` error +response, mentioning the name of the problematic header in the message body. + - `X-Line-Length`: corresponds to the `--line-length` command line flag. - `X-Skip-String-Normalization`: corresponds to the `--skip-string-normalization` command line flag. If present and its value is not the empty string, no string @@ -849,6 +852,8 @@ The headers controlling how code is formatted are: a set of comma-separated Python versions, optionally prefixed with `py`. For example, to request code that is compatible with Python 3.5 and 3.6, set the header to `py3.5,py3.6`. +- `X-Diff`: corresponds to the `--diff` command line flag. If present, a diff of the + formats will be output. If any of these headers are set to invalid values, `blackd` returns a `HTTP 400` error response, mentioning the name of the problematic header in the message body. @@ -1034,6 +1039,9 @@ More details can be found in [CONTRIBUTING](CONTRIBUTING.md). - `blackd` now returns the version of _Black_ in the response headers (#1013) +- `blackd` can now output the diff of formats on source code when the `X-Diff` header is + provided (#969) + ### 19.3b0 - new option `--target-version` to control which Python versions _Black_-formatted code @@ -1430,25 +1438,66 @@ Maintained with [Carol Willing](mailto:carolcode@willingconsulting.com), Multiple contributions by: +- [Abdur-Rahmaan Janhangeer](mailto:cryptolabour@gmail.com) +- [Adam Johnson](mailto:me@adamj.eu) +- [Alexander Huynh](mailto:github@grande.coffee) +- [Andrew Thorp](mailto:andrew.thorp.dev@gmail.com) +- [Andrey](mailto:dyuuus@yandex.ru) +- [Andy Freeland](mailto:andy@andyfreeland.net) - [Anthony Sottile](mailto:asottile@umich.edu) +- [Arjaan Buijk](mailto:arjaan.buijk@gmail.com) - [Artem Malyshev](mailto:proofit404@gmail.com) +- [Asger Hautop Drewsen](mailto:asgerdrewsen@gmail.com) +- [Augie Fackler](mailto:raf@durin42.com) +- [Aviskar KC](mailto:aviskarkc10@gmail.com) - [Benjamin Woodruff](mailto:github@benjam.info) +- [Brandt Bucher](mailto:brandtbucher@gmail.com) +- Charles Reid - [Christian Heimes](mailto:christian@python.org) +- [Chuck Wooters](mailto:chuck.wooters@microsoft.com) +- [Daniel Hahler](mailto:github@thequod.de) - [Daniel M. Capella](mailto:polycitizen@gmail.com) +- Daniele Esposti +- dylanjblack - [Eli Treuherz](mailto:eli@treuherz.com) +- [Florent Thiery](mailto:fthiery@gmail.com) - hauntsaninja - Hugo van Kemenade - [Ivan Katanić](mailto:ivan.katanic@gmail.com) - [Jason Fried](mailto:me@jasonfried.info) +- [jgirardet](mailto:ijkl@netc.fr) +- [Joe Antonakakis](mailto:jma353@cornell.edu) +- [Jon Dufresne](mailto:jon.dufresne@gmail.com) - [Jonas Obrist](mailto:ojiidotch@gmail.com) +- [Josh Bode](mailto:joshbode@fastmail.com) +- [Juan Luis Cano Rodríguez](mailto:hello@juanlu.space) +- [Katie McLaughlin](mailto:katie@glasnt.com) +- [Linus Groh](mailto:mail@linusgroh.de) - [Luka Sterbic](mailto:luka.sterbic@gmail.com) +- Mariatta +- [Matt VanEseltine](mailto:vaneseltine@gmail.com) +- [Michael Flaxman](mailto:michael.flaxman@gmail.com) +- [Michael J. Sullivan](mailto:sully@msully.net) +- [Michael McClimon](mailto:michael@mcclimon.org) - [Miguel Gaiowski](mailto:miggaiowski@gmail.com) +- [Mike](mailto:roshi@fedoraproject.org) +- [Min ho Kim](mailto:minho42@gmail.com) - [Miroslav Shubernetskiy](mailto:miroslav@miki725.com) - [Neraste](mailto:neraste.herr10@gmail.com) +- [Ofek Lev](mailto:ofekmeister@gmail.com) - [Osaetin Daniel](mailto:osaetindaniel@gmail.com) +- [Pablo Galindo](mailto:Pablogsal@gmail.com) - [Peter Bengtsson](mailto:mail@peterbe.com) +- pmacosta +- [Rishikesh Jha](mailto:rishijha424@gmail.com) - [Stavros Korokithakis](mailto:hi@stavros.io) +- [Stephen Rosen](mailto:sirosen@globus.org) - [Sunil Kapil](mailto:snlkapil@gmail.com) +- [Thom Lu](mailto:thomas.c.lu@gmail.com) +- [Tom Christie](mailto:tom@tomchristie.com) +- [Tzu-ping Chung](mailto:uranusjr@gmail.com) - [Utsav Shah](mailto:ukshah2@illinois.edu) +- vezeli - [Vishwas B Sharma](mailto:sharma.vishwas88@gmail.com) -- [Chuck Wooters](mailto:chuck.wooters@microsoft.com) +- [Yngve Høiseth](mailto:yngve@hoiseth.net) +- [Yurii Karabas](mailto:1998uriyyo@gmail.com)