8000 Tags · dannflor/vapor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: dannflor/vapor

Tags

4.62.0

Toggle 4.62.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Conform `Bool` to `Content` (vapor#2848)

* Add bool to support content protocol by default

Add bool to support the content protocol by default. You can directly return bool types at the top level.

````swift
    app.get("isOK") { req in
        return true
    }
``

* New test bool supports content protocol

Co-authored-by: king <3925@winnermedical.com>

4.61.1

Toggle 4.61.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request from GHSA-qvxg-wjxc-r4gg

* Add test for crash

* The sensible option

* Crude fix

* Throw an error if we hit a nesting limit

* Catch error in test

4.61.0

Toggle 4.61.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Support for `peerAddress` on `Request` (vapor#2822)

4.60.3

Toggle 4.60.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request from GHSA-vj2m-9f5j-mpr5

* Add failing test for crash

* Bounds check the range and add a couple more test cases

* Fail if range start is negative

* Safer parsing of integer additions

* Check requested size for range header

* Check for 0

* Log errors and catch invalid range headers

* One more log

4.60.2

Toggle 4.60.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix `content-length` calculation when streaming files (vapor#2835)

* Throw internal server error on error streaming body

* remove status change

* Turn write statements into writeAndFlush HTTPHandler

* revert writeandflush

* Add mp4 media type to httpmediaheaders

* Remove mp4 media type as it's listed in extensions

* Add test for content range headers

* Split up tests and fix within filestream

4.60.1

Toggle 4.60.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add logs for failing parameters `require()` (vapor#2833)

* Add debug log statements to parameters require

* Add suggestion

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>

* Add suggestion

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>

* Fix generic type in string message

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>

4.60.0

Toggle 4.60.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Expose the Channel's `ByteBufferAllocator` in `Request` and `Response` (

vapor#2595)

* Expose a ByteBufferAllocator on request

* Pass the channel's allocator to the Request initialiser

* Use the same allocator in Request

* zxPass the ByteBufferAllocator to the response and use it everywhere

* Don't break the public API

* Manually conform ClientResponse to Equtable

* Don't break the public API for ClientResponse

* Pass the allocator to the request body

* Add ByteBufferAllocator to Client

* Make some vars lets

* Shorten buffer allocations

* Set the ByteBufferAllocator before any trailing closures are run to avoid accidental sideeffects

* Fix compilation error on 5.2

* Update timeout to try and get the tests to pass

* Fix issues from merge

* Don't break the API

* Use the Response body's allocator instead of storing it on the response

4.59.1

Toggle 4.59.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix handling unicode characters in multipart filenames (vapor#2826)

Adds a case to ContentDisposition to be compliant with rfc-5987. This allows handling of unicode and other format characters in filenames.

closes vapor#2802


* Add case to init of contentdisposition

* Add property for incoming UniCode characters to ContentDisposition

* Revert to earlier commit

* Add tests to decode and encode unicode

4.59.0

Toggle 4.59.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update Supported Swift Versions (vapor#2825)

* Update tools version

* Update CI

4.58.0

Toggle 4.58.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Adds `cache.delete(_:)` (vapor#2821)

* Write tests for clearing cache with SetToNil method

* Add SetToNil methods in cache

* Update reset cache tests to work with set

* Remove `setToNil` function, add function override so nil is viable

* Rename set to delete for nil to avoid breaking ch
3916
ange
0