tus-server 2.3.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c07ca8df0a0b881580058e119e27a4cf63efbd0854018d00d8f3cd3f7a093b04
4
- data.tar.gz: ea0da9293bee4cee32f77ce5383adc389d34d745a025a01d570ff971b21f2a0d
3
+ metadata.gz: '08710187ce50e026f88fddf905c0edf4d1c26b69552484cdc6960a77b2e27d0f'
4
+ data.tar.gz: 4f8d827904bc92462a47396cf446f0c4bc005fa56e8db55d24b45d3abd8ade08
5
5
  SHA512:
6
- metadata.gz: 1284b1b2af5e29ccbd5ae20658da75f0ad8de5d11c2198ed98704f120aa8ebcbe6f9a9815d728d518dd12ea16046725733055a3868b8a2e0685985fedca4fa4f
7
- data.tar.gz: 0a9779bc5f55e685329a7cc76ed071ecf4e73b574609da3db298303697da898cd32d4a7da3e41f4e7ef59b273abfd69c79f03ec9aecf94d754ef6ccbbcdb08cf
6
+ metadata.gz: 9d2776b1dc1ff503a0eda659db2dfe801f74c949b66fcca3bf699b1735e1a312998a5de3b7ed033de576bb2d53f34f6322223f602845895eb8ac8bb3b987b7ad
7
+ data.tar.gz: 6e494ea9a7e406039ba9d292d1b410a331791dd39dcf24c95f7425375be88f5d6a047e7ef9fe77b2c898911f11ef1154142e1e6f1e390c783cd92de434560758
data/CHANGELOG.md CHANGED
@@ -1,3 +1,67 @@
1
+ ## 3.0.0 (2026-11-29)
2
+
3
+ * Remove GridFS storage (@janko)
4
+
5
+ * Delete the upload and call the `after_terminate` hook when the data of a creation request is rejected, as the client never receives its URL (@janko)
6
+
7
+ * Don't send an invalid `Range` header in `S3#get_file` for empty uploads (@janko)
8
+
9
+ * Don't include the query string of the creation request in the `Location` header (@janko)
10
+
11
+ * Respond with `413 Payload Too Large` instead of raising `NoMethodError` when a request with `Upload-Checksum` and without `Content-Length` has too much data (@janko)
12
+
13
+ * Parse `Upload-Length` with leading zeros as decimal, instead of as octal or raising `ArgumentError` (@janko)
14
+
15
+ * Fix `S3#patch_file` uploading empty parts forever when a deferred-length upload is given a length of `0` (@janko)
16
+
17
+ * Accept a PATCH request without data that sets `Upload-Length` on a deferred-length upload which already has all its data (@janko)
18
+
19
+ * Respond with `403 Forbidden` to every PATCH request to a completed upload, instead of calling the `after_finish` hook again for an empty request without `Content-Length` (@janko)
20
+
21
+ * Fix `NoMethodError` for PATCH requests without a Rack input, which Rack 3 allows for requests without a body (@janko)
22
+
23
+ * Drop Unicorn support (@janko)
24
+
25
+ * Remove deprecated `:download_url` server option, and `:thread_count` and `:concurrency` S3 storage options (@janko)
26
+
27
+ * Fix `LoadError` on Ruby 3.4+ when the `base64` gem isn't in the bundle (@janko)
28
+
29
+ * Respond with `404 Not Found` instead of raising for upload ids that aren't made of word characters, like `..` (@janko)
30
+
31
+ * Reject `Upload-Metadata` keys with non-ASCII characters after the first one (@janko)
32
+
33
+ * Remove unused `Tus::Checksum#match?`, `Tus::Info#remaining_length` and `Tus::Input::Unicorn` (@janko)
34
+
35
+ * Respond with `403 Forbidden` to every PATCH request to a final upload (@janko)
36
+
37
+ * Reject `Upload-Defer-Length` values other than `1`, creation requests with both `Upload-Length` and `Upload-Defer-Length`, and duplicate `Upload-Metadata` keys (@janko)
38
+
39
+ * Ignore `type` metadata that isn't a valid media type, because it's used in the `Content-Type` header (@janko)
40
+
41
+ * Allow the `Upload-Checksum` request header and expose the `Upload-Expires` and `Tus-Checksum-Algorithm` response headers in CORS (@janko)
42
+
43
+ * Finalize empty uploads on creation and call the `after_finish` hook for them, and create an empty object for them in S3 storage (@janko)
44
+
45
+ * Require Ruby 3.2 or newer (@janko)
46
+
47
+ * Save the data received so far when a client disconnects or times out mid-request on Falcon (@janko)
48
+
49
+ * Lock uploads during HEAD, PATCH and DELETE requests, and ask in-process lock holders to save what they received and release the lock (@janko)
50
+
51
+ * Add `:locker` and `:lock_timeout` options, with `Tus::Locker` locking uploads through lock files (@janko)
52
+
53
+ * Write data at the upload offset in filesystem storage, so overlapping retries don't duplicate data (@janko)
54
+
55
+ * Replace the info file atomically in filesystem storage (@janko)
56
+
57
+ * Add `creation-with-upload` extension, which accepts upload data in the creation request (@janko)
58
+
59
+ * Add `:disposition` option to S3 storage for the `Content-Disposition` of S3 objects (@janko)
60
+
61
+ * Fix `S3#get_file` yielding response headers on newer `aws-sdk-s3` versions (@janko)
62
+
63
+ * Don't use a thread pool in `S3#concatenate` (@janko)
64
+
1
65
  ## 2.3.0 (2019-05-14)
2
66
 
3
67
  * Allow uploading files larger than 50 GB to S3 storage by scaling the part size according to upload length (@janko)