-
Notifications
You must be signed in to change notification settings - Fork 3
/
Changes
301 lines (243 loc) · 11.1 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
0.54 2023-10-23
* Restore compatibility with 5.020
0.53 2023-10-22
* Properly output form arguments when regenerating a curl command line
* Fix code generation for form submission with LWP::UserAgent
* disable Test2::V0 srand() tomfoolery
* clean up our tempfiles
* Test Mojolicious if available for fetch() parameter generation
0.52 2023-09-15
* Switch test suite to Test2::V0
* Suppress trivial Content-Length headers in ->as_curl
* --disable is a boolean option
* Add support for --json
* Add support for --max-filesize
The behaviour is slightly different from cURL. --max-filesize looks at
the size of the body, not at the Content-Length header.
* Add support for --interface (only IP addresses, not interface names)
* Fix Mojolicious snippet generation with local address
0.51 2023-07-21
* Various test suite and build updates, no code changes, no need to upgrade
0.50 2023-04-22
* Don't accept "--form" for wget - it doesn't exist there
* Fix test count when skipping tests
* Skip --parallel curl tests on versions before 7.68
* Documentation of ->as_wget, cosmetic documentation changes
* Run Mojolicious tests also for wget
0.49 2023-04-17
* Better generation of -F foo=bar code for Curl -> LWP
* Preserve consistent header order in HTTP::Tiny output
0.48 2023-04-16
* Add the missing SKIP: label needed when Mojolicious is missing for the test
* No code changes, no need to upgrade
0.47 2023-04-14
* Support Mojolicious as output type
0.46 2022-08-18
* Fix the test suite for machines where 'localhost' does not find our
local testing webserver
0.45 2022-08-15
* Support the --range option for curl
* Support the --bind-address option for wget
0.44 2022-08-15
* Only test --method with wget versions 1.15 and upwards
0.43 2022-08-12
* support CA certificate file/directories
* the wget option is named --timeout, not --max-time
0.42 2022-08-11
* Add support for --method
* Properly support --method in conjunction with --body-file and --body-data
0.41 2022-08-09
* Add support for --url
* Actually respect if the HTTP method is specified via the --request
parameter
0.40 2022-08-01
* Fix test suite by skipping a test on curl versions before 7.60
For some reason Curl sends an Expect: 100-continue header on these
versions and coding around that seems much effort for little gain.
* Fix replacing fake content when reading local files is disabled.
0.39 2022-07-29
* Fix crash when reading files is prohibited
0.38 2022-07-29
* Parse the authentication types --basic, --digest, --ntlm, --negotiate
but they get ignored when generating code
* Parse the --unix-socket command line parameter
This currently also gets ignored but there are plans to write a support
module to allow LWP to use unix domain sockets instead of TCP sockets
* Properly support the "@" and "<" specifier in the --form option
* Support the --form-string option
0.37 2021-12-24
* Eliminate (test) prerequisite URL::Encode
The functionality is already present in the (runtime) prerequisite
URI::Escape, so we use that.
Spotted by David Cantrell
0.36 2021-12-16
* curl: Make Host: header generation not append the port number if the
port number is the default port number for the protocol
* Treat headers with mixed case names alike. For example specifying an
"accept" header will override the Accept default headers. Previously
only a header specified in the matching string case would override
the default header.
0.35 2021-10-25
* Wget 1.14 does not send an Accept-Encoding header; adjust the test suite
more for that
0.34 2021-10-24
* Wget 1.14 does not send an Accept-Encoding header; adjust the test suite
for that
* Don't test the Perl version compatibility in the author tests anymore
0.33 2021-10-23
* Mark the tests testing the --compression option as TODO, so they don't
fail even if --compression is not supported by the local version of Wget.
This is easier than trying to find out whether the option is supported
just for the sake of the test suite.
0.32 2021-10-22
* Wget only supports the --compression option since 1.19.2 , and then only
if compiled with zlib.
We skip the test on Wget versions smaller than 1.19.2 and hope that all
later versions are compiled with zlib.
0.31 2021-10-21
* More test suite resiliency fixes
This time I was able to replicate a part
0.30 2021-10-20
* More test suite resiliency fixes
Unfortunately I can't conveniently replicate the situation on my system
0.29 2021-10-19
* Various test suite resiliency fixes, reported by SREZIC
0.28 2021-10-17
* Rename ::FromWGet to ::FromWget , to match other CPAN modules
* Print the content, not the status code in the utilities pwget.pl
and pcurl.pl
* Add a tool to print generated Perl code for wget or curl
* Support --no-check-certificate option for wget
0.27 2021-10-15
* Add HTTP::Request::FromWGet
* HTTP::Request::FromFetch now optionally takes named arguments
* Curl seems to URL-encode differently between versions - we adapt our
tests to ignore the difference, but we use the "old" style of URL-encoding
The curl versions making the change seem to be 7.74 (%) and 7.78 (+)
0.26 2021-10-14
* Fix synopses to be more illustrative
* Update bugtracker URLs
0.25 2020-10-14
* Output more diagnostics on failure/suspect requests to find out
what makes the test suite unhappy on Cygwin
* No functionality changes, no need to upgrade
0.24 2020-10-13
* Clean out HTTP_PROXY and other environment variables that prevent the
test suite from running properly
* No functionality changes, no need to upgrade
0.23 2020-10-11
* Curl previous to 7.37.0 does not handle IPv6 hostnames well, skip that
combination in tests
* This is a really minor release to investigate/eliminate one CPAN tester
failure
* Test infrastructure now runs on Github Actions as well
* No functionality changes, no need to upgrade
0.22 2020-10-10
* Properly ignore some more headers in the test suite
* No functionality changes, no need to upgrade
0.21 2020-10-09
* --next was introduced in Curl 7.36.0, skip tests on versions before that
* Adjust test count when things fail
* No functionality changes, no need to upgrade
0.20 2020-10-05
* No functionality changes, no need to upgrade
* Only test --data-* switches on Curl versions that support --data-*
* Ignore sent cookies when testing multiple URIs
0.19 2020-10-02
* No functionality changes, no need to upgrade
* Fix Filter::signatures usage for Perl versions below 5.20
* Force "--silent" in tests for curl versions that insist on a progress meter
( RT #133454 )
* Replace --data-raw by --data in tests if the Curl version doesn't support
--data-raw (RT #133455)
0.18 2020-09-30
* Add support for --data-raw, --data-ascii, --data-binary, --data-urlencode
* --data now strips newlines and linefeeds, as does curl
* Filter::signatures prerequisite is now 0.16
0.17 2020-04-13
* Test suite changes to fix Redhat test failures
* No code changes, no need to upgrade
0.16 2020-04-12
* (Hopefully) fix one more test inconsistency
* Add ->as_curl method for round-tripping/canonicalizing curl invocations
This also means you can now convert from fetch() to curl invocations
* The --user-agent is now correctly recognized
0.15 2020-04-10
* Fix the test suite for longish curl version strings
This addresses RT #127641 , as reported by SREZIC
* Also require HTTP::Request::Generator 0.09 , which handles IPv6.
0.14 2020-04-09
* Added ::FromFetch to convert data from the Javascript Fetch API
* GET requests without headers now create valid Perl code
0.13 2019-10-11
* Support output of HTTP::Tiny code in addition to LWP::UserAgent
* Support headers with multiple values
* Test suite can now run in parallel, cutting down test time
* Test suite is now robust in face of features unsupported by the
curl executable. --compress can be unimplemented.
* Test suite is now robust in face of IPv6. Curl URL-globbing does not
play well with IPv6 URLs.
0.12 2019-02-27
* Fix the test skip count in the case we encountered an error earlier
(Reported by SREZIC, addresses RT#128646)
* Ignore warnings when running the code compilation tests
0.11 2019-02-26
* Properly handle POST data. The data was previously quoted
as if it were to be interpolated into Perl code even when it was
handed to ->as_request.
Reported by Choroba at https://perlmonks.org/?node_id=1230538
0.10 2019-02-02
* Handle -k, --insecure
This is the easy way out of encryption
* Minimum Perl version is now 5.8.8
Earlier versions are unsupported by IO::Socket::SSL
0.09 2018-12-19
* Sequence expansion
Curl and this module now support specifying sequences of URLs such as
C< https://example.com/[1-100] > , which expands to
C< https://example.com/1 >, C< https://example.com/2 > ...
C< https://example.com/100 >
Such sequences are expanded in-memory at this time, courtesy of
Cartesian Products
* List expansion
Curl supports specifying sequences of URLs such as
C< https://{www,ftp}.example.com/ > , which expands to
C< https://www.example.com/ >, C< https://ftp.example.com/ >.
Such sequences are expanded in-memory at this time, courtesy of
Cartesian Products
* Added option to limit the number of expanded requests
* Added ->clone() method to HTTP::Request::CurlOptions
* We now need HTTP::Request::Generator 0.06, for bug fixes in URL generation
in that module
0.08 2018-12-06
* Add C<implicit_headers> option to leave out headers when generating code
* Handle -L , --location
0.07 2018-11-27
* Fix broken code generation
* The requests worked but the generated code did not
0.06 2018-11-26
* Add support for --cookie option. This option doesn't read from a file
though, but only supports literal cookies.
* Ignore --dump-header, document ignored options
* Tests for some other options
0.05 2018-11-23
* Fix -XPOST and other option-bundling commands
0.04 2018-11-20
* Test stability, fix test count when skipping, no need to upgrade
0.03 2018-11-19
* Fix prerequisite versions, C<< ->getoptionsfromarray() >> was introduced
in Getopt::Long 2.39
* Add support for --max-time
* Add support for (ignored options) --(no-)keepalive and --(no-)buffer
* Add support for (ignored option) --progress-bar , -#
0.02 2018-11-15
* Support --compressed option
* Run output through HTML::Tidy if it is installed
Suggested by H Merijn Brand
* Test stability RT #127642, thanks to SREZIC
* Correct prerequisite versions RT 127644, thanks to SREZIC
* Test stability against weirdo Curl user agents (CentOS6)
reported by Slaven Rezic
0.01 2018-11-14
* Released on an unsuspecting world
* Inspired by a remark by Your Mother on https://perlmonks.org/