Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fully async entrypoints #3114

Merged
merged 4 commits into from Dec 6, 2023
Merged

Add fully async entrypoints #3114

merged 4 commits into from Dec 6, 2023

Conversation

gwynne
Copy link
Member

@gwynne gwynne commented Dec 6, 2023

These changes are now available in 4.89.0

Pretty much what it says on the tin. Use the new execute() API instead of run(), and/or startup() instead of start().

@gwynne gwynne added the semver-minor Contains new API label Dec 6, 2023
@gwynne gwynne requested a review from 0xTim December 6, 2023 11:54
@codecov-commenter
Copy link

Codecov Report

Merging #3114 (a986654) into main (c710b8f) will decrease coverage by 0.08%.
The diff coverage is 53.33%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3114      +/-   ##
==========================================
- Coverage   76.41%   76.34%   -0.08%     
==========================================
  Files         211      211              
  Lines        8031     8035       +4     
==========================================
- Hits         6137     6134       -3     
- Misses       1894     1901       +7     
Files Coverage Δ
Sources/Vapor/Application.swift 87.68% <53.33%> (-4.86%) ⬇️

Copy link
Member

@0xTim 0xTim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once the manifest can pull in the new ConsoleKit version

Package.swift Outdated Show resolved Hide resolved
Package@swift-5.9.swift Outdated Show resolved Hide resolved
@0xTim 0xTim linked an issue Dec 6, 2023 that may be closed by this pull request
@gwynne gwynne enabled auto-merge (squash) December 6, 2023 18:12
@gwynne gwynne merged commit 3d62c0c into main Dec 6, 2023
18 checks passed
@gwynne gwynne deleted the fully-async-entrypoints branch December 6, 2023 18:17
patrick-zippenfenig added a commit to open-meteo/open-meteo that referenced this pull request Dec 8, 2023
keniwhat pushed a commit to keniwhat/vapor that referenced this pull request Jan 19, 2024
* main: (44 commits)
  Update routing-kit version (vapor#3131)
  Use `singleton` `EventLoopGroup` (vapor#3128)
  Additional tests fixes
  Fix for Apple changing things without warning.
  Add missing availability annotations in URI tests
  Merge pull request from GHSA-r6r4-5pr8-gjcp
  Fix setting public folder for `FileMiddleware` when using bundles (vapor#3113)
  Consistently use the value from `X-Request-Id` as the request's ID when present (vapor#3117)
  Fix encoding and decoding of HTTPHeaders (vapor#3116)
  Add fully async entrypoints (vapor#3114)
  Bring back AsyncCommands (vapor#3109)
  General warnings and tests cleanup (vapor#3107)
  Add public initializer for `XCTHTTPRequest` (vapor#3106)
  [skip ci] Update dependabot.yml
  [skip ci] Fixup sponsors workflow
  Make Async Request Body actually work (vapor#3096)
  Create a thread pool of System.coreCount rather than 64 when initializing an Application (vapor#3092)
  Modernize sponsors automation workflow (vapor#3098)
  Bump the dependencies group with 2 updates (vapor#3099)
  Update README with new Sponsor (vapor#3101)
  ...

# Conflicts:
#	Package.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-minor Contains new API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Application.run() should be noasync
4 participants