Skip to content

Releases: aws-samples/awsipranges

Bump version

10 Feb 21:07
1f3c796
Compare
Choose a tag to compare

Update third-party dependencies to resolve dependabot identified vulnerabilities.

Bump version

02 Oct 02:40
a3c34eb
Compare
Choose a tag to compare
0.3.1

Bump version

Add JSON MD5 hash to AWSIPPrefixes

02 Oct 02:37
6e3fa1a
Compare
Choose a tag to compare

JSON MD5 hash

This release adds a new .md5 attribute to the AWSIPPrefixes class that provides access to the computed MD5 hex digest of the downloaded JSON file. You can compare the computed MD5 hash with the MD5 hash provided by the AmazonIpSpaceChanged notifications to verify the integrity of the downloaded JSON file.

Notification JSON:

{
  "create-time":"2021-10-01T16:33:13+00:00",
  "synctoken":"1633105993",
  "md5":"59e4cd7f4757a9f380c626d772a5eef2",
  "url":"https://ip-ranges.amazonaws.com/ip-ranges.json"
}

AWSIPPrefixes collection:

{
 'create_date': datetime.datetime(2021, 10, 1, 16, 33, 13, tzinfo=datetime.timezone.utc),
 'ipv4_prefixes': (...),
 'ipv6_prefixes': (...),
 'md5': '59e4cd7f4757a9f380c626d772a5eef2',
 'sync_token': '1633105993',
}

New library exceptions

Added HTTP response error checking and a custom library exception hierarchy. awsipranges.get_ranges() will now raise an awsipranges.HTTPError exception for 4xx and 5xx HTTP response codes when downloading the JSON file. All awsipranges custom exceptions are subclasses of the AWSIPRangesException base exception class.

Update PyPI package metadata

29 Sep 17:37
35097ba
Compare
Choose a tag to compare
0.2.6

Bump version

Update PyPI package metadata

21 Sep 21:18
65d0420
Compare
Choose a tag to compare
Bump the package version

- Update package metadata

Initial public release!

21 Sep 20:08
67d9663
Compare
Choose a tag to compare
0.2.4

Bump version number