Giter Club home page Giter Club logo

Comments (5)

0xTim avatar 0xTim commented on May 20, 2024

@SalehAlbuga HTTP should support 2.4.0 by doing swift package update, since the manifest specifies 2.0.0..<3.0.0

from http.

SalehAlbuga avatar SalehAlbuga commented on May 20, 2024

@0xTim Yes I can see it in the master branch, but I tried using the latest version (3.3.2) and to update the package, however the checked out version shows swift-nio-ssl 1.0.1..<2.0.0

  // Bindings to OpenSSL-compatible libraries for TLS support in SwiftNIO
   .package(url: "https://github.com/apple/swift-nio-ssl.git", from: "1.0.1"),

Is it yet to be released? Am I missing anything?

from http.

0xTim avatar 0xTim commented on May 20, 2024

Ahhh right, I see what you mean. Unfortunately, we can't simply bump SwiftNIO SSL because of this file - https://github.com/vapor/http/blob/3.3.2/Sources/HTTP/Exports.swift 🤦

That means that all NIOSSL symbols are HTTP's symbols, so updating to NIO SSL 2.0 is a major release and then Vapor would need to be updated etc. However, since Vapor also exports the world, this would require a major release of Vapor 🙃

cc @tanner0101 here's an example of the reasons for not exporting the world in every, single, module

from http.

SalehAlbuga avatar SalehAlbuga commented on May 20, 2024

Oh :/ In this case, I'll have to use Vapor 4 instead of 3. I wanted to use 3 to avoid changing the OS and Swift versions requirement

from http.

0xTim avatar 0xTim commented on May 20, 2024

Yeah, it's been raised at the SSWG with best practices of what to do, so hopefully this becomes less of a problem going forward

from http.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.