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

Vapor3 #85

Open
wants to merge 124 commits into
base: development
Choose a base branch
from
Open

Vapor3 #85

wants to merge 124 commits into from

Conversation

nuclearace
Copy link
Owner

No description provided.

nuclearace and others added 30 commits August 23, 2018 16:15
* development:
  Hopefully fix DiscordGatewayPayloadData.dataFromDictionary on Swift 4.2 Linux
  fix linux build
Allow the project to build under Swift 5.1 by removing the version
constraint.
In Swift 5.1 networking-related types (such as HTTPURLResponse) have
been moved into a separate FoundationNetworking module. To maintain
compatibility with older versions, a preprocessor condition is used to
test whether this module is available.
Since the vapor/websocket has known issues with maintaining a persistent
connection, use vapor/nio-websocket-client as a WebSocket backend.
Remove redundant 'public' modifiers for public extension functions and
replace deprecated APIs.
Swift 5.1 compatibility
Fix #83.

Migrate to the new Vapor WebSocketKit library.
Use #available and #if os checks to ensure that Process.run and
.executableURL are available. If not, use the older methods.
Migrate to WebSocketKit
fwcd and others added 30 commits December 22, 2020 17:34
Migrate to API and Gateway v8
Add support for interactions and new slash-command API
Using the `class` keyword for protocol inheritance is deprecated in
Swift 5.4.
Replace deprecated protocol class bounds with `AnyObject`
Also refactor the type into a RawRepresentable structure.
Add support for message buttons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants