Changelog for botan-low-0.1.0.0
Changelog
0.1.0.0 -- 2025-12-30
- BREAKING: remove experimental FFI code related to
x509. See PR #49. This code might be restored in some form in the future, but as of now it does not compile any more, so it is removed. The modules that are removed are:Botan.Low.X509.CABotan.Low.X509.CRLBotan.Low.X509.CSRBotan.Low.X509.DNBotan.Low.X509.ExtensionsBotan.Low.X509.OptionsBotan.Low.X509.PathBotan.Low.X509.Store
- BREAKING: remove the
XFFIcabal flag. See PR #49. It has no effect now that the experimentalx509code is moved. - PATCH: enable
-Wallin addition to a number of other GHC warnings. See PR #52. - PATCH: use
GHC2021as the default language. See PR #52. - PATCH: update documentation in the
Botan.Low.Errormodule. See PR #62. - PATCH: update documentation in the
Botan.Low.Utilitymodule. See PR #62. - PATCH: update documentation in the
Botan.Low.Versionmodule. See PR #62. - PATCH: update documentation in the
Botan.Low.Viewmodule. See PR #62. - BREAKING:
Botan.Low.PwdHash.pbkdf2now takes aHashNameinstead of aMacName. See PR #63. - PATCH: update documentation in the
Botan.Low.PwdHashmodule. See PR #63. - PATCH: introduce a work-around for a bug found in
Botan.Low.SRP6.srp6ServerSessionStep1, which would always throw an exception. See PR #65. - BREAKING: add a
DLGroupNamefunction argument toBotan.Low.SRP6.srp6ServerSessionStep2. See PR #65. - PATCH: update documentation in the
Botan.Low.SRP6module. See PR #65. - PATCH: update documentation in the
Botan.Low.BlockCiphermodule. See PR #74. - BREAKING: remove the
BlockCipher128Nametype synonym fromBotan.Low.BlockCipher. See PR #74. - NON-BREAKING: in the
BlockCiphermodule, add new pattern synonymsLionandCascadeand accompanying utility functionslionandcascadefor the "Lion" and "Cascade" ciphers respectively. See PR #74. - PATCH: fix an "address out of bounds" bug in
blockCipherEncryptBlocksandblockCipherDecryptBlocksthat occasionally caused segfaults. See PR #74. - PATCH: fix an "insufficient buffer space" bug in
Botan.Low.PubKey.Encrypt.encryptandBotan.Low.PubKey.Decrypt.decrypt. See PR #79, PR #87. - PATCH: Fix an "insufficient buffer space" bug in
Botan.Low.Cipher.cipherUpdate. See PR #84. - BREAKING: rework errors. See PR
#94.
- Change
BotanErrorCodefrom a type synonym to a newtype aroundCInt. - Add a new
BotanErrorMessagenewtype aroundByteString, and use it inbotanErrorLastExceptionMessage. - Remove pattern synonyms for
BotanErrorCode. UseBOTAN_FFI_ERRORfrombotan-bindingsinstead. - Hide functions related to error number handling in the internals of the
library. This includes all function names starting with
throwBotan. - Remove
tryBotan,catchBotan, andhandleBotan.
- Change
- BREAKING: change flags from numbers into datatypes. See PR
#95 The flag
datatypes come with new helper functions to convert the datatype into a
number. For example,
CipherInitFlagsgets acipherInitFlagsfunction. The changed flag types are:CipherInitFlagsCipherUpdateFlagsFPEFlagsCheckKeyFlagsPrivKeyExportFlagsHexEncodingFlags
- BREAKING: remove the
botan-low-benchbenchmark. See PR #98. - PATCH: fix a bug where some functions returning a
Boolwere returningFalseinstead of throwing an exception and vice versa. See PR #105. These functions are:pubKeyCheckKeyx509CertHostnameMatchx509IsRevoked
- BREAKING: enable
NoFieldSelectors. See PR #106. As a result, this package no longer exports field selectors for datatypes defined in the package.
0.0.2.0 -- 2025-09-17
-
PATCH: update the changelog to change the release date of version 0.0.1.0 from 2024-02-05 to 2024-02-13.
-
PATCH: transfer ownership to the Haskell Foundation.
-
NON-BREAKING: remove a bunch of
WARNINGpragmas in favour of textual reminders in haddock comments. TheWARNINGpragmas are somewhat inconvenient in conjunction with-Werror. What would help is that sinceghc-9.12, warnings can be assigned to categories, and those categories can be ignored more granularly. However, we supportghcversions down to and includingghc-9.2, so warning categories are not an option for now. The affected functions are:blockCipherEncryptBlocksblockCipherDecryptBlockspwdhashpwdhashTimedmkCreateObjectCBytesx509CertAllowedUsagex509CertHostnameMatchkeyAgreementsignFinish
-
PATCH: include a license file (with copyright info)
-
PATCH: make dependency bounds on
basetighter. Now they coincide with thetested-withversions of GHC.
0.0.1.0 - 2024-02-13
Initial release.