Bump peter-evans/create-pull-request from 7 to 8 in the dependencies group (#3411) Bump peter-evans/create-pull-request in the dependencies group Bumps the dependencies group with 1 update: [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request). Updates peter-evans/create-pull-request from 7 to 8 - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v7...v8) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix compatibility with swift-log 1.8.0 and later (#3412) swift-log 1.8.0 introduced CustomStringConvertible and LosslessStringConvertible conformances to Logger.Level which cause build errors by conflicting with our implementations. Remove ours.
Expose peer certificates in request handlers (#3362) * Expose peer certificates in request handlers Additional certificate information can be relevant in mTLS deployments. Exposing the validated certificate chain to the peer makes them available per request. This PR exposes the validated peer certificate chain, i.e., the certificates that establish trust of the peer identity (from the leaf to and including the root certificate). * Address API breakage * Add Swift ASN1 to server tests --------- Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
4.0.0 gm (#2278) * gm * update Authenticator protocol to return Void (#2260) * update Authenticator protocol to return Void * cleanup deprecations * Make testing with password easier with Password Service (#2275) * Add Password Hasher protocol * Add Password hasher and verifier services * Add test for the BCrypt service * Improve the PlaintextVerifier and test the service * Improve the API * Stop the tests crashing * Allow Client to be Changed (#2279) * First stab at making the client configurable * Wrapped HTTPClient in our own wrapped type and get the tests working * Remove commented out code * Update Sources/Vapor/Client/Application+Client.swift Co-Authored-By: Jari (LotU) <j.koopman@jarict.nl> * Rename WrappedClient into AsyncHTTPClient * Backfill test to ensure configuration can't be changed * Make it clear in the code that config can't be changed * Migrate client tests into their own file * Add app.client back and expose AsyncHTTPClient's driver * Move configuration down a layer to AsyncHTTPClient Co-authored-by: Jari (LotU) <j.koopman@jarict.nl> * update verifier * client cleanup * server override * server tests * server + client cleanup * rm deprecations * folder cleanup * test folder cleanup * remove dead code * remove apt script * Allow nested route building to throw and rethrow (#2148) * rethrows test * Foundation.url query support, fixes #2191 * AllowOriginSetting adjustments (#2053) * fixes #2034 * remove content-type check in JSONDecoder content conformance, fixes #2065 * test #2130 * fix leaking promise when port too large, fixes #2245 * port int.max * add SameSite=None, fixes #2259 * custom client test * move docs * remove utils folder * 2020 license * use swift coc * update contributing * add new sponsors * remove inactive * api docs cleanup * Minor grammatical edits (GM Branch) (#2290) * Added needed apostrophes * Removed unneeded apostrophes * Create Environment+Process.swift Created a new file Environment+Process.swift to replace/rename Environment+Proccess.swift [sic] * Delete Environment+Proccess.swift Removed Environment+Proccess.swift and replaced with Environment+Process.swift to correct the spelling in the file name * sessions updates * session updates * Fix tests * DefaultResponder fixes * Fix the "Server starting on ..." message to report the actual hostname and port being served. (#2296) * Async password verifier (#2284) * async password verifier * possibility to both use sync and async on request * fix indent * fixes * refactor tests * test async uses provider2 * password updates * fix max body size * fix chunk test * fix ws max frame size * docs updates * fix devel configure Co-authored-by: Tim <0xTim@users.noreply.github.com> Co-authored-by: Jari (LotU) <j.koopman@jarict.nl> Co-authored-by: Nicolas Bachschmidt <nicolas@nunk.net> Co-authored-by: Caleb <cak@fastmail.com> Co-authored-by: Hayden McCabe <hayden@haydenmccabe.com> Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org> Co-authored-by: Mads Odgaard <mads@madsodgaard.com>
Make Async Request Body actually work (#3096) * Add an actual failing test for async request body * Fix event loop crash in async body * Fix logic bug with backpressure in async request body * Add backpressure test * Update Tests/AsyncTests/AsyncRequestTests.swift Co-authored-by: Gwynne Raskind <gwynne@vapor.codes> * Try working out failing test * Tell the delegate we stopped * Add test to ensure we clean up correctly * Disable dodgy test --------- Co-authored-by: Gwynne Raskind <gwynne@vapor.codes>
Update minimum Swift version to 6.0 (#3365) * Update package minimum Swift version to 6.0. Update source code accordingly, and add theming to API docs. * Brutally hack around SymmetricKey not being Sendable in SwiftCrypto * Update dependabot.yml * Sendable stinks. * There, that should do it * Update ServerTests.swift * Update URITests.swift --------- Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
11 months ago
Vapor is an HTTP web framework for Swift. It provides a beautifully expressive and easy-to-use foundation for your next website, API, or cloud project.
Take a look at some of the awesome stuff created with Vapor.
💧 Community
Join the welcoming community of fellow Vapor developers on Discord.
🚀 Contributing
To contribute a feature or idea to Vapor, create an issue explaining your idea or bring it up on Discord.