network-simple-tls v0.4 Release Notes

Release Date: 2019-11-16 // almost 2 years ago
    • COMPILER ASSISTED BREAKING CHANGE: ClientSettings and ServerSettings are gone. Instead, ClientParams and ServerParams from the tls package are now used throughout.

    The related functions updateClientParams, clientParams, updateServerParams, serverParams are gone.

    makeClientSettings was renamed to makeClientParams, which returns ClientParams and takes [Credential] rather than Credentials.

    makeServerSettings was renamed to makeServerParams, which returns ServerParams.

    getDefaultClientSettings was replaced by newDefaultClientParams, which adds an in-memory SessionManager to the ClientParams.

    • COMPILER ASSISTED BREAKING CHANGE: Credentials from Network.TLS is not re-exported anymore.

    • โž• Added newDefaultServerParams, which creates a ServerParams with an in-memory SessionManager.

    • Re-export ServerParams, ClientParams from Network.TLS.

    • Export credentialLoadX509, which is the same as Network.TLS.credentialLoadX509 but runs in MonadIO.

    • ๐Ÿ‘Œ Support TLS 1.3, TLS 1.2 and TLS 1.1 by default.

    • โฌ†๏ธ Bump version dependency on tls to >= 1.5.

    • โž• Add dependency on tls-session-manager.


Previous changes from v0.3.2

    • โž• Added sendLazy.

    • ๐Ÿ›  Fixed space leak on recv. See issue #13.