Changelog History
Page 1
-
v5.2.1 Changes
November 15, 2020๐ This release contains the following changes:
- โ Added a temporary fix for SR-13491
-
v5.2.0 Changes
August 24, 2020๐ This release contains the following changes:
- โ Added support for the use of RandomNumberGenerator
-
v5.1.0 Changes
March 17, 2020๐ This release contains the following changes:
- โ Added support to serialize/deserialize BigInt in a manner similar to BigUInt
-
v5.0.0 Changes
August 24, 2019๐ This release contains the following changes:
- Swift 5 compatibility
- There were no functional changes.
-
v4.0.1 Changes
May 09, 2019๐ This release contains the following changes:
- โ Cleaned warnings on Swift 5
There were no functional changes.
-
v4.0.0 Changes
April 05, 2019๐ This release contains the following changes:
- ๐ Swift 5.0 compatibility for Linux and macOS
- โ Remove SipHash dependency
There were no functional changes.
-
v3.1.0 Changes
June 08, 2018๐ This release contains the following changes:
- ๐ Swift 4.1 compatibility for Linux and macOS
- ๐ Fix warnings for Swift 4.1
There were no functional changes.
-
v3.0.2 Changes
December 25, 20173.0.2 (2017-12-25)
๐ This release contains the following packaging fix:
- ๐ Fixed product definitions in Package.swift not to create a duplicate library. (Issue #37)
There were no functional changes.
-
v3.0.1 Changes
October 10, 2017๐ This release contains the following bug fixes:
- Issue #27 โ changing scope of
kind
andstorage
to befileprivate
- Making
subscript
method ofBigUInt
public
- Issue #27 โ changing scope of
-
v3.0.0 Changes
September 07, 2017๐ This is a major release upgrading BigInt to the new integer protocols introduced in Swift 4 as part of SE-0104, Protocol-oriented integers.
- Adopting the new protocols involved major, breaking changes throughout the API. These aren't individually listed here.
- ๐ The
BigUInt
struct now provides inline storage for big integers that fit inside two words. This optimization speeds up conversions from built-in fixed-width integer types, amongst other frequent operations. BigInt
andBigUInt
implements the newCodable
protocol. In both cases, values are encoded in an unkeyed container starting with a string indicating the sign ("+"
or"-"
), followed by a sequence of 64-bit unsigned integers representing component words, from least to most significant.- ๐ New method:
BigInt.modulo
, contributed by @FabioTacke. - ๐
BigUInt
does not implementCollection
in this release. The collection of words is available in the standard read-onlywords
property. Direct public access to collection methods have been removed; if you have been manipulating big integers using collection methods, you need to rewrite your code. If you have a usecase that isn't covered by the public API, please submit a PR adding the missing functionality. (Public read-write access to the underlying storage insideBigUInt
will not be restored, though.)
โก๏ธ BigInt is now part of the Attaswift project. The bundle identifiers in the supplied Xcode project have been updated accordingly.
โก๏ธ Note that the URL for the package's Git repository has changed; please update your references.