|
2 | 2 |
|
3 | 3 | ## [Unreleased]
|
4 | 4 |
|
| 5 | +## [v1.7.2] - 2023-05-04 |
| 6 | + |
5 | 7 | ### Fixed
|
6 | 8 |
|
7 | 9 | - Fix for - [#11934](https://github.com/postmanlabs/postman-app-support/issues/11934) Prevent `%` double encoding in query params
|
|
15 | 17 | Newer releases follow the [Keep a Changelog](https://keepachangelog.com) format.
|
16 | 18 |
|
17 | 19 | v1.7.0 (March 28, 2023)
|
18 |
| -* Fix for - [#192](https://github.com/postmanlabs/postman-code-generators/issues/192) Added support for Rust reqwest code snippets. |
| 20 | + |
| 21 | +- Fix for - [#192](https://github.com/postmanlabs/postman-code-generators/issues/192) Added support for Rust reqwest code snippets. |
19 | 22 |
|
20 | 23 | v1.6.1 (March 27, 2023)
|
21 |
| -* Fix backlashes being unescaped unnecessarily in cURL codegen |
| 24 | + |
| 25 | +- Fix backlashes being unescaped unnecessarily in cURL codegen |
22 | 26 |
|
23 | 27 | v1.6.0 (March 17, 2023)
|
24 |
| -* PEP8 improvements in python-requests code |
25 |
| -* Fix for - [#491](https://github.com/postmanlabs/postman-code-generators/issues/491) Added support for kotlin okhttp code snippets. |
26 |
| -* Refactored code for nodejs-axios util.js. |
| 28 | + |
| 29 | +- PEP8 improvements in python-requests code |
| 30 | +- Fix for - [#491](https://github.com/postmanlabs/postman-code-generators/issues/491) Added support for kotlin okhttp code snippets. |
| 31 | +- Refactored code for nodejs-axios util.js. |
27 | 32 |
|
28 | 33 | v1.5.1 (March 28, 2023)
|
29 |
| -* Fix backlashes being escaped unnecessarily in cURL codegen |
| 34 | + |
| 35 | +- Fix backlashes being escaped unnecessarily in cURL codegen |
30 | 36 |
|
31 | 37 | v1.5.0 (March 2, 2023)
|
32 |
| -* Change minimum supported NodeJS version to 12 |
33 |
| -* Fix for - [#11049](https://github.com/postmanlabs/postman-app-support/issues/11049) Escape backslash character in raw bodies for curl codegen |
34 |
| -* Fix for - [#302](https://github.com/postmanlabs/postman-code-generators/issues/302) Add option to use async/await in NodeJS Axios codegen |
35 |
| -* Fix for - [#322](https://github.com/postmanlabs/postman-code-generators/issues/322) Use multiline quotes in Powershell to simplify generated code |
36 |
| -* Add long form option for -g flag in curl codegen |
37 |
| -* Minor Swift codegen improvements |
| 38 | + |
| 39 | +- Change minimum supported NodeJS version to 12 |
| 40 | +- Fix for - [#11049](https://github.com/postmanlabs/postman-app-support/issues/11049) Escape backslash character in raw bodies for curl codegen |
| 41 | +- Fix for - [#302](https://github.com/postmanlabs/postman-code-generators/issues/302) Add option to use async/await in NodeJS Axios codegen |
| 42 | +- Fix for - [#322](https://github.com/postmanlabs/postman-code-generators/issues/322) Use multiline quotes in Powershell to simplify generated code |
| 43 | +- Add long form option for -g flag in curl codegen |
| 44 | +- Minor Swift codegen improvements |
38 | 45 |
|
39 | 46 | v1.4.1 (February 22, 2023)
|
40 |
| -* cURL codegen should work when request has a protocolProfileBehavior with null value |
| 47 | + |
| 48 | +- cURL codegen should work when request has a protocolProfileBehavior with null value |
41 | 49 |
|
42 | 50 | v1.4.0 (February 6, 2023)
|
43 |
| -* Add support for C# HttpClient Codegen |
44 |
| -* Fix for - [#9511](https://github.com/postmanlabs/postman-app-support/issues/9511) - Use short options in CURL as long as possible |
45 |
| -* Fix for - [#10581](https://github.com/postmanlabs/postman-app-support/issues/10581) - Do not add HTTP method explicitly in CURL when not required |
46 |
| -* Fix for - [#10053](https://github.com/postmanlabs/postman-app-support/issues/10053) - Remove usage of semaphore from Swift Codegen |
| 51 | + |
| 52 | +- Add support for C# HttpClient Codegen |
| 53 | +- Fix for - [#9511](https://github.com/postmanlabs/postman-app-support/issues/9511) - Use short options in CURL as long as possible |
| 54 | +- Fix for - [#10581](https://github.com/postmanlabs/postman-app-support/issues/10581) - Do not add HTTP method explicitly in CURL when not required |
| 55 | +- Fix for - [#10053](https://github.com/postmanlabs/postman-app-support/issues/10053) - Remove usage of semaphore from Swift Codegen |
47 | 56 |
|
48 | 57 | v1.3.0 (December 16, 2022)
|
49 |
| -* Update C# restsharp codegen to support [107](https://restsharp.dev/v107/) |
50 |
| -* Fix for - [#11084](https://github.com/postmanlabs/postman-app-support/issues/11084) Fixes an issue where HTTP code snippet was generating wrong boundaries |
51 |
| -* Fixes an issue with Axios code snippets not including maxBodyLength param |
| 58 | + |
| 59 | +- Update C# restsharp codegen to support [107](https://restsharp.dev/v107/) |
| 60 | +- Fix for - [#11084](https://github.com/postmanlabs/postman-app-support/issues/11084) Fixes an issue where HTTP code snippet was generating wrong boundaries |
| 61 | +- Fixes an issue with Axios code snippets not including maxBodyLength param |
52 | 62 |
|
53 | 63 | v1.2.1 (April 26, 2022)
|
54 |
| -* Add label for 'R' language |
| 64 | + |
| 65 | +- Add label for 'R' language |
55 | 66 |
|
56 | 67 | v1.2.0 (April 22, 2022)
|
57 |
| -* Add new codegens - php-guzzle, R-httr, R-rcurl |
58 |
| -* Fix issue with pipeline failing due to updated version of RestSharp |
59 |
| -* Fix for - [#502](https://github.com/postmanlabs/postman-code-generators/issues/502) Allow GET method to have a body in java-okhttp if present in input request |
60 |
| -* Fix for - [#476](https://github.com/postmanlabs/postman-code-generators/pull/476) Properly escape already escaped double quotes in curl body |
| 68 | + |
| 69 | +- Add new codegens - php-guzzle, R-httr, R-rcurl |
| 70 | +- Fix issue with pipeline failing due to updated version of RestSharp |
| 71 | +- Fix for - [#502](https://github.com/postmanlabs/postman-code-generators/issues/502) Allow GET method to have a body in java-okhttp if present in input request |
| 72 | +- Fix for - [#476](https://github.com/postmanlabs/postman-code-generators/pull/476) Properly escape already escaped double quotes in curl body |
61 | 73 |
|
62 | 74 | v1.1.5 (May 10, 2021)
|
63 |
| -* Fixed an issue with how JSON bodies are shown in code snippets for Ruby, C#, and Dart. |
| 75 | + |
| 76 | +- Fixed an issue with how JSON bodies are shown in code snippets for Ruby, C#, and Dart. |
64 | 77 |
|
65 | 78 | v1.1.4 (May 6, 2021)
|
66 |
| -* Fix an issue with empty GraphQL body |
| 79 | + |
| 80 | +- Fix an issue with empty GraphQL body |
67 | 81 |
|
68 | 82 | v1.1.3 (Mar 2, 2021)
|
69 |
| -* Use proper indentation for JSON bodies in Javascript and Nodejs codegens |
70 |
| -* Fix for - [#445](https://github.com/postmanlabs/postman-code-generators/issues/445) Add proper indentation in nodejs-axios when bodytype is urlencoded |
71 |
| -* Fix for - [#248](https://github.com/postmanlabs/postman-code-generators/issues/248) Use quoteType everywhere in curl, not just in the url |
72 |
| -* Fix for - [#454](https://github.com/postmanlabs/postman-code-generators/issues/454) Fix encoding when generating HTTP code snippets |
73 |
| -* Fix for - [#426](https://github.com/postmanlabs/postman-code-generators/issues/426) Use json.dumps in Python codegens if Content-Type is JSON |
| 83 | + |
| 84 | +- Use proper indentation for JSON bodies in Javascript and Nodejs codegens |
| 85 | +- Fix for - [#445](https://github.com/postmanlabs/postman-code-generators/issues/445) Add proper indentation in nodejs-axios when bodytype is urlencoded |
| 86 | +- Fix for - [#248](https://github.com/postmanlabs/postman-code-generators/issues/248) Use quoteType everywhere in curl, not just in the url |
| 87 | +- Fix for - [#454](https://github.com/postmanlabs/postman-code-generators/issues/454) Fix encoding when generating HTTP code snippets |
| 88 | +- Fix for - [#426](https://github.com/postmanlabs/postman-code-generators/issues/426) Use json.dumps in Python codegens if Content-Type is JSON |
74 | 89 |
|
75 | 90 | v1.1.2 (Dec 15, 2020)
|
76 |
| -* Fix for - [#8736](https://github.com/postmanlabs/postman-app-support/issues/8736) Add content type support for individual form-data fields |
77 |
| -* Fix for - [#8635](https://github.com/postmanlabs/postman-app-support/issues/8635) Use Json.parse for all json like application types |
78 |
| -* Fix for - [#9212](https://github.com/postmanlabs/postman-app-support/issues/9212) Add semicolon after header key in curl codegen if the value is empty string. |
79 |
| -* Add Newman test for powershell |
| 91 | + |
| 92 | +- Fix for - [#8736](https://github.com/postmanlabs/postman-app-support/issues/8736) Add content type support for individual form-data fields |
| 93 | +- Fix for - [#8635](https://github.com/postmanlabs/postman-app-support/issues/8635) Use Json.parse for all json like application types |
| 94 | +- Fix for - [#9212](https://github.com/postmanlabs/postman-app-support/issues/9212) Add semicolon after header key in curl codegen if the value is empty string. |
| 95 | +- Add Newman test for powershell |
80 | 96 |
|
81 | 97 | v1.1.1 (Nov 10, 2020)
|
82 |
| -* Change string to enum in cURL quoteType option. |
83 |
| -* Fix new line issue in dart-http and HTTP codegen |
84 |
| -* Fix an issue where deepinstall was failing when folder name had spaces. |
| 98 | + |
| 99 | +- Change string to enum in cURL quoteType option. |
| 100 | +- Fix new line issue in dart-http and HTTP codegen |
| 101 | +- Fix an issue where deepinstall was failing when folder name had spaces. |
85 | 102 |
|
86 | 103 | v1.1.0 (Nov 2, 2020)
|
87 |
| -* Added support for Dart http |
88 |
| -* Fix for - [#315](https://github.com/postmanlabs/postman-code-generators/issues/315): Manually parse url provided in the request. |
89 |
| -* Fix for - [#253](https://github.com/postmanlabs/postman-code-generators/issues/253): Add -g flag to curl if braces ({}) or brackets ([#]) are present in the url. |
90 |
| -* Fix for - [#257](https://github.com/postmanlabs/postman-code-generators/issues/257): Use double quotes to escape semicolon in curl requests |
91 |
| -* Fix for - [#247](https://github.com/postmanlabs/postman-code-generators/issues/247): Add ContentType to python snippets for multipart/formdata |
92 |
| -* Fix for - [#186](https://github.com/postmanlabs/postman-code-generators/issues/186): Add ` as line continuation delimiter for curl codegen |
93 |
| -* Fix for - [#248](https://github.com/postmanlabs/postman-code-generators/issues/248): Add quoteType as an additional option in curl codegen |
94 |
| -* Fix deadlock in error case in Swift and Objective-C codegens. |
95 |
| -* Fix for - [#325](https://github.com/postmanlabs/postman-code-generators/issues/325): Use encodeURIComponent instead of escape for urlencoded request body. |
96 |
| -* Fix for - [#350](https://github.com/postmanlabs/postman-code-generators/issues/350): Sanitize \r in request body. |
97 |
| -* Fix for - [#366](https://github.com/postmanlabs/postman-code-generators/issues/366): Add support for uploading binary files for multipart/form-data bodies in python-http.client. |
98 |
| -* Fix for - [#353](https://github.com/postmanlabs/postman-code-generators/issues/353): Add optional import of FoundationNetworking in swift codegen |
99 |
| -* Fix for - [#284](https://github.com/postmanlabs/postman-code-generators/issues/284): Replace double-quotes by single-quotes in codegen/php-curl |
100 |
| -* Fix for - [#330](https://github.com/postmanlabs/postman-code-generators/issues/330): Use url.toString method for converting url in shell-httpie codegen |
| 104 | + |
| 105 | +- Added support for Dart http |
| 106 | +- Fix for - [#315](https://github.com/postmanlabs/postman-code-generators/issues/315): Manually parse url provided in the request. |
| 107 | +- Fix for - [#253](https://github.com/postmanlabs/postman-code-generators/issues/253): Add -g flag to curl if braces ({}) or brackets ([#]) are present in the url. |
| 108 | +- Fix for - [#257](https://github.com/postmanlabs/postman-code-generators/issues/257): Use double quotes to escape semicolon in curl requests |
| 109 | +- Fix for - [#247](https://github.com/postmanlabs/postman-code-generators/issues/247): Add ContentType to python snippets for multipart/formdata |
| 110 | +- Fix for - [#186](https://github.com/postmanlabs/postman-code-generators/issues/186): Add \` as line continuation delimiter for curl codegen |
| 111 | +- Fix for - [#248](https://github.com/postmanlabs/postman-code-generators/issues/248): Add quoteType as an additional option in curl codegen |
| 112 | +- Fix deadlock in error case in Swift and Objective-C codegens. |
| 113 | +- Fix for - [#325](https://github.com/postmanlabs/postman-code-generators/issues/325): Use encodeURIComponent instead of escape for urlencoded request body. |
| 114 | +- Fix for - [#350](https://github.com/postmanlabs/postman-code-generators/issues/350): Sanitize \\r in request body. |
| 115 | +- Fix for - [#366](https://github.com/postmanlabs/postman-code-generators/issues/366): Add support for uploading binary files for multipart/form-data bodies in python-http.client. |
| 116 | +- Fix for - [#353](https://github.com/postmanlabs/postman-code-generators/issues/353): Add optional import of FoundationNetworking in swift codegen |
| 117 | +- Fix for - [#284](https://github.com/postmanlabs/postman-code-generators/issues/284): Replace double-quotes by single-quotes in codegen/php-curl |
| 118 | +- Fix for - [#330](https://github.com/postmanlabs/postman-code-generators/issues/330): Use url.toString method for converting url in shell-httpie codegen |
101 | 119 |
|
102 | 120 | v1.0.2 (Oct 15, 2020)
|
103 |
| -* Fixed spaces around variables and arguments in Python codgen to comply with PEP 8. |
104 |
| -* Added Content-Length header to generated HTTP snippets. |
105 |
| -* Switched to multiline strings for Raw bodies in Go. |
106 |
| -* Stopped manually encoding response bodes in `utf8` for Python-requests. |
107 |
| -* Removed unnecessary semicolons at the end of statements in Ruby. |
108 |
| -* Fixed wrong name of HTTP codegen in README |
| 121 | + |
| 122 | +- Fixed spaces around variables and arguments in Python codgen to comply with PEP 8. |
| 123 | +- Added Content-Length header to generated HTTP snippets. |
| 124 | +- Switched to multiline strings for Raw bodies in Go. |
| 125 | +- Stopped manually encoding response bodes in `utf8` for Python-requests. |
| 126 | +- Removed unnecessary semicolons at the end of statements in Ruby. |
| 127 | +- Fixed wrong name of HTTP codegen in README |
109 | 128 |
|
110 | 129 | v1.0.1 (Jun 29, 2020)
|
111 |
| -- Fix for - [#8674](https://github.com/postmanlabs/postman-app-support/issues/8674): Add URL sanitization for quotes in cURL, Java Unirest, NodeJS Native, Python http.client, and Swift. |
| 130 | + |
| 131 | +- Fix for - [#8674](https://github.com/postmanlabs/postman-app-support/issues/8674): Add URL sanitization for quotes in cURL, Java Unirest, NodeJS Native, Python http.client, and Swift. |
112 | 132 |
|
113 | 133 | v1.0.0 (May 29, 2020)
|
114 |
| -- Add axios framework support |
115 |
| -- Add ES6 syntax support for NodeJS Request, NodeJS Native and NodeJS Unirest |
116 |
| -- Fix snippet generation for powershell and jquery, where form data params had no type field |
117 | 134 |
|
118 |
| -[Unreleased]: https://github.com/postmanlabs/postman-code-generators/compare/v1.7.1...HEAD |
| 135 | +- Add axios framework support |
| 136 | +- Add ES6 syntax support for NodeJS Request, NodeJS Native and NodeJS Unirest |
| 137 | +- Fix snippet generation for powershell and jquery, where form data params had no type field |
| 138 | + |
| 139 | +[Unreleased]: https://github.com/postmanlabs/postman-code-generators/compare/v1.7.2...HEAD |
| 140 | + |
| 141 | +[v1.7.2]: https://github.com/postmanlabs/postman-code-generators/compare/v1.7.1...v1.7.2 |
119 | 142 |
|
120 |
| -[v1.7.1]: https://github.com/postmanlabs/postman-code-generators/compare/v1.7.0...v1.7.1 |
| 143 | +[v1.7.1]: https://github.com/postmanlabs/postman-code-generators/compare/v1.7.0...v1.7.1 |
0 commit comments