-
Notifications
You must be signed in to change notification settings - Fork 309
Expand file tree
/
Copy pathversions.yml
More file actions
2707 lines (2393 loc) · 83.5 KB
/
versions.yml
File metadata and controls
2707 lines (2393 loc) · 83.5 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
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# yaml-language-server: $schema=../../../fern-versions-yml.schema.json
# For unreleased changes, use unreleased.yml
- version: 4.31.0
changelogEntry:
- summary: |
Eliminated SSE dependency "httpx-sse" by hard-forking the code into the generator
type: feat
createdAt: "2025-10-06"
irVersion: 60
- version: 4.30.4-rc1
changelogEntry:
- summary: |
Cleared CVE-2025-27210
type: fix
createdAt: "2025-10-02"
irVersion: 60
- version: 4.30.4-rc0
changelogEntry:
- summary: |
Cleared CVEs in generator image
type: fix
createdAt: "2025-10-02"
irVersion: 60
- version: 4.30.3
changelogEntry:
- summary: |
Upgrade generator-cli dependency to fix local generation handling of .fernignore files.
type: fix
createdAt: "2025-09-29"
irVersion: 60
- version: 4.30.2
changelogEntry:
- summary: Fix enum generation to properly escape quotes and backslashes in enum values.
type: fix
createdAt: "2025-09-27"
irVersion: 60
- version: 4.30.1
changelogEntry:
- summary: Fix sdk `v1_on_v2` export of non-existent `IS_PYDANTIC_V2` variable.
type: fix
createdAt: "2025-09-25"
irVersion: 60
- version: 4.30.0
changelogEntry:
- summary: |
Add support for PR mode for self-hosted/local sdk generation
type: feat
createdAt: "2025-09-25"
irVersion: 60
- version: 4.29.2
changelogEntry:
- summary: Added a note to the README on constructing Async httpx objects to pass into main Async clients.
type: chore
createdAt: "2025-09-23"
irVersion: 59
- version: 4.29.2-rc0
changelogEntry:
- summary: |
Exports in init files always reference the submodule instead of the current module.
This should fix infinite recursion in libraries that inspect getattr, like freezegun.
type: fix
createdAt: "2025-09-22"
irVersion: 59
- version: 4.29.1
changelogEntry:
- summary: Fixes issue where colliding classes were not lazily imported correctly.
type: fix
createdAt: "2025-09-18"
irVersion: 59
- version: 4.29.0
changelogEntry:
- summary: |
Add support for custom sections in the README.md via customSections config option
type: feat
createdAt: "2025-09-18"
irVersion: 59
- version: 4.28.5
changelogEntry:
- summary: |
Generator no longer fails on failed generator-cli installation
type: fix
createdAt: "2025-09-16"
irVersion: 59
- version: 4.28.4
changelogEntry:
- summary: |
Fix python sdk serialization to use dict instead of model_dump.
type: fix
createdAt: "2025-09-12"
irVersion: 59
- version: 4.28.3
changelogEntry:
- summary: |
Never duplicate parameters in client constructors
type: fix
createdAt: "2025-09-10"
irVersion: 59
- version: 4.28.2
changelogEntry:
- summary: |
Nit in custom client snippet generation.
type: fix
createdAt: "2025-09-09"
irVersion: 59
- version: 4.28.1
changelogEntry:
- summary: |
Union member self-referencing dependencies are now correctly imported and forward referenced.
This fixes compatibility with Pydantic >=2.11.0.
type: fix
createdAt: "2025-09-05"
irVersion: 59
- version: 4.28.0
changelogEntry:
- summary: Generator passes readme configs apiName, disabledSections, and whiteLabel.
type: feat
createdAt: "2025-08-29"
irVersion: 59
- version: 4.27.0-rc0
changelogEntry:
- summary: |
Client imports are now lazy loaded by default. This will greatly reduce memory footprint when using a small portion of a large API.
The tradeoff is a latency penalty when first accessing a client.
Users can opt in to eager loading (the old behavior) by setting the `lazy_imports` flag to `false` in their configuration.
type: feat
createdAt: "2025-08-27"
irVersion: 59
- version: 4.26.2
changelogEntry:
- summary: |
Upgrade docker image to use python 3.11.13 so that users can depend on packages that require python 3.11.
type: fix
createdAt: "2025-08-26"
irVersion: 59
- version: 4.26.1
changelogEntry:
- summary: Additional handling of inferred auth
type: chore
createdAt: "2025-08-20"
irVersion: 59
- version: 4.26.0
changelogEntry:
- summary: Bumped IR version to 59.
type: chore
createdAt: "2025-08-20"
irVersion: 59
- version: 4.25.9
changelogEntry:
- summary: |
Fix: allow setting of package name and version in local docker generation
type: feat
createdAt: "2025-08-05"
irVersion: 58
- version: 4.25.7-rc2
changelogEntry:
- summary: |
Minor bug fix: accessing version from publish config
type: feat
createdAt: "2025-08-05"
irVersion: 58
- version: 4.25.7-rc1
changelogEntry:
- summary: |
Attempt to plumb version in Abstract Generator
type: feat
createdAt: "2025-08-05"
irVersion: 58
- version: 4.25.8
changelogEntry:
- summary: |
Websocket patch: json load messages on dunder iter method
type: feat
createdAt: "2025-08-05"
irVersion: 58
- version: 4.25.7-rc0
changelogEntry:
- summary: |
Enforce nested folders for package names with a "." in them.
type: feat
createdAt: "2025-08-04"
irVersion: 58
- version: 4.25.6
changelogEntry:
- summary: |
Removed snippet generation
type: feat
createdAt: "2025-07-22"
irVersion: 58
- version: 4.25.5
changelogEntry:
- summary: |
Enabled "ignore" as an option for extra fields
type: feat
createdAt: "2025-07-17"
irVersion: 58
- version: 4.25.4
changelogEntry:
- summary: |
Updated construct_type function to handles undiscriminated unions with lists, sets, and dictionaries of objects.
type: fix
createdAt: "2025-07-15"
irVersion: 58
- version: 4.25.3
changelogEntry:
- summary: |
Fix websocket connect method generation for single base URL environments.
type: fix
createdAt: "2025-07-14"
irVersion: 58
- version: 4.25.2
changelogEntry:
- summary: |
Generator fix: automatically switch tabs to spaces, following PEP8 standards.
type: fix
createdAt: "2025-07-11"
irVersion: 58
- version: 4.25.1
changelogEntry:
- summary: |
Correctly import websockets exceptions.
type: fix
createdAt: "2025-07-10"
irVersion: 58
- version: 4.25.0
changelogEntry:
- summary: |
Support async functions as websocket callback handlers.
type: feat
createdAt: "2025-07-09"
irVersion: 58
- version: 4.24.3
changelogEntry:
- summary: |
Support websockets>=14 by using legacy client.
type: fix
createdAt: "2025-07-09"
irVersion: 58
- version: 4.24.2
changelogEntry:
- summary: |
Emit ERROR events for JSON parsing errors in websocket connections.
type: fix
createdAt: "2025-07-09"
irVersion: 58
- version: 4.24.1
changelogEntry:
- summary: |
Parse websocket messages as JSON before Pydantic parsing.
type: fix
createdAt: "2025-07-07"
irVersion: 58
- version: 4.24.0
changelogEntry:
- summary: |
Add support for path parameters backed by variables supplied to the client constructor.
type: feat
createdAt: "2025-07-03"
irVersion: 58
- version: 4.23.2
changelogEntry:
- summary: |
Bump websockets dependency to >=12.0.0 to ensure compatibility with newer websocket implementations and improve stability.
type: chore
createdAt: "2025-06-25"
irVersion: 58
- version: 4.23.1
changelogEntry:
- summary: |
Bump pydantic-core dependency to >=2.18.2 to ensure compatibility with newer pydantic versions and improve performance.
type: chore
createdAt: "2025-06-24"
irVersion: 58
- version: 4.23.0
changelogEntry:
- summary: |
Add support for custom headers parameter at the top level of the client constructor.
```python
client = Client(
headers={"X-Custom-Header": "custom-value"}
)
```
type: feat
createdAt: "2025-06-24"
irVersion: 58
- version: 4.22.1-rc0
changelogEntry:
- summary: |
Lazily validate model serialization to reduce memory consumption. Pydantic 2.11.0 introduced an issue where the model_serializer
decorator set to wrap mode forced it to eagerly do schema validation at import time. Because we had this decorator on the UniversalBaseModel,
it would try to validate the schemas of all the Model types at import time. This caused massive memory spikes for more complex SDKs, up to 2.6GB
in some cases. This change essentially accomplishes the same logic of wrapping the serialization process and modifying the serialization
structure of datetime fields. The difference is that we manually wrap, so we're able to defer model validation until runtime, drastically
reducing our memory consumption.
type: feat
createdAt: "2025-06-20"
irVersion: 58
- version: 4.22.0
changelogEntry:
- summary: |
Support wrapped aliases in python for pydantic v2.
type: feat
createdAt: "2025-06-11"
irVersion: 58
- version: 4.21.5
changelogEntry:
- summary: |
Generate README for github output mode.
type: fix
createdAt: "2025-06-11"
irVersion: 58
- version: 4.21.4
changelogEntry:
- summary: |
Add support for HEAD HTTP method in the generated client.
type: feat
createdAt: "2025-06-05"
irVersion: 58
- version: 4.21.3
changelogEntry:
- summary: |
Fix an issue where the websocket connect method did not correctly yield the websocket client.
type: fix
createdAt: "2025-06-04"
irVersion: 58
- version: 4.21.2
changelogEntry:
- summary: |
Handle HEAD HTTP method gracefully by treating it as a POST method when constructing the snippet registry, rather than failing.
type: chore
createdAt: "2025-05-27"
irVersion: 58
- version: 4.21.1
changelogEntry:
- summary: |
Make sure to generate README and Reference even when generating in local mode (if self hosting is enabled).
type: chore
createdAt: "2025-05-27"
irVersion: 58
- version: 4.21.0
changelogEntry:
- summary: |
Bump to v58 of IR.
type: chore
createdAt: "2025-05-27"
irVersion: 58
- version: 4.20.3
changelogEntry:
- summary: |
Fix handling of optional and unknown response types by not throwing errors when the response is empty.
type: fix
createdAt: "2025-05-20"
irVersion: 57
- version: 4.20.2
changelogEntry:
- summary: |
Support formatting the generated README.md and python code snippets.
type: fix
createdAt: "2025-05-13"
irVersion: 57
- version: 4.20.1
changelogEntry:
- summary: |
Add support for the custom introduction setting in the generated README.md.
type: fix
createdAt: "2025-05-13"
irVersion: 57
- version: 4.20.0
changelogEntry:
- summary: |
Generate standalone Pydantic models for each class definition for models that utilize the Fern `extends` keyword,
as opposed to generating Pydantic models that implement inheritance.
type: feat
createdAt: "2025-05-13"
irVersion: 57
- version: 4.19.7
changelogEntry:
- summary: |
Fix mypy errors related to type-shadowing `data` variables in generated streaming endpoints.
type: fix
createdAt: "2025-05-13"
irVersion: 57
- version: 4.19.6
changelogEntry:
- summary: |
Fix mypy errors related to automatic pagination in the python client.
type: fix
createdAt: "2025-05-11"
irVersion: 57
- version: 4.19.5
changelogEntry:
- summary: |
Fix naming conflicts in streaming endpoints by renaming the stream method to _stream in raw clients,
preventing collisions with endpoint parameters that might also be named "stream",
while maintaining proper functionality for streaming responses.
type: fix
createdAt: "2025-05-11"
irVersion: 57
- version: 4.19.4
changelogEntry:
- summary: |
Fix handling of optional file parameters in multipart form data requests with httpx by properly checking
for None values before attempting to include them in the request, preventing errors when optional file parameters are not provided.
type: feat
createdAt: "2025-05-11"
irVersion: 57
- version: 4.19.3
changelogEntry:
- summary: |
Fix pagination support in raw clients by properly indexing into response data, ensuring that raw client endpoints with pagination correctly iterate through paginated results.
type: fix
createdAt: "2025-05-09"
irVersion: 57
- version: 4.19.2
changelogEntry:
- summary: |
Fix SSE streaming response handling by adding proper type casting to sse.data, ensuring correct data type conversion during stream processing.
type: fix
createdAt: "2025-05-09"
irVersion: 57
- version: 4.19.1
changelogEntry:
- summary: |
Fix a mypy error in pydantic_utilities.py by properly handling type annotations for Pydantic v1 and v2 compatibility, ensuring type checking passes correctly across different Pydantic versions.
type: fix
createdAt: "2025-05-09"
irVersion: 57
- version: 4.19.0
changelogEntry:
- summary: |
Add support for generating proper Pydantic models that contain forward references wrapped in containers (e.g. list, optional, etc.)
type: feat
createdAt: "2025-05-09"
irVersion: 57
- version: 4.18.6
changelogEntry:
- summary: |
Fix string enum generation to properly handle enum values containing quotes by automatically escaping them,
ensuring valid Python syntax for both single and double quoted string literals.
type: fix
createdAt: "2025-05-08"
irVersion: 57
- version: 4.18.5
changelogEntry:
- summary: |
Support application/x-www-form-urlencoded content type for requests, allowing proper encoding of form data in API calls.
type: fix
createdAt: "2025-05-08"
irVersion: 57
- version: 4.18.4
changelogEntry:
- summary: |
Fix requirements.txt generation to properly handle dependency version constraints, ensuring compatibility markers are correctly formatted.
type: fix
createdAt: "2025-05-08"
irVersion: 57
- version: 4.18.3
changelogEntry:
- summary: |
Install the generator-cli at build time as a fallback if runtime installation fails.
type: fix
createdAt: "2025-05-01"
irVersion: 57
- version: 4.18.2
irVersion: 57
changelogEntry:
- type: fix
summary: |
Fix README g
- version: 4.18.1
irVersion: 57
changelogEntry:
- type: fix
summary: |
Update python-v2 generator invocation so that all relevant files like pyproject.toml and poetry.lock are pushed
to the GitHub repository.
- version: 4.18.0
irVersion: 57
changelogEntry:
- type: fix
summary: |
Update python-v2 generator invocation so that all relevant files like pyproject.toml and poetry.lock are pushed
to the GitHub repository.
- version: 4.18.0
irVersion: 57
changelogEntry:
- type: fix
summary: |
Add support for self-hosted mode, allowing users to push generated SDKs to their own GitHub repositories.
This feature enables organizations to maintain private SDK repositories with custom configurations.
- version: 4.17.1
irVersion: 57
changelogEntry:
- type: fix
summary: |
Fix an issue where response `headers` were not available in the strongly typed error classes.
- version: 4.17.0
irVersion: 57
changelogEntry:
- type: feat
summary: |
Add support for retrieving response headers for each page of paginated responses, instead of just the first page.
- version: 4.16.2
irVersion: 57
changelogEntry:
- type: fix
summary: |
Fixed an issue introduced in 4.14.0, where `bytes` and `text` responses were not handled correctly.
- version: 4.16.1
irVersion: 57
changelogEntry:
- type: internal
summary: |
Fixes an internal release issue in `4.16.0`.
- version: 4.16.0
irVersion: 57
changelogEntry:
- type: feat
summary: |
Add support for retrieving response headers from the generated `ApiError` class.
- version: 4.15.0
irVersion: 57
changelogEntry:
- type: feat
summary: |
Add support for offset step pagination, where the offset position represents the element's index rather
than the page number.
- type: fix
summary: |
Fixed an issue introduced in 4.14.0, where paginated endpoints were not returning the underlying data.
- version: 4.14.6
irVersion: 57
changelogEntry:
- type: fix
summary: |
Fixed an issue where multipart/form-data content types are now explicitly sent when configured in the API definition.
- version: 4.14.5
irVersion: 57
changelogEntry:
- type: fix
summary: |
Fixed an issue introduced in 4.14.0, where SSE streaming responses were not yielded correctly.
- version: 4.14.4
irVersion: 57
changelogEntry:
- type: fix
summary: |
Fixed an issue where filename and plain text content-type parameters were being incorrectly serialized.
- version: 4.14.3
irVersion: 57
changelogEntry:
- type: fix
summary: |
Add support for receiving raw responses from pagination endpoints.
- version: 4.14.2
irVersion: 57
changelogEntry:
- type: fix
summary: |
Fix an issue where TypedDicts with circular references were not correctly serialized.
This issue only affected users that enabled `use_typeddict_requests`.
- version: 4.14.1
irVersion: 57
changelogEntry:
- type: fix
summary: |
The generated GitHub workflow now uses `ubuntu-latest` instead of `ubuntu-20.04`
- version: 4.14.0
irVersion: 57
changelogEntry:
- type: feat
summary: |
Add support for receiving raw responses from streaming endpoints.
- type: feat
summary: |
Add support for excluding types from the generated `__init__.py` files.
```yaml
config:
exclude_types_from_init_exports: true
```
- version: 4.13.0
irVersion: 57
changelogEntry:
- type: feat
summary: |
Adds support for overriding literal global headers in the client constructor (e.g. `version`).
```python
client = Acme(
...
version="1.0.0",
)
```
- version: 4.12.1
irVersion: 57
changelogEntry:
- type: fix
summary: |
Fixes an issue where dictionary types defined within TypedDicts incorrectly used the
`typing_extensions.NotRequired` type.
- type: fix
summary: |
Fixes an issue where optional `core.File` parameters would cause `mypy` failures.
- type: fix
summary: |
Fixes a regression introduced in 4.12.0, where the non raw response client endpoints
did not respect the allowed method keywords (e.g. `list` was generated as `list_`).
- version: 4.12.0
irVersion: 57
changelogEntry:
- type: fix
summary: |
Resolve issues with paginated endpoints generating incorrect endpoint return types.
- version: 4.11.0
irVersion: 57
changelogEntry:
- type: fix
summary: |
Always represent nullable as Optional rather than NotRequired, only use
NotRequired for optional in typeddicts.
- version: 4.10.0
irVersion: 57
changelogEntry:
- type: feat
summary: |
Add support for using TypedDicts for file upload request parameters. This flag should
be used in conjunction with the `use_typeddict_requests` flag like so:
```yaml
config:
use_typeddict_requests: true
use_typeddict_requests_for_file_upload: true
```
- version: 4.9.0
irVersion: 57
changelogEntry:
- type: feat
summary: |
Implement raw client support for accessing response headers and data in unary endpoints.
- version: 4.8.0
irVersion: 57
changelogEntry:
- type: feat
summary: |
Add support for inlining path parameters
- version: 4.7.0
irVersion: 57
changelogEntry:
- type: feat
summary: |
Add support for user-agent header
- version: 4.6.0
irVersion: 57
changelogEntry:
- type: feat
summary: |
Add support for generating legacy wire tests, and disable them by default. These tests will be restored and improved in the future.
Users can opt-in to generating legacy wire tests by setting the `include_legacy_wire_tests` flag to `true` in their configuration.
```yaml
config:
include_legacy_wire_tests: true
```
- version: 4.5.0
irVersion: 57
changelogEntry:
- type: feat
summary: |
Add support for websocket code generation.
- version: 4.4.0
irVersion: 57
changelogEntry:
- type: feat
summary: |
Add support for raw bytes responses.
- version: 4.3.21
irVersion: 57
changelogEntry:
- type: fix
summary: |
Fix an issue where the default `timeout` was not being respected when a custom `httpx_client` was provided.
- version: 4.3.20
irVersion: 57
changelogEntry:
- type: fix
summary: |
Update formatting across all generated files. There are no behavioral changes, but large diffs are expected.
- version: 4.3.19
irVersion: 57
changelogEntry:
- type: internal
summary: |
Update the IR to v57.
- version: 4.3.18
irVersion: 53
changelogEntry:
- type: fix
summary: |
Fix an issue where the `request_options` parameter name is now properly respected when it's
renamed due to conflicts with other parameter names. Previously, the code would still reference the
original parameter name internally, causing errors.
- version: 4.3.17
irVersion: 53
changelogEntry:
- type: fix
summary: |
Fix an issue where parameter names that conflict with the `request_options` parameter are now properly deconflicted by
prepending an underscore to the `request_options` parameter name.
- version: 4.3.16
irVersion: 53
changelogEntry:
- type: fix
summary: |
Fix an issue where GeneratorExit was unintentionally being swallowed by code blocks within the HttpClient.stream() contextmanager.
- version: 4.3.15
irVersion: 53
changelogEntry:
- type: fix
summary: |
Fix an issue where extraneous NameError-causing update_forward_refs invocations were being emitted.
- version: 4.3.14
irVersion: 53
changelogEntry:
- type: feat
summary: |
Set the default number of retries to 2 (was 0) to align with the generated README.
- version: 4.3.13
irVersion: 53
changelogEntry:
- type: feat
summary: |
The Python generator now supports conditioning dependencies on the Python version.
- version: 4.3.12
irVersion: 53
changelogEntry:
- type: feat
summary: |
The Python generator now autogenerates a requirements.txt file.
- version: 4.3.11
irVersion: 53
changelogEntry:
- type: fix
summary: |
pyproject.toml now has a `[project]` block making it Poetry v2 compatible.
- version: 4.3.10
irVersion: 53
changelogEntry:
- type: fix
summary: |
Pagination correctly uses specified defaults to support custom schemes.
- version: 4.3.9
irVersion: 53
changelogEntry:
- type: fix
summary: |
Fix indentation in generated README.md sections to ensure proper formatting and readability.
- version: 4.3.8
irVersion: 53
changelogEntry:
- type: fix
summary: |
Include content-type headers when available as part of endpoint request generation.
- version: 4.3.7
irVersion: 53
changelogEntry:
- type: fix
summary: |
Update multipart endpoint generation to propertly omit optional body parameters.
- version: 4.3.6
irVersion: 53
changelogEntry:
- type: fix
summary: |
Fix README.md and reference.md generation.
- version: 4.3.5
irVersion: 53
changelogEntry:
- type: fix
summary: |
Update README.md snippet builder to omit invalid snippets during readme config generation.
- version: 4.3.4
irVersion: 53
changelogEntry:
- type: fix
summary: |
Update shared http_client.py to remove omitted entries during file upload requests.
- version: 4.3.3
irVersion: 53
changelogEntry:
- type: fix
summary: |
The generator now writes the reference.md configuration correctly, using `.dict()` instead of `.json()`.
- version: 4.3.2
irVersion: 53
changelogEntry:
- type: fix
summary: |
The generator will now correctly default to the configured global `default_bytes_stream_chunk_size` when the `request_options` parameter is not provided.
- version: 4.3.1
irVersion: 53
changelogEntry:
- type: feat
summary: |
Requests for file download will now allow users to pass in a `chunk_size` option that allows them to receive chunks of a specific size
from the resultant `iter_bytes` invocation on the response byte stream.
Concretely, a user would leverage the following:
```python
client.download(
...,
request_options={
"chunk_size": 1024 # 1MB
}
)
```
- version: 4.2.8
irVersion: 53
changelogEntry:
- type: fix
summary: |
The snippet writer now correctly handles base64 strings.
- version: 4.2.7
irVersion: 53
changelogEntry:
- type: fix
summary: |
The generated README will now have a section that links to the generated
SDK Reference (in `reference.md`).
```md
## Reference
A full reference for this library can be found [here](./reference.md).
```
- version: 4.2.7-rc4
irVersion: 53
changelogEntry:
- type: fix
summary: Generated readmes now include the parameter name required for the request options parameter within the example snippets.
- version: 4.2.7-rc3
irVersion: 53
changelogEntry:
- type: fix
summary: |
Now, when sending Snippet Templates back to Fern, the generator will not try to coerce a potentially missing ID into the `api_definition_id` field.
This, had been a cause of the error log `Failed to upload snippet templates to FDR, this is ok: one of the hex, bytes, bytes_le, fields, or int arguments must be given`.
- version: 4.2.7-rc2
irVersion: 53
changelogEntry:
- type: fix
summary: |
Pydantic utilities now correctly handles cases where you have a Pydantic model, with a list of pydantic models as a field, where those models have literals.
Effectively, `deep_union_pydantic_objects` now handles lists of objects and merges them appropriately.
- version: 4.2.7-rc1
irVersion: 53
changelogEntry:
- type: fix
summary: |
When leveraging the `include_union_utils` configuration flag, the Pydantic models will no longer include transitive dependencies within
`update_forward_ref` calls, since these should not be necessary. This effectively scopes back the changes introduced in 4.0.0-rc5, which included
changes to improve circular reference handling in Pydantic models.
- version: 4.2.7-rc0
irVersion: 53
changelogEntry:
- type: fix
summary: |
Dynamic header suppliers, as used within the OAuth provider are now invoked on every request, not just the first.
This was a regression introduced within an earlier version that is now fixed. As a results of this fix, the `refresh_token` is now correctly refreshed.
- version: 4.2.6
irVersion: 53
changelogEntry:
- type: fix
summary: |
Serialization utilities (necessary when pydantic aliases are removed) now respects dictionaries as well.
- version: 4.2.5
irVersion: 53
changelogEntry:
- type: fix