forked from fern-api/fern
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathversions.yml
More file actions
267 lines (252 loc) · 7.04 KB
/
versions.yml
File metadata and controls
267 lines (252 loc) · 7.04 KB
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# yaml-language-server: $schema=../../../fern-versions-yml.schema.json
- changelogEntry:
- summary: |
Upgrade IR version to 63.
type: chore
createdAt: "2026-01-12"
irVersion: 63
version: 1.8.5
- changelogEntry:
- summary: |
Bump generator CLI version to publish new Docker image.
type: chore
createdAt: "2025-11-19"
irVersion: 61
version: 1.8.4
- changelogEntry:
- summary: |
Fixed nullable annotation generation in builder setters when `use-nullable-annotation` is enabled.
Builder setter parameters for nullable fields now correctly use `@org.jetbrains.annotations.Nullable`
instead of incorrectly attempting to use the `Nullable<T>` container class as an annotation.
type: fix
createdAt: "2025-10-28"
irVersion: 61
version: 1.8.3
- changelogEntry:
- summary: |
Upgrade to irV60
type: internal
createdAt: "2025-09-25"
irVersion: 60
version: 1.8.2
- changelogEntry:
- summary: |
Upgrade to irV59
type: internal
createdAt: "2025-08-31"
irVersion: 59
version: 1.8.1
- changelogEntry:
- summary: |
Upgrade to irV57
type: fix
createdAt: "2025-05-01"
irVersion: 57
version: 1.8.0
- changelogEntry:
- summary: |
Upgrade IR version dependency to v55
type: chore
createdAt: "2025-02-20"
irVersion: 55
version: 1.7.0
- changelogEntry:
- summary: |
Flat package layout by setting `page-layout: flat`
type: feat
createdAt: "2025-02-18"
irVersion: 53
version: 1.6.0
- changelogEntry:
- summary: |
Send only request body reference for body-only wrapped request
type: fix
createdAt: "2025-02-03"
irVersion: 53
version: 1.5.1
- changelogEntry:
- summary: |
Add deep cursor path pagination support.
type: feat
createdAt: "2025-01-29"
irVersion: 53
version: 1.5.0
- changelogEntry:
- summary: |
Prevent accept header from being removed in wrapped requests
type: fix
createdAt: "2025-01-21"
irVersion: 53
version: 1.4.5
- changelogEntry:
- summary: |
Add Accept header for json responses
type: fix
createdAt: "2025-01-21"
irVersion: 53
version: 1.4.4
- changelogEntry:
- summary: |
Fix inlining unwrapped alias types.
type: fix
createdAt: "2025-01-17"
irVersion: 53
version: 1.4.3
- changelogEntry:
- summary: |
Omit methods with inlined types from interface definitions.
type: fix
createdAt: "2025-01-16"
irVersion: 53
version: 1.4.2
- changelogEntry:
- summary: |
Fix union inline type name conflict resolution.
type: fix
createdAt: "2025-01-16"
irVersion: 53
version: 1.4.1
- changelogEntry:
- summary: |
Support inline types in the Java generator.
type: feat
createdAt: "2025-01-16"
irVersion: 53
version: 1.4.0
- changelogEntry:
- summary: |
Bump IR version to latest (v53)
type: chore
createdAt: "2024-12-10"
irVersion: 53
version: 1.3.0
- changelogEntry:
- summary: |
Bump Jackson version to latest (2.17.2)
type: chore
createdAt: "2024-09-26"
irVersion: 46
version: 1.2.0
- changelogEntry:
- summary: |
We no longer enforce non-null constraints for Object type properties in builders.
type: feat
createdAt: "2024-09-11"
irVersion: 46
version: 1.1.0
- changelogEntry:
- summary: |
The Java Model generator is now on major version 1. To take this upgrade without any breaks, please add the below
configuration to your `generators.yml` file:
```yaml
generators:
- name: fernapi/fern-java-spring
config:
disable-required-property-builder-checks: true
```
type: break
- summary: |
Generated builder methods now enforce non-null checks for required fields, ensuring that all required
fields are properly validated during object construction:
```java
@java.lang.Override
@JsonSetter("name")
public NameStage name(@NotNull String name) {
this.name = Objects.requireNonNull(name, "name must not be null");
return this;
}
```
type: feat
createdAt: "2024-09-05"
irVersion: 46
version: 1.0.0
- changelogEntry:
- summary: |
Public constructors can now be generated for all model types:
```yaml
generators:
- name: fernapi/fern-java-model
config:
enable-public-constructors: true # default false
```
type: feat
irVersion: 46
createdAt: "2024-09-04"
version: 0.9.3
- changelogEntry:
- summary: Generated builder methods for optional fields can now accept null directly.
type: feat
irVersion: 46
createdAt: "2024-07-23"
version: 0.9.2
- changelogEntry:
- summary: |
The generator now adds a class-level `@JsonInclude(JsonInclude.Include.NON_ABSENT)` annotation to
each generated type in place of the previous `@JsonInclude(JsonInclude.Include.NON_EMPTY)` by default. This is
configurable in the `generators.yml` file:
```yaml
generators:
- name: fernapi/fern-java-model
config:
json-include: non-empty # default non-absent
```
type: feat
irVersion: 46
createdAt: "2024-07-02"
version: 0.9.1-rc0
- changelogEntry:
- summary: The generator now supports BigInteger types.
type: feat
- summary: Bump intermediate representation to v46
type: internal
createdAt: "2024-06-07"
irVersion: 46
version: 0.9.0
- changelogEntry:
- summary: Types without fields are now generated with builders. Previously, they were not, which made them impossible to initialize.
type: fix
createdAt: "2024-05-30"
irVersion: 42
version: 0.8.1
- changelogEntry:
- summary: Undiscriminated unions are now generated with de-conflicted method signatures. Previously, certain undiscriminated unions would have failed to compile due to Java's type erasure causing conflicts.
type: fix
createdAt: "2024-05-28"
irVersion: 42
version: 0.8.9
- changelogEntry:
- summary: Bump intermediate representation to v42
type: fix
createdAt: "2024-05-13"
irVersion: 42
version: 0.8.0-rc0
- changelogEntry:
- summary: Bump intermediate representation to v31
type: internal
- summary: |
The generated models now support boolean literals and users
do not have to specify them in the builder.
For example, for the following object
```yaml
Actor:
properties:
name: string
isMale: literal<true>
```
the user will not need to specify the literal properties when building
the object.
```java
var actor = Actor.builder()
.name("Brad Pitt")
.build();
```
type: fix
createdAt: "2024-02-04"
irVersion: 31
version: 0.7.1
- changelogEntry:
- summary: Release version 0.6.1.
type: internal
irVersion: 29
createdAt: "2024-02-02"
version: 0.6.1