All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to the Haskell Package Versioning Policy.
- Make sure that case_ is always inlined.
- Update package metadata.
- Relaxed upper bounds on dependencies.
- Add
isSubsetOfforIPv4andIPv6ranges.
- Bump upper bound on
textto< 2.1. - Add
Hashableinstances forIPandIPv6.
- Add
boundedBuilderOctetsBEandboundedBuilderOctetsLEtoNet.IPv4. - Make doctests work again. Requires
doctest-0.20or higher. - Bump upper bound on
attoparsecto< 0.15. - Bump upper bound on
hashableto< 1.5. - Derive
GenericforNet.IPv6.IPv6. - Bump lower bound on
wide-wordto>= 0.1.1.2. - Add compatibility with GHC 9.2.3.
- Add
decodeUtf8BytestoNet.IP. - Fix IPv4 octet overflow bug (#74)
- Export
decodeOctetsfromNet.Mac. - Add
encodeShorttoNet.Mac.
- Fix bug in
doctestdocumentation - Bump upper bound on
aeson: (< 1.5) -> (< 1.6)
- Deprecate 'decodeBytes' in favor of 'decodeOctets'.
- Add
Bytes-oriented encode and decode functions toNet.Mac:boundedBuilderUtf8,decodeUtf8Bytes, andparserUtf8Bytes. - Add
parserRangeUtf8BytesandparserRangeUtf8BytesLenientto bothNet.IPv4andNet.IPv6modules.
- Add
Datainstances for all types. - Add
Ixinstances for all address types. - Add missing
ToJSON/FromJSONinstances forIPv6Range. - Remove
Num,Integral, andRealinstances fromIPv6. - Remove
Bitsinstance forIPv4Range. - Switch to derived
Bitsinstance for `IPv4. - Remove old spec test for IPv4 Bits laws, instead use quickcheck-classes.
- Bump exclusive upper bound on small-bytearray-builder
- Provide decode functions for decoding from
ShortTextand fromBytes. These two are implemented internally using the same function. - Dependency on
bytesmitheffectively restricts users to GHC 8.6 and up. Since GHC 8.8 is about to be released, this is deemed an acceptable cost. - Require cabal version 2.2 so that leading commas are accepted in dependencies lists.
- Allow building with primitive-0.7.
- Add more doctests to Net.IP.
- Add to Net.IP:
isIPv4andisIPv6. - Bump lower bound on primitive from 0.6 to 0.6.4.
- Bump upper bound on hashable from < 1.3. to < 1.4.
- Implement
IPv6usingwide-word'sWord128. (This is a breaking change.)
- Docfix for
Net.IPv4.toList
- Fix existing
spectest suite. - 100% haddock coverage, along with significantly more doctest coverage.
- Add
Net.IPv4.localhostandNet.IPv6.localhost, aliases forloopback.
- Add
EnumandBoundedinstances forMac. - Add
NFDatainstances for all types.
- Combine
Net.IPv4andNet.IPv4.Rangemodules. - Add
IPv6Range. - Drop support for older aeson.
- Add
Enuminstance forIPv6.
- Added a
Priminstance forMac.