summaryrefslogtreecommitdiff
path: root/releasenotes/notes
diff options
context:
space:
mode:
authorDmitry Tantsur <dtantsur@protonmail.com>2020-04-28 12:54:56 +0200
committerDmitry Tantsur <dtantsur@protonmail.com>2020-05-04 10:49:11 +0200
commit0242f8219a3704dd4b3154ffd6971262ea5be0b0 (patch)
tree85897008c6256a7d900101e82cc2e1a59aaffc0b /releasenotes/notes
parenta44a77e6d37e4730606b274fb5f60d7b36eb1832 (diff)
downloadpython-ironicclient-0242f8219a3704dd4b3154ffd6971262ea5be0b0.tar.gz
Get rid of the oslo.serialization dependency
It was used to smoothen out the difference in handling bytes in Python 2 and 3. Now that we only support Python 3, it can be replaced. A side effect of this change is that we no longer accept bytes in JSON. JSON does not support bytes, but this problem has been hidden due to oslo.serialization until now. The configdrive handling has been updated to account for that. Change-Id: I230b55db55bce08d46f5023ad7a3f6501c96d100
Diffstat (limited to 'releasenotes/notes')
-rw-r--r--releasenotes/notes/json-bytes-2f0085202d5e5796.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/json-bytes-2f0085202d5e5796.yaml b/releasenotes/notes/json-bytes-2f0085202d5e5796.yaml
new file mode 100644
index 0000000..8b75a7e
--- /dev/null
+++ b/releasenotes/notes/json-bytes-2f0085202d5e5796.yaml
@@ -0,0 +1,6 @@
+---
+upgrade:
+ - |
+ The Python API used to accepts byte arrays and other non-serializable in
+ JSON data types in a few places where strings are required. This is no
+ longer supported, an attempt to do it will result in an exception.