Skip to content

Commit 036f057

Browse files
DXE-4304 Merge pull request #69 from akamai/release/v2.0.0
v2.0.0
2 parents 59bc13e + df59a4e commit 036f057

21 files changed

+1402
-873
lines changed

HISTORY.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
History
44
-------
55

6+
2.0.0 (2024-11-13)
7+
++++++++++++++++++
8+
9+
* Breaking changes
10+
- discontinue support for Python 2.7, the minimum supported version is now Python 3.9
11+
- the ``__init__`` function of ``EdgeGridAuth`` and ``EdgeGridAuthHeaders`` now accepts ``headers_to_sign`` and ``max_body`` as keyword-only arguments
12+
- change signatures of these methods in the ``EdgeGridAuthHeaders`` class: ``make_auth_header``, ``sign_request`` and ``make_data_to_sign``
13+
14+
* Improvements
15+
- update several dependencies in ``setup.py``
16+
- start generating files ``requirements.txt`` and ``dev-requirements.txt`` using ``pip-compile``,
17+
so that they contain the full set of project dependencies
18+
19+
* Bug fixes
20+
- fix handling file objects in the request body for ``EdgeGridAuth``
21+
622
1.3.1 (2022-09-22)
723
++++++++++++++++++
824

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ recommend that a file or class name and description of purpose be included on
176176
the same "printed page" as the copyright notice for easier identification within
177177
third-party archives.
178178

179-
Copyright [yyyy] [name of copyright owner]
179+
Copyright 2024 Akamai Technologies, Inc. All rights reserved.
180180

181181
Licensed under the Apache License, Version 2.0 (the "License");
182182
you may not use this file except in compliance with the License.

Makefile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
PYTHON = python3
2+
3+
.PHONY: help
4+
help:
5+
@echo " install install all dev and production dependencies (virtualenv is created as venv)"
6+
@echo " clean remove unwanted stuff"
7+
@echo " test run tests"
8+
9+
.PHONY: install
10+
install:
11+
$(PYTHON) -m venv venv; . venv/bin/activate; python -m pip install -r dev-requirements.txt
12+
13+
.PHONY: clean
14+
clean:
15+
rm -fr test
16+
rm -fr venv
17+
18+
.PHONY: test
19+
test:
20+
@. venv/bin/activate; pytest --junitxml $(CURDIR)/test/tests.xml --cov-report xml:$(CURDIR)/test/coverage/cobertura-coverage.xml --cov=akamai
21+
22+
.PHONY: lint
23+
lint:
24+
@. venv/bin/activate; pylint ./akamai
25+
26+
.PHONY: all
27+
all: clean install test lint

0 commit comments

Comments
 (0)