pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-multipart
Module Name: pkgsrc
Committed By: adam
Date: Sat Nov 30 08:56:15 UTC 2024
Modified Files:
pkgsrc/www/py-multipart: Makefile distinfo
Log Message:
py-multipart: updated to 1.2.1
Release 1.2
This release improves error handling, documentation and performance, fixes
several parser edge-cases and adds new functionality. API changes are backwards
compatible.
* 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.
Legacy quoting is still supported as a fallback.
* fix: `MultiDict.get(index=999)` should return default value, not throw IndexError.
* docs: Lots of work on docs and docstrings.
* perf: Multiple small performance improvements
* build: Require Python 3.8
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-multipart/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-multipart/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-multipart/Makefile
diff -u pkgsrc/www/py-multipart/Makefile:1.6 pkgsrc/www/py-multipart/Makefile:1.7
--- pkgsrc/www/py-multipart/Makefile:1.6 Fri Oct 25 13:03:43 2024
+++ pkgsrc/www/py-multipart/Makefile Sat Nov 30 08:56:14 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2024/10/25 13:03:43 adam Exp $
+# $NetBSD: Makefile,v 1.7 2024/11/30 08:56:14 adam Exp $
-DISTNAME= multipart-1.1.0
+DISTNAME= multipart-1.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/multipart/}
Index: pkgsrc/www/py-multipart/distinfo
diff -u pkgsrc/www/py-multipart/distinfo:1.3 pkgsrc/www/py-multipart/distinfo:1.4
--- pkgsrc/www/py-multipart/distinfo:1.3 Fri Oct 25 13:03:43 2024
+++ pkgsrc/www/py-multipart/distinfo Sat Nov 30 08:56:14 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2024/10/25 13:03:43 adam Exp $
+$NetBSD: distinfo,v 1.4 2024/11/30 08:56:14 adam Exp $
-BLAKE2s (multipart-1.1.0.tar.gz) = b94e9f9ebe9d19acb1f5b97e3bfe019a07381872d4b08d797bb2c7c6e7c3400b
-SHA512 (multipart-1.1.0.tar.gz) = 308b3080b2085315b3d080c976be26df8f9028862c9bea14069ddc3a5aad3b5f60cb75fdd387b943e5f555f6aecfbc865a1e9aa457bf06b9a7f08e13aaaba449
-Size (multipart-1.1.0.tar.gz) = 34622 bytes
+BLAKE2s (multipart-1.2.1.tar.gz) = 76a68b78c61514e1e4cbde2a5fad8ddee70ee008b4039137a94b553343caabe2
+SHA512 (multipart-1.2.1.tar.gz) = 755e41a388d16315a90bf9d3a6c340a887d9ece860b09c703771f788c9b2d491aa3dc401e444bf2d558ef81e9afaf498cff140dff8b1ed05341148244f6685d9
+Size (multipart-1.2.1.tar.gz) = 36507 bytes
Home |
Main Index |
Thread Index |
Old Index