Releases: ponylang/crypto
1.2.3
1.2.2
Update the URL for Windows LibreSSL downloads
Previously, as part of the Windows install process of crypto
, we would download a copy of LibreSSL from ftp.openbsd.org, build and install it.
We've found that ftp.openbsd.org has become flakey but cdn.openbsd.org has been stable.
There's no change that you need to do as a user for this update, however, if you are having trouble with this library on Windows due to it being unable to successfully download LibreSSL, this update is for you.
[1.2.2] - 2023-04-27
Changed
- Change location we download LibreSSL from for Windows Users (PR #85)
1.2.1
1.2.0
Remove md4
constructor from Digest
With the introduction of OpenSSL 3, the OpenSSL developers have moved MD4 to a "legacy provider". What this means is that via the mechanism that the Digest
class uses, we can no longer cleanly support MD4 without adding bloat that would impact on the usability of the other algorithms supported by Digest
.
The md4
constructor has been removed from Digest
. Note that an alternate method of doing md4
hashing is still available via the MD4
primitive.
Add OpenSSL 3 support
We've added support for using SSL libraries that support the OpenSSL 3 API.
[1.2.0] - 2023-01-03
Added
- Add OpenSSL 3 support (PR #80)
Changed
- Remove
md4
constructor fromDigest
(PR #78)
1.1.6
Add path to Homebrew's LibreSSL on ARM macOS
With the release of ponyc 0.45.0, Apple Silicon is now a supported platform, which means that the default install location of Homebrew formulas has changed. This release of crypto allows one to build the library without using the ponyc --path
option to include LibreSSL.
[1.1.6] - 2022-05-27
Added
- Add path to Homebrew's LibreSSL on ARM macOS (PR #73)
1.1.5
Update to work with ponytest name change in Pony 0.49.0
The Pony unit testing framework PonyTest had its package name renamed from ponytest
to pony_test
to match standard library naming conventions. We've updated to account for the new name.
Updates for libs build on Windows
We removed a hard-coded Visual Studio version from the build script so that it can be built with more versions of Visual Studio.
We upgraded the LibreSSL version to 3.5.0.
[1.1.5] - 2022-02-26
Fixed
1.1.4
1.1.3
Forward prepare for coming breaking FFI change in ponyc
Added FFI declarations to all FFI calls in the library. The change has no impact on end users, but will future proof against a coming breaking change in FFI in the ponyc compiler. Users of this version of the library won't be impacted by the coming change.
[1.1.3] - 2021-04-10
Changed
- Remove explicit return type from FFI calls (PR #57)
1.1.2
Free the underlying digest context on OpenSSL 0.9.0
The code under OpenSSL 0.9.0 was using EVP_MD_CTX_cleanup, which doesn't free the underlying context. This means that the memory allocated with EVP_MD_CTX_create would never be freed, leading to a potential memory leak. This is now fixed by using the appropriate function, EVP_MD_CTX_destroy.
Forward prepare for coming breaking FFI change in ponyc
Added FFI declarations to all FFI calls in the library. The change has no impact on end users, but will future proof against a coming breaking change in FFI in the ponyc compiler. Users of this version of the library won't be impacted by the coming change.
[1.1.2] - 2021-03-26
Fixed
- Free the underlying digest context on OpenSSL 0.9.0 (PR #55)
Changed
- Declare all FFI functions (PR #56)
1.1.1
Internal only release
This was release was purely for non-public facing changes.