Skip to content

Releases: cloudflare/python-cloudflare

2.20.0

10 May 09:49
Compare
Choose a tag to compare
 - 2024-05-10 11:44:12 +0200 [655a379](../../commit/655a3792e436bba5e5e08ceb4a7457a31ffb0345) CHANGELOG.md pushed to github
 - 2024-05-10 11:43:43 +0200 [4281e37](../../commit/4281e371190738232100dd31f79630b31b8caf3c) 2.20.0
 - 2024-05-10 11:43:20 +0200 [a28996b](../../commit/a28996b6382a7e9fcd16dcd2e475a6cd4b891bf7) Added 2.20.* notes
 - 2024-05-10 11:35:00 +0200 [7c1b27c](../../commit/7c1b27c8b6d5a7f47a98020716dd767d8b3e1834) extra AI api endpoints
 - 2024-05-10 11:27:06 +0200 [ba62a0c](../../commit/ba62a0c6625eb38eef51e7dc8390120409cb9831) more api endpoints
 - 2024-05-09 11:56:55 +0200 [71afe0e](../../commit/71afe0e7a9fcf7b8e17a4a7d293eeb3e7a780f30) moved 2.20.* warnings into a proper Python PendingDeprecationWarning message
 - 2024-05-08 11:41:37 +0200 [89d76d9](../../commit/89d76d9e23ccce3779aa6080fc7613729bc7fbf1) Merge branch 'spew-warning-for-2.20'
 - 2024-05-08 11:34:59 +0200 [2720d21](../../commit/2720d21e4227e0a1a7728d50cfe283c346bc1ff9) Added --warnings flag to cli4 and associated warnings= flag to cloudflare() call. Provides an ability to control warning messages on or after 2.20.* release
 - 2024-05-07 11:54:19 +0200 [ddbe166](../../commit/ddbe16605f96a445a8dd730036ebe85e8416e417) reduce processing of OpenAPI logic when content-type is application/json
 - 2024-05-07 11:46:45 +0200 [676d258](../../commit/676d258abf89e2c07693756fc63a003049578334) 2.20.* warning now in its own file and warning sent to stderr or logging only if release number 2.20 or above
 - 2024-05-02 12:49:53 +1000 [3181096](../../commit/31810968cfaefa9bbf3e253f702159a6504efe8d) output major version release imminent warning
 - 2024-04-29 19:15:50 +0100 [34bcb1b](../../commit/34bcb1b3f504b4ddfd8040e6972ddd2c71bc673c) HTTPError can show up when you plan with the URL value

2.19.4

29 Apr 18:34
Compare
Choose a tag to compare
 - 2024-04-29 19:15:50 +0100 [34bcb1b](../../commit/34bcb1b3f504b4ddfd8040e6972ddd2c71bc673c) HTTPError can show up when you plan with the URL value
 - 2024-04-29 18:38:57 +0100 [7535d9a](../../commit/7535d9a7e00bb3e2623ee11ff466f4bcb75f3161) CHANGELOG.md pushed to github
 - 2024-04-29 18:38:21 +0100 [1bda322](../../commit/1bda322ccb2093c262cb65777327b1d1133d2a5a) 2.19.4
 - 2024-04-29 18:36:37 +0100 [a3cda63](../../commit/a3cda63d40e9bf25cbd90bef76b28ad16285c2ba) #186 - explain how to maps arguments
 - 2024-04-29 18:28:56 +0100 [389029a](../../commit/389029a6c8c20cd125333c81f758ffb718169ab9) #188 - url now uses strings - as it should!
 - 2024-04-29 18:07:15 +0100 [4bd76db](../../commit/4bd76dbd42a84a851719b7a5a3f47176db3a189f) #190 - remove Python 3.5 support because of f-string
 - 2024-04-29 18:04:12 +0100 [02e513f](../../commit/02e513f1607be04f031ee9387872d6666cabeb1a) 2.19.3
 - 2024-04-29 18:02:44 +0100 [8f2e7ad](../../commit/8f2e7ad974c71a4b507eb90ddc8d0210f318ab4e) Add version 3.0 code and pinning info to README
 - 2024-04-29 18:01:58 +0100 [b4dbc6e](../../commit/b4dbc6e8ee954ae264f72e2ac38d4f9c47201e19) more api endpoints
 - 2024-04-29 18:01:25 +0100 [63f1839](../../commit/63f18392d3346924f81e59e681a877a940cbd656) now that AI methods are in library - no need for CLOUDFLARE_API_EXTRAS code
 - 2024-04-18 16:35:32 -0700 [0c1fb92](../../commit/0c1fb926b0bf0595b025272b9e80bc77ed7c5ad3) more api endpoints
 - 2024-03-19 15:02:14 -0700 [839ac32](../../commit/839ac3206320206178fd67438a52e0f4357f3903) remove f-string for Python <3.6 compatibility
 - 2024-03-11 22:25:20 -0300 [ab8a1aa](../../commit/ab8a1aaa189ac5afdab20f966ef44fd675e1437b) added documentation urls, etc for pypi
 - 2024-03-11 22:21:01 -0300 [fc0e111](../../commit/fc0e1111e1824ea8c78cda43530b51343fb0a348) finally removed the VOID calls, added /ai/run endpoints
 - 2024-03-04 19:50:56 -0500 [56ffcfc](../../commit/56ffcfc1557610ae4d18eb305fbeb418966f038e) still testing docs
 - 2024-03-04 19:46:21 -0500 [82d2dcb](../../commit/82d2dcb2f8dc51bc72e3bca455bba38c55e66f8b) added more download stats
 - 2024-03-04 19:32:03 -0500 [1ae9c2a](../../commit/1ae9c2aa7a67f8f15bce6cdabc3a2b71a8744c11) still testing docs
 - 2024-03-04 19:29:14 -0500 [f9b565a](../../commit/f9b565a772c1ff06b2ed8a432734fa67ae2b24bc) added download stats
 - 2024-03-04 00:02:19 -0500 [984284f](../../commit/984284f563e90c91e296a0c5d5d2f65dad9f8a4e) still testing docs
 - 2024-03-04 00:01:25 -0500 [cf2b3d7](../../commit/cf2b3d7b6630f677e9224ed91ea4b8d462fbdd92) still testing docs
 - 2024-03-01 12:05:09 -0800 [26f6af8](../../commit/26f6af8bc79ab6c3c8c0c8526a73012d46350c0d) still testing docs
 - 2024-03-01 11:39:45 -0800 [35c0e06](../../commit/35c0e068df3459f6cfcb4c39cadd15f526386e4c) start of longstanding need for documentation, update of copyright string
 - 2024-03-01 10:15:38 -0800 [4fe03ee](../../commit/4fe03eed3c7bcc2130846b1be6ea4c9427a1bb99) readthedocs initial setup - long overdue
 - 2024-02-26 23:33:35 -0800 [77fee2e](../../commit/77fee2e5fcf9e3246f6f2d9f194dbb65e54cdcf4) pylint fixes
 - 2024-02-26 23:30:57 -0800 [e7cc964](../../commit/e7cc96452fb84338525ed1537e3523157ba634de) moved all requests code/exceptions into network where it belongs, import cleanup, exception handling cleanup
 - 2024-02-26 23:20:06 -0800 [dbaf7d6](../../commit/dbaf7d67c53e0baaf7a1ab6f33ee860c50672686) handle python < 3.10 to get utc time correctly
 - 2024-02-23 16:47:01 -0800 [036c5ed](../../commit/036c5edeac4d40e8bd9584541ce4a84f2e686d20) document cli4 having --header flag
 - 2024-02-23 16:39:32 -0800 [6eed220](../../commit/6eed2201254769b9bbcea69252fdad51bae62aa2) cli4 has --header flag, plus http_headers needed some more syntax checking
 - 2024-02-22 19:03:24 -0800 [dec9835](../../commit/dec98352d027e205bed762bebdbc8ea0eecbd7c5) added Python 3.5 note
 - 2024-02-22 15:10:24 -0800 [b3cf637](../../commit/b3cf637c2318e6aa09150a3f5f55e5a8a90221f3) remove excessive import statements
 - 2024-02-22 15:09:41 -0800 [c5a5587](../../commit/c5a5587abff4213ffc9fdeac515390a0982f73ee) improved date/time rfc/iso code, lint fixes

2.19.2

22 Feb 04:56
Compare
Choose a tag to compare
 - 2024-02-22 13:49:22 +0900 [9dca32b](../../commit/9dca32b2eb2511ce7b5ae3585ffec17b0eab8278) CHANGELOG.md pushed to github
 - 2024-02-22 13:49:15 +0900 [28b768a](../../commit/28b768a0d02309cef9f150bfc41cb9c3d9c2eecd) 2.19.2
 - 2024-02-22 13:48:52 +0900 [11d1270](../../commit/11d1270b65ce089b87b029483f517c56d288bff5) typo
 - 2024-02-22 13:37:13 +0900 [287c8a7](../../commit/287c8a790b3adf80352972d9ca63c14eab2f8c3a) CHANGELOG.md pushed to github
 - 2024-02-22 13:36:59 +0900 [6f9e5cf](../../commit/6f9e5cf637fb743e6e9a231ac2b3e37211d492d4) 2.19.1
 - 2024-02-22 13:34:05 +0900 [08123c1](../../commit/08123c1cb1fd49c5727c89d5bfdac95f36f01624) http_headers documentation
 - 2024-02-22 13:14:37 +0900 [44751a0](../../commit/44751a003c33d75d73d51889728e75be4bafb7f5) fix tag name creation
 - 2024-02-22 11:25:20 +0900 [10d8af3](../../commit/10d8af3dce16af13127cb3e7fe2688acbdca9ad0) CHANGELOG.md pushed to github
 - 2024-02-22 11:23:43 +0900 [32d1461](../../commit/32d1461896e7a11242ac51c619b1f38ada0867c7) 2.18.1.rc1
 - 2024-02-22 11:23:09 +0900 [a71dd35](../../commit/a71dd354fe44b8802e205767f16b92f8b0b533ab) added http_headers
 - 2024-02-22 09:32:55 +0900 [c2c4adf](../../commit/c2c4adf2d4f75ee76bb25d82ac8628945644bd98) solidfied the Python3 only mindset
 - 2024-02-19 16:45:40 +0900 [64f3a01](../../commit/64f3a011bb68812493c926b87a7c7b777199e5c6) brought man page up to date
 - 2024-02-18 18:48:47 +0900 [618d02e](../../commit/618d02e546a82f1c26f483cd46bc14c808d44508) create dummy loa document on-the-fly with very-basic pdf content

2.19.0

16 Feb 23:17
Compare
Choose a tag to compare
 - 2024-02-17 08:13:17 +0900 [4b2ec55](../../commit/4b2ec5520fe6cf53974f0b6ab65dad9f3c68e139) CHANGELOG.md pushed to github
 - 2024-02-17 08:12:56 +0900 [c7d9ae3](../../commit/c7d9ae3b7055b30fc2abfbd267d489ca2a1027f4) 2.19.0
 - 2024-02-17 08:10:02 +0900 [9135f17](../../commit/9135f1774da0e8bba0981d35d7920e238676ddc2) typo introduced before 2.18.x - now fixed
 - 2024-02-17 08:09:18 +0900 [3901158](../../commit/3901158a1de0993b6870c03600d67d503e335195) purge_cache test - was chasing a different bug
 - 2024-02-14 13:42:44 -0800 [ba42673](../../commit/ba42673e3957b15c024b91e56e2963c4ef4aebe8) typo

2.17.0

22 Jan 22:48
Compare
Choose a tag to compare
 - 2024-01-22 22:42:30 +0000 [e90d38e](../../commit/e90d38eaa5ab40bca52d93d81bf1b7549ab70bda) handle case where zone and account disallow load balancing
 - 2024-01-22 22:29:06 +0000 [cf595ab](../../commit/cf595ab09a0f1da8146217229655c75709f77071) CHANGELOG.md pushed to github
 - 2024-01-22 22:28:12 +0000 [fadbace](../../commit/fadbace4bbbb47e30089984b0fc88481249904c5) 2.17.0
 - 2024-01-22 22:27:13 +0000 [ee72509](../../commit/ee725093486668f380a59cf68f208da110950cf6) make 4xx error handling more generic
 - 2024-01-22 22:26:13 +0000 [ea9e609](../../commit/ea9e6094480612747c557a27148f6e7549537b52) testing load balancers becuase they return 412 HTTP errors
 - 2024-01-21 17:38:08 +0000 [e09b075](../../commit/e09b075e740322382e15c67c01e519b3d9609370) debug messages line lenght needs to be longer so that error return messages are shown clearly
 - 2024-01-20 18:21:28 +0000 [3b8e699](../../commit/3b8e69997a538e030fb63da1c8a81c4e65ca345b) issue-181 HTTP response code 412 not handled
 - 2024-01-12 12:34:07 -0800 [2da9a7b](../../commit/2da9a7b56b3140c2d47d70f52ea8265d5b9d6dd4) handle 404 errors with invalid API error structure
 - 2024-01-12 12:33:24 -0800 [f39b3c1](../../commit/f39b3c1824d52b09fa0b7aeeeb1f03a3750d5c9f) test get/put/patch/delete and post with no data - all expected return error
 - 2024-01-12 11:42:56 -0800 [6acca0e](../../commit/6acca0ef657d703298a735011087619630897ab0) now testing api calls with four id values
 - 2024-01-12 11:06:44 -0800 [604d2bd](../../commit/604d2bd96dd90e5c6638f8b01169dafbf1a23a35) now testing api calls with three id values
 - 2024-01-12 11:05:06 -0800 [1a5a859](../../commit/1a5a8599b07e128f8834aa765537937e1d2974b7) improve error message responses for 400-405 http reponses code - they now decode Cloudflare error values
 - 2024-01-11 15:32:09 -0800 [e3b2631](../../commit/e3b26318cb334f913b4c1c4c4d29be4cde80b8ab) tuna tweeks, coverage html added
 - 2024-01-11 13:44:54 -0800 [dc18d57](../../commit/dc18d571b3533a69c2dfdc39fc25a97b7ff58977) lint found minor stuff
 - 2024-01-11 13:44:19 -0800 [c7658a3](../../commit/c7658a38ee5143f06a5a99ea3201fdebc4487a6f) lint found minor stuff, fixed longstanding _parts list size
 - 2024-01-11 11:48:33 -0800 [1ba1ca5](../../commit/1ba1ca5d6a209115a4c58b4673cc9d20fe887c30) lint found minor stuff
 - 2024-01-11 11:47:37 -0800 [dbec555](../../commit/dbec555e4151cd8db0ef78b8ea79c04af4f2bca6) added lots of %s %r tests
 - 2024-01-11 11:39:06 -0800 [e44bf75](../../commit/e44bf75ce6b4138c7b308bc91ae1d481a9bf8f16) lint found minor stuff
 - 2024-01-11 11:38:12 -0800 [0ac418b](../../commit/0ac418bdec9b39f4a2990a54a3cc314c8a259386) updated lint rules
 - 2024-01-05 15:44:19 -0800 [3d9f960](../../commit/3d9f960b7eef90f533e418007f062fc52b0cfcbf) cleanup of application/octet-stream duplicate code
 - 2024-01-05 15:24:29 -0800 [cbf250f](../../commit/cbf250f71c1695ff8c66973b374e6cbcc3221ec2) /accounts/:id/urlscanner/scan/:id/screenshot returns a binary object - a png file
 - 2024-01-05 12:39:27 -0800 [231b7a7](../../commit/231b7a7197fcc8c47aa44c901a409e4532e683d4) handle zero length content responses (normally 204 returns to delete)
 - 2024-01-05 12:38:47 -0800 [ed08910](../../commit/ed08910ec5a4f5ec9dc9484cfdd19c5bf1770acf) testing rulesets where response is None to delete

2.16.0

04 Jan 23:47
Compare
Choose a tag to compare
 - 2024-01-04 15:42:32 -0800 [ce080f3](../../commit/ce080f3da8061dabbc0fc1604e92eaba4f0a4cf1) 2.16.0
 - 2024-01-04 15:42:09 -0800 [f2441b1](../../commit/f2441b1f2320840fed526d81370cbde5f00d8b4e) added CloudFlare/tests as a package - a better place to keep tests
 - 2024-01-04 15:39:18 -0800 [401149c](../../commit/401149c20e074b824fc8f4467c92b08fa327f568) return http code 200 and more 2xx now accepted, check for decode() errors
 - 2024-01-04 15:37:25 -0800 [68ab29c](../../commit/68ab29c6a6d8963025bfb29ba1908881edbb93a7) confine account to first one
 - 2024-01-04 15:36:51 -0800 [7e88785](../../commit/7e88785a2439f76f7e9e6264d34f200550e6c4c6) testing pdf uploading and downloading
 - 2024-01-02 09:00:43 -0800 [6ba9ced](../../commit/6ba9ced49892023377cff9298d652a6dbc857d0f) cleanup to show correct sequence of firewall and filter creation and deletion
 - 2024-01-01 17:30:17 -0800 [8a04e95](../../commit/8a04e956687e42dafd244d65cb4eb32fa05f10ca) now builds TABLE-OF-COMMANDS.md
 - 2024-01-01 17:29:31 -0800 [0c85423](../../commit/0c85423812fec5bd8720292259b189175da99590) more table - based on examples/example_list_api_from_web.py
 - 2024-01-01 17:21:23 -0800 [38ea7a2](../../commit/38ea7a2cf476d098b4d391ae3fbc3eaec25ade67) moved to api_from_openapi()
 - 2024-01-01 17:11:09 -0800 [f42454b](../../commit/f42454ba2b3e269d64e44126f364338865d88b1b) update email examples to reflect newer api
 - 2024-01-01 13:09:11 -0800 [e6d9692](../../commit/e6d9692dfa29e12bcb4656b4c8542ae023a6ae9d) added workers create and delete
 - 2023-12-31 16:55:20 -0800 [2ff132d](../../commit/2ff132db5e276238e387baaca11d96bdd62a477d) test invalid dns records
 - 2023-12-31 16:19:21 -0800 [26a90c3](../../commit/26a90c3703d0960c7a6d8b78170a520f2408d157) more tests - invalid types and string returns
 - 2023-12-31 16:15:12 -0800 [8dbf8cd](../../commit/8dbf8cd2cbcbccdbb28eb84b24345e6254089c26) force check for None on email/key/token/certtoken
 - 2023-12-31 12:42:47 -0800 [e7224a8](../../commit/e7224a844c48abc7668ef5c8672654a14e3d81f7) /graphql tests
 - 2023-12-31 12:04:15 -0800 [28a3fd7](../../commit/28a3fd7a686e6050f0aee3cf23d604c4c89aa0a9) incorrect coding of /zones/:id/logs/received/fields
 - 2023-12-31 11:34:41 -0800 [0487170](../../commit/048717072aa7bef0b4826cd3fbb761f2fdd7fa09) typo
 - 2023-12-31 11:11:43 -0800 [3124aa6](../../commit/3124aa6b0d999d8e7d2c3248cc241d58c878fc1a) easier date code
 - 2023-12-31 10:47:45 -0800 [08d9d4c](../../commit/08d9d4cb5ea721f8e69ceb15799e82143bb77ef6) test raw=True calls via listing zones
 - 2023-12-31 09:44:48 -0800 [0b6271a](../../commit/0b6271aebfbe77e099f42db5b7f46355dcfe295e) moved /tests to /CloudFlare/tests
 - 2023-12-31 09:37:34 -0800 [74c7ce0](../../commit/74c7ce0920a67f34dde5a3cd7c6edd5a5fb42c8f) removed api_decode_from_web.py as the old api.cloudflare.com website has gone away
 - 2023-12-31 09:36:06 -0800 [5795d40](../../commit/5795d4041b7107d16858804346ca96d4cf50850b) moved /tests to /CloudFlare/tests. Removed find_package - as it was installing /tests and conflicting with other packages
 - 2023-12-31 09:33:59 -0800 [5622686](../../commit/562268622c679e261b405838708e93f3d78e3b0c) tests more return values
 - 2023-12-31 09:33:05 -0800 [fb245ee](../../commit/fb245ee77f180cfb0401a6a1a19ff567aa446d18) OpenAPI code now returns clean errors and version number. cli4 prints fetch errors cleanly
 - 2023-12-30 18:13:09 -0800 [d6cd999](../../commit/d6cd99988ff17af1c070c79b8d141e51e01fb51c) moved tests to under CloudFlare
 - 2023-12-30 18:06:31 -0800 [5390d3d](../../commit/5390d3d5c81d6395de043c5c2084a49b8a6c8408) typo
 - 2023-12-30 17:48:41 -0800 [609044f](../../commit/609044ffe134b098596ae33b0bfd61c049f3d34f) markdown cleanup
 - 2023-12-30 17:21:07 -0800 [8c53a8a](../../commit/8c53a8a59db60e197716c7895c80b2941c07aa65) openapi url now in code where it belongs, args checked for type str, logging messgaes for various errors, http error code 400 & 429 handled
 - 2023-12-30 17:16:24 -0800 [53af1a2](../../commit/53af1a2b0717d36bf3ec598d6030bf229f732b55) --openapi call now with optional argument as url is built into code
 - 2023-12-30 17:15:35 -0800 [5558e19](../../commit/5558e19c1c65b468034fe3ab2c78ac92e0a6958b) all tests now similar structure, callable from command line, debug on by default for command line calls
 - 2023-12-30 17:12:16 -0800 [b2c3eaa](../../commit/b2c3eaa581a25ea81f0e07d3898e2e7041a95495) move OPENAPI_URL into code where it belongs
 - 2023-12-30 16:42:11 -0800 [e8ba3e3](../../commit/e8ba3e3c5b1193178efcf69ddc3baeac468b9338) only create one logger - longstanding issue solved
 - 2023-12-30 16:09:50 -0800 [e460d78](../../commit/e460d7808fd83c8fb93499a7fead7b893c968557) added openapi_url config - rarely used outside of development
 - 2023-12-29 14:12:05 -0800 [4383548](../../commit/4383548771b214862150b0c2bcd59fd516a56125) deal with /certificates case - which is unique
 - 2023-12-28 14:02:39 -0800 [98c0526](../../commit/98c0526d92e517804dad136e6b8dbe638e654b5b) do not run tests if nothing has changed
 - 2023-12-28 14:02:09 -0800 [4a8626f](../../commit/4a8626f9a20e2bd4781dd5f9b386010d1431ee02) make zone choice random, add delay for import as it is rate limited
 - 2023-12-28 14:00:53 -0800 [3b17a03](../../commit/3b17a03d67d4f7d6b82b5cda2da3b56e7bf3055b) remove excess code
 - 2023-12-28 12:38:27 -0800 [678b70a](../../commit/678b70a5d539dc6e87e59b75550ff3fcef625631) moved to use tempfile.TemporaryFile so more portable over many systems
 - 2023-12-28 12:32:05 -0800 [01ebc72](../../commit/01ebc7286eddb67387b49f06939ebd8075d45fe2) moved to use tempfile.TemporaryFile so more portable over many systems
 - 2023-12-28 11:59:04 -0800 [6b1cbe4](../../commit/6b1cbe4e446f877fad61f5b2d7cc60e2faeddad7) CHANGELOG.md pushed to github

2.15.1

28 Dec 20:01
Compare
Choose a tag to compare
 - 2023-12-28 11:59:04 -0800 [6b1cbe4](../../commit/6b1cbe4e446f877fad61f5b2d7cc60e2faeddad7) CHANGELOG.md pushed to github
 - 2023-12-28 11:58:34 -0800 [aac4e6f](../../commit/aac4e6f1ee520f42c7ffa7fbf92195f955f27ea1) 2.15.1
 - 2023-12-28 11:58:00 -0800 [fddc424](../../commit/fddc424adb7d9bb7d205bb8aedcf6bbd1d9536eb) fixed a bad edit from 241af4d which stopped data being send on PUT/POST/PATCH/DELETE
 - 2023-12-28 11:49:45 -0800 [62eb860](../../commit/62eb8602e979ff7437728727444f3332c2f21b4b) example of purge_cache for free or enterprise accounts

2.14.3

13 Dec 14:03
Compare
Choose a tag to compare

2.14.3

2.14.2

26 Nov 04:08
Compare
Choose a tag to compare

2.14.2

2.14.1

25 Nov 21:08
Compare
Choose a tag to compare

2.14.1