You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/release-notes.md
+59Lines changed: 59 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,65 @@ title: Release Notes
6
6
7
7
Airframe uses YY.MM.patch versioning scheme, so the version numbers match with the release year and month.
8
8
9
+
## 22.5.0
10
+
11
+
This version changes the behavior of AirSpec in order to support [async testing](https://wvlet.org/airframe/docs/airspec#async-testing) for tests that return `Future[_]` values. With async testing, you don't need to wait the completion of `Future[_]` objects in your test cases. This is especially useful when you need to await network responses in your Scala and Scala.js test code.
12
+
13
+
If you have tests that acquire resources around Future, you may see unexpected execution test orderi due to this change. To properly acquire and release resources for async testing, consider using newly added methods `Control.withResourceAsync(resource)` and `wvlet.airframe.control.Resource[A].wrapFuture`.
14
+
15
+
This version also adds `wvlet.airframe.http.RPCStatus` error code, which will be the standard error reporting method in Airframe RPC. In the upcoming Airframe versions, you can use `RPCStatus.newException(...)` to propagate RPC server-side errors into clients in the form of `wvlet.airframe.http.RPCException`.
16
+
17
+
### Major updates
18
+
19
+
- AirSpec: Add async test support ([#2159](https://github.com/wvlet/airframe/issues/2159)) [[8046872d9](https://github.com/wvlet/airframe/commit/8046872d9)]
20
+
- airframe-http: [#1559](https://github.com/wvlet/airframe/issues/1559) Use Jitter by default with max retry = 15 in http clients ([#2180](https://github.com/wvlet/airframe/issues/2180)) [[f72605a42](https://github.com/wvlet/airframe/commit/f72605a42)]
21
+
- airframe-rx: Add RxVar.stop to send OnCompletion event
22
+
- airframe-ulid: Make ULID a regular class and map to string in OpenAPI ([#2155](https://github.com/wvlet/airframe/issues/2155)) [[ea7de71e3](https://github.com/wvlet/airframe/commit/ea7de71e3)]
23
+
- Upgrade to Scala 3.1.2 ([#2161](https://github.com/wvlet/airframe/issues/2161)) [[4ba827f86](https://github.com/wvlet/airframe/commit/4ba827f86)]
24
+
- Update scalajs-dom to 2.2.0 ([#2173](https://github.com/wvlet/airframe/issues/2173)) [[17fbf20fc](https://github.com/wvlet/airframe/commit/17fbf20fc)]
25
+
- Update grpc-netty-shaded, grpc-protobuf, ... to 1.46.0 ([#2138](https://github.com/wvlet/airframe/issues/2138)) [[0c6d81e87](https://github.com/wvlet/airframe/commit/0c6d81e87)]
26
+
- Update finagle-core, finagle-http, ... to 22.4.0 ([#2133](https://github.com/wvlet/airframe/issues/2133)) [[852f5cf5c](https://github.com/wvlet/airframe/commit/852f5cf5c)]
- airframe-sql: Mark CTAS as Update type ([#2181](https://github.com/wvlet/airframe/issues/2181)) [[c12a7760e](https://github.com/wvlet/airframe/commit/c12a7760e)]
36
+
- airframe-grpc: Add GrpcClient for consolidating a logic for handling RPCException ([#2172](https://github.com/wvlet/airframe/issues/2172)) [[4c8f1c24b](https://github.com/wvlet/airframe/commit/4c8f1c24b)]
37
+
- airframe-grpc: Add GrpcClient to handle RPCException properly
38
+
- Add RPCHttpClient to handle RPCException at client side ([#2165](https://github.com/wvlet/airframe/issues/2165)) [[782b3434f](https://github.com/wvlet/airframe/commit/782b3434f)]
- openapi: Suppress package prefix from tags ([#2158](https://github.com/wvlet/airframe/issues/2158)) [[cc284547f](https://github.com/wvlet/airframe/commit/cc284547f)]
41
+
- openapi: Support removing package prefixes from object names ([#2154](https://github.com/wvlet/airframe/issues/2154)) [[6ffe483ab](https://github.com/wvlet/airframe/commit/6ffe483ab)]
42
+
-[#2419](https://github.com/wvlet/airframe/issues/2419): Use optional OpenAPI parameter if a default value is defined ([#2153](https://github.com/wvlet/airframe/issues/2153)) [[ebc7b86f1](https://github.com/wvlet/airframe/commit/ebc7b86f1)]
43
+
- airframe-http-finagle: Propagate RPCException to clients ([#2141](https://github.com/wvlet/airframe/issues/2141)) [[e43122068](https://github.com/wvlet/airframe/commit/e43122068)]
44
+
- airframe-grpc: Propagate RPCException to clients ([#2139](https://github.com/wvlet/airframe/issues/2139)) [[7f211936b](https://github.com/wvlet/airframe/commit/7f211936b)]
45
+
- airframe-rpc: Add RPC status code ([#1973](https://github.com/wvlet/airframe/issues/1973)) [[dccb460de](https://github.com/wvlet/airframe/commit/dccb460de)]
46
+
- airframe-control: Add Resource[R] for releasing resources at ease in AirSpec ([#2162](https://github.com/wvlet/airframe/issues/2162)) [[c7fcfe7d4](https://github.com/wvlet/airframe/commit/c7fcfe7d4)]
47
+
- Update fluency-core, fluency-fluentd, ... to 2.6.4 ([#2137](https://github.com/wvlet/airframe/issues/2137)) [[a4b463e22](https://github.com/wvlet/airframe/commit/a4b463e22)]
48
+
- Update postgresql to 42.3.5 ([#2152](https://github.com/wvlet/airframe/issues/2152)) [[7b522f269](https://github.com/wvlet/airframe/commit/7b522f269)]
49
+
- Update portable-scala-reflect to 1.1.2 ([#2134](https://github.com/wvlet/airframe/issues/2134)) [[ba4f4efa7](https://github.com/wvlet/airframe/commit/ba4f4efa7)]
50
+
51
+
52
+
## Internal dependency updates
53
+
54
+
- Update circe-parser to 0.14.2 ([#2177](https://github.com/wvlet/airframe/issues/2177)) [[fc713794b](https://github.com/wvlet/airframe/commit/fc713794b)]
55
+
- Update swagger-parser to 2.0.33 ([#2178](https://github.com/wvlet/airframe/issues/2178)) [[e64c35197](https://github.com/wvlet/airframe/commit/e64c35197)]
56
+
- Update hadoop-aws, hadoop-client to 3.3.3 ([#2176](https://github.com/wvlet/airframe/issues/2176)) [[954c549f7](https://github.com/wvlet/airframe/commit/954c549f7)]
57
+
- Update trino-main to 381 ([#2175](https://github.com/wvlet/airframe/issues/2175)) [[3c4c34757](https://github.com/wvlet/airframe/commit/3c4c34757)]
58
+
- Update trino-main to 380 ([#2160](https://github.com/wvlet/airframe/issues/2160)) [[f99e08e49](https://github.com/wvlet/airframe/commit/f99e08e49)]
0 commit comments