-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCHANGES
179 lines (115 loc) · 4.04 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
v0.17
=====
Released 2024-12-13
Bug fixes:
- DocStrings and __signature__ metadata has been reworked. This fixes missing
DocStrings and correctly attempts to tunnel signatures to Python clients.
v0.16
=====
Released 2024-09-13
- Adds "--validate" to tuberd invocation, which checks served data against a
jsonschema. This is intended as a developer aid, NOT as a security feature
(since it's only server-side, and not default!)
- Synchronous (SimpleTuberObject) and asynchronous (TuberObject) APIs are
brought together using requests-futures package, and tested alongside each
other.
- Server hotpath is now partly Python - this has very little performance cost
and is much more maintainable.
- Libfmt dependency removed.
- Server-side container API added (allowing objects to host other objects)
v0.15
=====
Released 2024-08-20
- Fix enum class serialization. The str_enum helper now produces enum.Enum()
classes in Python that are also str() subclasses. For all 3 serializers we
use (json, orjson, cbor2) this is enough to correctly serialize enum classes.
v0.14
=====
Released 2024-08-08
- CI/CD improvements: builds wheels for manylinux and OS X
v0.13
=====
Released 2024-05-29
- A "simple" (non-asyncio) client now lives alongside the asyncio client. The
points of entry for these are "resolve" and "resolve_simple". They are
approximately API-compatible, but the non-asyncio version entirely avoids
async code style (async def / await / ...).
- Multiple calls (using a Context or SimpleContext) can now optionally continue
after errors, using the continue_on_error flag. When this is True, all calls
in a Context/SimpleContext run to completion even if some of them fail.
The default behaviour remains the same - when continue_on_error is False,
server-side execution proceeds in sequence and halts at the first call that
encounters an error.
v0.12
=====
Released 2024-04-22
- Headers are now properly included in binary builds (.whl files)
- Corrected PYTHONPATH for "make test"; broken in 0.11.
v0.11
=====
Released 2024-04-22
- resolve now required (20)
- tuber package rearranged to tuber.server / tuber.client; registry moved to server (#19)
- linter (black) added to CI/CD flow (#17)
- client-side Python packages (aiohttpd) no longer required in server environment (#18)
- setuptools now builds client and server (#14)
v0.10
=====
Released 2024-04-16
- Adds support for CBOR as a transport mechanism.
v0.9
====
Released 2024-02-21
- Removes dependency on boost::program_options in favour of getoptA
- Compatibility fixes for libfmt, libhttpserver, OS X, Clang
v0.8
====
Released 2024-01-29
- Compatibility fix for libfmt
v0.7
====
Released 2023-12-11
* New features:
- Added support for warnings.warn calls in server-side code - these are
propagated through a "warnings" field in the result object and bubbled up
as client-side warnings.
v0.6
====
Released 2023-02-24
* Fixes:
- Acquire GIL earlier in response scope, outside "try" block. Otherwise, the
exception path occurs outside the GIL block, and it's not valid to use
json_dumps to emit error messages. Fixes a segfault when invalid JSON is
supplied.
v0.5
====
Released 2022-05-24
* Fixes:
- Correct preamble install path.
v0.4
====
Released 2022-04-14
* Features:
- Adds --orjson-with-numpy extension to enable orjson fast-path. This
serializer offers significant performance gains, especially when using
numpy objects.
v0.3
====
Released 2022-04-07
* Features:
- Adds option for use of user-specified JSON module.
v0.2
====
Released 2022-04-06
* Features:
- Removes dependency on nlohmann::json. The JSON dependency is intended to
speed up serialization. The Python-native JSON serializer is implemented in
C under the hood, and should be better able to avoid casual
copy-conversions of arguments and results.
- Adds Python test framework. The test framework is a starting point (it does not exercise unhappy
paths or argument variations right now.)
v0.1
====
Released 2022-04-03
* Features:
- Initial release.