Skip to content

Commit a91a667

Browse files
committed
release-notes: Add release notes for the Series linking feature
Closes #506 Signed-off-by: andrepapoti <[email protected]>
1 parent 2ea356c commit a91a667

File tree

4 files changed

+46
-23
lines changed

4 files changed

+46
-23
lines changed

docs/api/rest/index.rst

+28-21
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This guide provides an overview of how one can interact with the REST API. For
88
detailed information on type and response format of the various resources
99
exposed by the API, refer to the web browsable API. This can be found at:
1010

11-
https://patchwork.example.com/api/1.3/
11+
https://patchwork.example.com/api/1.4/
1212

1313
where `patchwork.example.com` refers to the URL of your Patchwork instance.
1414

@@ -43,6 +43,11 @@ If all you want is reference guides, skip straight to :ref:`rest-api-schemas`.
4343
The API version was bumped to v1.3 in Patchwork v3.1. The older APIs are
4444
still supported. For more information, refer to :ref:`rest-api-versions`.
4545

46+
.. versionchanged:: 3.2
47+
48+
The API version was bumped to v1.4 in Patchwork v3.2. The older APIs are
49+
still supported. For more information, refer to :ref:`rest-api-versions`.
50+
4651
Getting Started
4752
---------------
4853

@@ -57,16 +62,16 @@ Patchwork instance hosted at `patchwork.example.com`, run:
5762

5863
.. code-block:: shell
5964
60-
$ curl -s 'https://patchwork.example.com/api/1.3/' | python -m json.tool
65+
$ curl -s 'https://patchwork.example.com/api/1.4/' | python -m json.tool
6166
{
62-
"bundles": "https://patchwork.example.com/api/1.3/bundles/",
63-
"covers": "https://patchwork.example.com/api/1.3/covers/",
64-
"events": "https://patchwork.example.com/api/1.3/events/",
65-
"patches": "https://patchwork.example.com/api/1.3/patches/",
66-
"people": "https://patchwork.example.com/api/1.3/people/",
67-
"projects": "https://patchwork.example.com/api/1.3/projects/",
68-
"series": "https://patchwork.example.com/api/1.3/series/",
69-
"users": "https://patchwork.example.com/api/1.3/users/"
67+
"bundles": "https://patchwork.example.com/api/1.4/bundles/",
68+
"covers": "https://patchwork.example.com/api/1.4/covers/",
69+
"events": "https://patchwork.example.com/api/1.4/events/",
70+
"patches": "https://patchwork.example.com/api/1.4/patches/",
71+
"people": "https://patchwork.example.com/api/1.4/people/",
72+
"projects": "https://patchwork.example.com/api/1.4/projects/",
73+
"series": "https://patchwork.example.com/api/1.4/series/",
74+
"users": "https://patchwork.example.com/api/1.4/users/"
7075
}
7176
7277
@@ -79,17 +84,17 @@ well-supported. To repeat the above example using `requests`:, run
7984
$ python
8085
>>> import json
8186
>>> import requests
82-
>>> r = requests.get('https://patchwork.example.com/api/1.3/')
87+
>>> r = requests.get('https://patchwork.example.com/api/1.4/')
8388
>>> print(json.dumps(r.json(), indent=2))
8489
{
85-
"bundles": "https://patchwork.example.com/api/1.3/bundles/",
86-
"covers": "https://patchwork.example.com/api/1.3/covers/",
87-
"events": "https://patchwork.example.com/api/1.3/events/",
88-
"patches": "https://patchwork.example.com/api/1.3/patches/",
89-
"people": "https://patchwork.example.com/api/1.3/people/",
90-
"projects": "https://patchwork.example.com/api/1.3/projects/",
91-
"series": "https://patchwork.example.com/api/1.3/series/",
92-
"users": "https://patchwork.example.com/api/1.3/users/"
90+
"bundles": "https://patchwork.example.com/api/1.4/bundles/",
91+
"covers": "https://patchwork.example.com/api/1.4/covers/",
92+
"events": "https://patchwork.example.com/api/1.4/events/",
93+
"patches": "https://patchwork.example.com/api/1.4/patches/",
94+
"people": "https://patchwork.example.com/api/1.4/people/",
95+
"projects": "https://patchwork.example.com/api/1.4/projects/",
96+
"series": "https://patchwork.example.com/api/1.4/series/",
97+
"users": "https://patchwork.example.com/api/1.4/users/"
9398
}
9499
95100
Tools like `curl` and libraries like `requests` can be used to build anything
@@ -108,7 +113,7 @@ Versioning
108113
----------
109114

110115
By default, all requests will receive the latest version of the API: currently
111-
``1.3``:
116+
``1.4``:
112117

113118
.. code-block:: http
114119
@@ -119,7 +124,7 @@ changes breaking your application:
119124

120125
.. code-block:: http
121126
122-
GET /api/1.3 HTTP/1.1
127+
GET /api/1.4 HTTP/1.1
123128
124129
Older API versions will be deprecated and removed over time. For more
125130
information, refer to :ref:`rest-api-versions`.
@@ -275,6 +280,7 @@ Supported Versions
275280
1.1, 2.1, ✓
276281
1.2, 2.2, ✓
277282
1.3, 3.1, ✓
283+
1.4, 3.2, ✓
278284

279285
Further information about this and more can typically be found in
280286
:doc:`the release notes </releases/index>`.
@@ -292,6 +298,7 @@ Auto-generated schema documentation is provided below.
292298
/api/rest/schemas/v1.1
293299
/api/rest/schemas/v1.2
294300
/api/rest/schemas/v1.3
301+
/api/rest/schemas/v1.4
295302

296303
.. Links
297304

docs/api/rest/schemas/v1.3.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
API v1.3 (latest)
2-
=================
1+
API v1.3
2+
========
33

44
.. openapi:: ../../schemas/v1.3/patchwork.yaml
55
:examples:

docs/api/rest/schemas/v1.4.rst

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
API v1.4 (latest)
2+
=================
3+
4+
.. openapi:: ../../schemas/v1.4/patchwork.yaml
5+
:examples:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
features:
3+
- |
4+
Added support for Series to link to another Series, allowing for automation to link an older version of a series to a newer one.
5+
api:
6+
- |
7+
The application version has been updated to v3.2.
8+
- |
9+
The API version has been updated to v1.4.
10+
- |
11+
The REST API endpoint ``/api/series/<series_id>`` now allows PATCH requests.

0 commit comments

Comments
 (0)