Skip to content

Commit 070f5ad

Browse files
committed
Update CHANGELOG
1 parent 2400498 commit 070f5ad

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ full change log see the commit log.
1010
- :boom: Publishing bugfix - the published pom.xml for v2.0 did not have any
1111
dependencies listed. This patch-release fixes the published pom.
1212
- `${jervis_toolchain_ivalue}` is now always interpolated in toolchains.
13+
- Fix `SimpleRestService` mishandling PUT requests copied from jervis-2.0.1
14+
release.
15+
- Fix `SimpleRestService` header duplication. HTTP headers are now case
16+
insensitive.
17+
- Fix `SimpleRestService` indefinitely hanging if server drops connection
18+
without closing the connection. There's now a configurable 30 second timeout.
19+
If using the Java API, timeout can be customized via HTTP header
20+
`x-http-timeout-millis`. If using a service the timeout can be customized via
21+
Java property `net.gleske.jervis.remotes.SimpleRestService.timeoutMillis`.
1322

1423
See Jervis 2.0 release notes for breaking changes if migrating from Jervis 1.x.
1524

@@ -27,19 +36,53 @@ In `src/` folder:
2736
`PipelineGenerator.getGenerator()` is updated. They're separate objects.
2837
- `PipelineGenerator.getDefaultToolchainsEnvironment()` will now always include
2938
the platform and OS even if they're not used in matrix building.
39+
- `StaticMocking` hashing for mocks has changed. So mocking paths may be
40+
different depending on mock configuration.
3041

3142
In `vars/` folder:
3243

3344
- `loadCustomResource` var no longer throws an exception. If a file does not
3445
exist it will return `null` instead of String contents.
3546

47+
Building:
48+
49+
- Java 17 or Java 21 is recommended but still generates Java 8 bytecode.
50+
- Support for Groovy 5 added.
51+
3652
## Changes by DSL area
3753

3854
#### Jervis API changes in `src/` folder
3955

4056
- `JervisException` now supports throwing with a supplemental message.
4157
- `SecurityIO.isBase64` method available. It returns a boolean if the String
4258
has valid base64 characters.
59+
- `YamlOperator.deepCopy` API provides a full map copy via serialization.
60+
- `SimpleRestService` supports a response Map so that response code, headers,
61+
and content, can all be returned from the same call.
62+
- AutoRelease.isMatched has better documentation.
63+
- `StaticMocking` can load mocks from a non-hardcoded path. Customized via
64+
environment variable `JERVIS_MOCKS_PATH` or system property
65+
`StaticMocking.mocksPath`.
66+
67+
New unused APIs available:
68+
69+
- New classes for supporting multi-platform and multi-os matrix building.
70+
`MultiPlatformGenerator` and `MultiPlatformValidator`. This will enable
71+
more matrix building in the next release. See [#140] for this unfinished
72+
feature. PipelineGenerator uses `MultiPlatformGenerator`.
73+
- Support for partial unstable lifecycles and toolchains. See [#150].
74+
- Support for unstable platforms file. See [#163].
75+
- Support for GZip compression.
76+
- `SimpleRestService` has binary data support. StaticMocking also supports
77+
binary data.
78+
79+
Deprecated APIs
80+
81+
- `PipelineGenerator(LifecycleGenerator generator)` now deprecated for removal.
82+
83+
[#150]: https://github.com/samrocketman/jervis/issues/150
84+
[#163]: https://github.com/samrocketman/jervis/issues/163
85+
[#140]: https://github.com/samrocketman/jervis/issues/140
4386

4487
#### Pipeline DSL scripts changes in the `vars/` folder
4588

@@ -52,6 +95,7 @@ In `vars/` folder:
5295
#### Job DSL changes in the `jobs/` folder
5396

5497
- Slack notifications via `notify_slack()` available for Job DSL scripts.
98+
- alpine3 and ubuntu22 operating systems added in resources folder.
5599

56100
# jervis 2.0.1 - Oct 19th, 2023
57101

0 commit comments

Comments
 (0)