diff --git a/multipart-1.1.0.tar.gz b/multipart-1.1.0.tar.gz deleted file mode 100644 index d83dde5..0000000 --- a/multipart-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ee32683f5c454740cd9139e1d6057053823da0729c426f156464f81111529ba1 -size 34622 diff --git a/multipart-1.2.1.tar.gz b/multipart-1.2.1.tar.gz new file mode 100644 index 0000000..8904c14 --- /dev/null +++ b/multipart-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:829b909b67bc1ad1c6d4488fcdc6391c2847842b08323addf5200db88dbe9480 +size 36507 diff --git a/python-multipart.changes b/python-multipart.changes index 648939b..d60afdf 100644 --- a/python-multipart.changes +++ b/python-multipart.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Mar 14 09:39:57 UTC 2025 - Felix Stegmeier + +- Update to 1.2.1 + * feat: Split up MultipartError into more specific exceptions and add HTTP status code hints. All exceptions are subclasses of MultipartError. + * feat: New parse_form_data(ignore_errors) parameter to throw exceptions in non-strict mode, or suppress exceptions in strict mode. Default behavior does not change (throw in strict-mode, ignore in non-strict mode). + * feat: New is_form_request(environ) helper. + * feat: New specialized content_disposition_[un]quote functions. + * feat: parse_options_header() can now use different unquote functions. The default does not change. + * fix: parse_form_data() no longer checks the request method and the new is_form_request function also ignores it. All methods can carry parse-able form data, including unknown methods. The only reliable way is to check the Content-Type header, which both functions do. + * fix: First boundary not detected if separated by chunk border. + * fix: Allow CRLF in front of first boundary, even in strict mode. + * fix: Fail fast if first boundary is broken or part of the preamble. + * fix: Fail if stream ends without finding any boundary at all. + * fix: Use modern WHATWG quoting rules for field names and filenames (#60). Legacy quoting is still supported as a fallback. + * fix: MultiDict.get(index=999) should return default value, not throw IndexError. + * build: Require Python 3.8 + + ------------------------------------------------------------------- Fri Nov 15 01:27:17 UTC 2024 - Steve Kowalik diff --git a/python-multipart.spec b/python-multipart.spec index 7cad8ef..c5adc05 100644 --- a/python-multipart.spec +++ b/python-multipart.spec @@ -1,7 +1,7 @@ # # spec file for package python-multipart # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-multipart -Version: 1.1.0 +Version: 1.2.1 Release: 0 Summary: Parser for multipart/form-data License: MIT