Repository navigation
Expand file tree
/
Copy pathreleaseNotes.yml
More file actions
820 lines (723 loc) · 42.6 KB
/
Copy pathreleaseNotes.yml
File metadata and controls
820 lines (723 loc) · 42.6 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
# -*- fill-column: 100 -*-
# This file should be placed in the folder for the version of the
# product that's meant to be documented. A `/release-notes` page will
# be automatically generated and populated at build time.
#
# Note that an entry needs to be added to the `doc-links.yml` file in
# order to surface the release notes in the table of contents.
#
# The YAML in this file should contain:
#
# changelog: An (optional) URL to the CHANGELOG for the product.
# items: An array of releases with the following attributes:
# - version: The (optional) version number of the release, if applicable.
# - date: The date of the release in the format YYYY-MM-DD.
# - notes: An array of noteworthy changes included in the release, each having the following attributes:
# - type: The type of change, one of `bugfix`, `feature`, `security` or `change`.
# - title: A short title of the noteworthy change.
# - body: >-
# Two or three sentences describing the change and why it
# is noteworthy. This is HTML, not plain text or
# markdown. It is handy to use YAML's ">-" feature to
# allow line-wrapping.
# - image: >-
# The URL of an image that visually represents the
# noteworthy change. This path is relative to the
# `release-notes` directory; if this file is
# `FOO/releaseNotes.yml`, then the image paths are
# relative to `FOO/release-notes/`.
# - docs: The path to the documentation page where additional information can be found.
changelog: https://github.com/datawire/edge-stack/blob/$branch$/CHANGELOG.md
items:
- version: 2.2
date: 'TBD'
notes:
- title: Devportal support for using API server definitions from OpenAPI docs
type: feature
body: >-
You can now set <code>preserve_servers<code> in Ambassador Edge Stack's
<code>DevPortal</code> resource to configure the DevPortal to use server definitions from
the OpenAPI document when displaying connection information for services in the DevPortal.
docs: /topics/using/dev-portal
- version: 2.1.2
date: '2022-01-25'
notes:
- title: Fix OAuth2 Filter jwtAssertion
type: bugfix
body: >-
In $productName$ 2.1.0 and 2.1.1, an OAuth2 Filter with
<code>clientAuthentication.method=jwtAssertion</code> would not function correctly as it
would fail to select the signing-method-appropriate function to parse the private key.
docs: topics/using/filters/oauth2
- title: Fix ifRequestHeader without a value
type: bugfix
body: >-
In $productName$ 2.1.0 and 2.1.1, an <code>ifRequestHeader</code> selector (in a
FilterPolicy, OAuth2 Filter <code>useSessionCookies</code>, or OAuth2 Filter
<code>insteadOfRedirect</code>) without a <code>value</code> or <code>valueRegex</code>
would erroneously behave as if <code>valueRegex='^$'</code>, rather than performing a
simple presence check.
docs: topics/using/filters/#filterpolicy-definition
- title: Fix support for for v2 Mappings with CORS
type: bugfix
body: >-
Ambassador Edge Stack 2.1.1 generated invalid Envoy configuration for
<code>getambassador.io/v2</code> <code>Mappings</code> that set
<code>spec.cors.origins</code> to a string rather than a list of strings; this has been
fixed, and these <code>Mappings<code> should once again function correctly.
docs: topics/using/cors/#cross-origin-resource-sharing-cors
- title: Correctly handle canary Mapping weights when reconfiguring
type: bugfix
body: >-
Changes to the <code>weight</code> of <code>Mapping</code> in a canary group
will now always be correctly managed during reconfiguration; such changes could
have been missed in earlier releases.
docs: topics/using/canary/#the-weight-attribute
- title: Correctly handle solitary Mappings with explicit weights
type: bugfix
body: >-
A <code>Mapping</code> that is not part of a canary group, but that has a
<code>weight</code> less than 100, will be correctly configured to receive all
traffic as if the <code>weight</code> were 100.
docs: topics/using/canary/#the-weight-attribute
- title: Correctly handle empty rewrite in a Mapping
type: bugfix
body: >-
Using <code>rewrite: ""</code> in a <code>Mapping</code> is correctly handled
to mean "do not rewrite the path at all".
docs: topics/using/rewrites
- title: Correctly handle DNS wildcards when associating Hosts and Mappings
type: bugfix
body: >-
<code>Mapping</code>s with DNS wildcard <code>hostname</code> will now be correctly
matched with <code>Host</code>s. Previously, the case where both the <code>Host</code>
and the <code>Mapping</code> use DNS wildcards for their hostnames could sometimes
not correctly match when they should have.
docs: howtos/configure-communications/
- title: Correctly use Mappings with host redirects
type: bugfix
body: >-
Any <code>Mapping</code> that uses the <code>host_redirect</code> field is now properly discovered and used. Thanks
to <a href="https://github.com/gferon">Gabriel Féron</a> for contributing this bugfix!
github:
- title: 3709
link: https://github.com/emissary-ingress/emissary/issues/3709
docs: https://github.com/emissary-ingress/emissary/issues/3709
- title: Fix overriding global settings for adding or removing headers
type: bugfix
body: >-
If the <code>ambassador</code> <code>Module</code> sets a global default for
<code>add_request_headers</code>, <code>add_response_headers</code>,
<code>remove_request_headers</code>, or <code>remove_response_headers</code>, it is often
desirable to be able to turn off that setting locally for a specific <code>Mapping</code>.
For several releases this has not been possible for <code>Mappings</code> that are native
Kubernetes resources (as opposed to annotations), as an empty value ("mask the global
default") was erroneously considered to be equivalent to unset ("inherit the global
default"). This is now fixed.
docs: topics/using/defaults/
- title: Fix empty error_response_override bodies
type: bugfix
body: >-
It is now possible to set a <code>Mapping</code>
<code>spec.error_response_overrides</code> <code>body.text_format</code> to an empty
string or <code>body.json_format</code> to an empty dict. Previously, this was possible
for annotations but not for native Kubernetes resources.
docs: topics/running/custom-error-responses/
- title: Annotation conversion and validation
type: bugfix
body: >-
Resources that exist as <code>getambassador.io/config</code> annotations rather than as
native Kubernetes resources are now validated and internally converted to v3alpha1 and,
the same as native Kubernetes resources.
- title: Validation error reporting
type: bugfix
body: >-
Resource validation errors are now reported more consistently; it was the case that in
some situations a validation error would not be reported.
- title: Docker BuildKit always used for builds
type: change
body: >-
Docker BuildKit is enabled for all Emissary builds. Additionally, the Go
build cache is fully enabled when building images, speeding up repeated builds.
docs: https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/syntax.md
- version: 2.1.1
date: '2022-01-14'
notes:
- title: Fix discovery of Filters, FilterPolicies, and RateLimits
type: bugfix
body: >-
In Edge Stack 2.1.0, it erroneously ignored <code>Filters</code>,
<code>FilterPolicies</code>, and <code>RateLimits</code> that were created as
<code>v3alpha1</code> (but correctly paid attention to them if they were created as
<code>v2</code> or older). This is fixed; it will now correctly pay attention to both API
versions.
github:
- title: 3945
link: https://github.com/emissary-ingress/emissary/issues/3982
- version: 2.1.0
date: '2021-12-16'
notes:
- title: Smoother migrations with support for getambassador.io/v2 CRDs
type: feature
body: >-
$productName$ supports <code>getambassador.io/v2</code> CRDs, to simplify migration from $productName$
1.X. <b>Note:</b> it is important to read the <a href="../topics/install/migrate-to-version-2">migration
documentation</a> before starting migration.
docs: topics/install/migrate-to-version-2
image: ./v2.1.0-smoother-migration.png
- title: Ambassador Edge Stack CRDs are fully validated
type: change
body: >-
The $productName$ CRDs (<code>Filter</code>, <code>FilterPolicy</code>, and <code>RateLimit</code>)
will now be validated for correct syntax by Kubernetes itself. This means that <code>kubectl apply</code>
will reject invalid CRDs before they are actually applied, preventing them from causing errors.
image: ./v2.1.0-edge-stack-validation.png
- title: Correctly handle all changing canary configurations
type: bugfix
body: >-
The incremental reconfiguration cache could miss some updates when multiple
<code>Mapping</code>s had the same <code>prefix</code> ("canary"ing multiple
<code>Mapping</code>s together). This has been corrected, so that all such
updates correctly take effect.
github:
- title: 3945
link: https://github.com/emissary-ingress/emissary/issues/3945
docs: https://github.com/emissary-ingress/emissary/issues/3945
image: ./v2.1.0-canary.png
- title: Secrets used for ACME private keys will not log errors
type: bugfix
body: >-
When using Kubernetes Secrets to store ACME private keys (as the Edge Stack
ACME client does), an error would always be logged about the Secret not being
present, even though it was present, and everything was working correctly.
This error is no longer logged.
- title: When using gzip, upstreams will no longer receive encoded data
type: bugfix
body: >-
When using gzip compression, upstream services will no longer receive compressed
data. This bug was introduced in 1.14.0. The fix restores the default behavior of
not sending compressed data to upstream services.
github:
- title: 3818
link: https://github.com/emissary-ingress/emissary/issues/3818
docs: https://github.com/emissary-ingress/emissary/issues/3818
image: ./v2.1.0-gzip-enabled.png
- title: Update to busybox 1.34.1
type: security
body: >-
Update to busybox 1.34.1 to resolve CVE-2021-28831, CVE-2021-42378,
CVE-2021-42379, CVE-2021-42380, CVE-2021-42381, CVE-2021-42382, CVE-2021-42383,
CVE-2021-42384, CVE-2021-42385, and CVE-2021-42386.
- title: Update Python dependencies
type: security
body: >-
Update Python dependencies to resolve CVE-2020-28493 (jinja2), CVE-2021-28363
(urllib3), and CVE-2021-33503 (urllib3).
- title: Remove test-only code from the built image
type: security
body: >-
Previous built images included some Python packages used only for test. These
have now been removed, resolving CVE-2020-29651.
- version: 2.0.5
date: '2021-11-09'
notes:
- title: More aggressive HTTP cache behavior
type: change
body: >-
When Ambassador Edge Stack makes a cacheable internal request (such as fetching the JWKS
endpoint for a <code>JWT</code> <code>Filter</code>), if a cache-miss occurs but a request
for that resource is already in-flight, then instead of performing a second request in
parallel, it will now wait for the first request to finish and (if the response is
cacheable) use that response. If the response turns out to be non-cacheable, then it will
proceed to make the second request. This avoids the situation where if a cache entry
expires during a moment with high number of concurrent requests, then Edge Stack creates a
deluge of concurrent requests to the resource when one aught to have sufficed; this allows
the result to be returned more quickly while putting less load on the remote resource.
However, if the response turns out to be non-cacheable, then this does effectively
serialize requests, increasing the latency for concurrent requests.
image: ./v2.0.5-cache-change.png
- title: AuthService circuit breakers
type: feature
body: >-
It is now possible to set the <code>circuit_breakers</code> for <code>AuthServices</code>,
exactly the same as for <code>Mappings</code> and <code>TCPMappings</code>. This makes it
possible to configure your <code>AuthService</code> to be able to handle more than 1024
concurrent requests.
docs: topics/running/services/auth-service/
image: ./v2.0.5-auth-circuit-breaker.png
- title: More accurate durations in the logs
type: bugfix
body: >-
When Ambassador Edge Stack completes an internal request (such as fetching the JWKS
endpoint for a <code>JWT</code> <code>Filter</code>) it logs (at the <code>info</code> log
level) how long the request took. Previously, the duration logged was how long it took to
receive the response header, and did not count the time it takes to receive the entire
response body; now it properly times the entire thing. Additionally, it now separately
logs the "total duration" and the "networking duration", in order to make it possible to
identify when a request was delayed waiting for other requests to finish.
- title: Improved validity checking for error response overrides
type: bugfix
body: >-
Any token delimited by '%' is now validated agains a whitelist of valid
Envoy command operators. Any mapping containing an <code>error_response_overrides</code>
section with invalid command operators will be discarded.
docs: topics/running/custom-error-responses
- title: mappingSelector is now correctly supported in the Host CRD
type: bugfix
body: >-
The <code>Host</code> CRD now correctly supports the <code>mappingSelector</code>
element, as documented. As a transition aid, <code>selector</code> is a synonym for
<code>mappingSelector</code>; a future version of $productName$ will remove the
<code>selector</code> element.
github:
- title: 3902
link: https://github.com/emissary-ingress/emissary/issues/3902
docs: https://github.com/emissary-ingress/emissary/issues/3902
image: ./v2.0.5-mappingselector.png
- version: 2.0.4
date: '2021-10-19'
notes:
- title: General availability!
type: feature
body: >-
We're pleased to introduce $productName$ 2.0.4 for general availability! The
2.X family introduces a number of changes to allow $productName$ to more
gracefully handle larger installations, reduce global configuration to better
handle multitenant or multiorganizational installations, reduce memory footprint, and
improve performance. We welcome feedback!! Join us on
<a href="https://a8r.io/slack">Slack</a> and let us know what you think.
isHeadline: true
docs: about/changes-2.0.0
image: ./edge-stack-ga.png
- title: API version getambassador.io/v3alpha1
type: change
body: >-
The <code>x.getambassador.io/v3alpha1</code> API version has become the
<code>getambassador.io/v3alpha1</code> API version. The <code>Ambassador-</code>
prefixes from <code>x.getambassador.io/v3alpha1</code> resources have been
removed for ease of migration. <b>Note that <code>getambassador.io/v3alpha1</code>
is the only supported API version for 2.0.4</b> — full support for
<code>getambassador.io/v2</code> will arrive soon in a later 2.X version.
docs: about/changes-2.0.0
image: ./v2.0.4-v3alpha1.png
- title: Support for Kubernetes 1.22
type: feature
body: >-
The <code>getambassador.io/v3alpha1</code> API version and the published chart
and manifests have been updated to support Kubernetes 1.22. Thanks to
<a href="https://github.com/imoisharma">Mohit Sharma</a> for contributions to
this feature!
docs: about/changes-2.0.0
image: ./v2.0.4-k8s-1.22.png
- title: Mappings support configuring strict or logical DNS
type: feature
body: >-
You can now set <code>dns_type</code> between <code>strict_dns</code> and
<code>logical_dns</code> in a <code>Mapping</code> to configure the Service
Discovery Type.
docs: topics/using/mappings/#dns-configuration-for-mappings
image: ./v2.0.4-mapping-dns-type.png
- title: Mappings support controlling DNS refresh with DNS TTL
type: feature
body: >-
You can now set <code>respect_dns_ttl</code> to <code>true</code> to force the
DNS refresh rate for a <code>Mapping</code> to be set to the record's TTL
obtained from DNS resolution.
docs: topics/using/mappings/#dns-configuration-for-mappings
- title: Support configuring upstream buffer sizes
type: feature
body: >-
You can now set <code>buffer_limit_bytes</code> in the <code>ambassador</code>
<code>Module</code> to to change the size of the upstream read and write buffers.
The default is 1MiB.
docs: topics/running/ambassador/#modify-default-buffer-size
- title: Version number reported correctly
type: bugfix
body: >-
The release now shows its actual released version number, rather than
the internal development version number.
github:
- title: "#3854"
link: https://github.com/emissary-ingress/emissary/issues/3854
docs: https://github.com/emissary-ingress/emissary/issues/3854
image: ./v2.0.4-version.png
- title: Large configurations work correctly with Ambassador Cloud
type: bugfix
body: >-
Large configurations no longer cause $productName$ to be unable
to communicate with Ambassador Cloud.
github:
- title: "#3593"
link: https://github.com/emissary-ingress/emissary/issues/3593
docs: https://github.com/emissary-ingress/emissary/issues/3593
- title: Listeners correctly support l7Depth
type: bugfix
body: >-
The <code>l7Depth</code> element of the <code>Listener</code> CRD is
properly supported.
docs: topics/running/listener#l7depth
image: ./v2.0.4-l7depth.png
- version: 2.0.3-ea
date: '2021-09-16'
notes:
- title: Developer Preview!
body: We're pleased to introduce $productName$ 2.0.3 as a <b>developer preview</b>. The 2.X family introduces a number of changes to allow $productName$ to more gracefully handle larger installations, reduce global configuration to better handle multitenant or multiorganizational installations, reduce memory footprint, and improve performance. We welcome feedback!! Join us on <a href="https://a8r.io/slack">Slack</a> and let us know what you think.
type: change
isHeadline: true
docs: about/changes-2.0.0
- title: AES_LOG_LEVEL more widely effective
body: The environment variable <code>AES_LOG_LEVEL</code> now also sets the log level for the <code>diagd</code> logger.
type: feature
docs: topics/running/running/
github:
- title: "#3686"
link: https://github.com/emissary-ingress/emissary/issues/3686
- title: "#3666"
link: https://github.com/emissary-ingress/emissary/issues/3666
- title: AmbassadorMapping supports setting the DNS type
body: You can now set <code>dns_type</code> in the <code>AmbassadorMapping</code> to configure how Envoy will use the DNS for the service.
type: feature
docs: topics/using/mappings/#using-dns_type
- title: Building Emissary no longer requires setting DOCKER_BUILDKIT
body: It is no longer necessary to set <code>DOCKER_BUILDKIT=0</code> when building Emissary. A future change will fully support BuildKit.
type: bugfix
docs: https://github.com/emissary-ingress/emissary/issues/3707
github:
- title: "#3707"
link: https://github.com/emissary-ingress/emissary/issues/3707
- version: 2.0.2-ea
date: '2021-08-24'
notes:
- title: Developer Preview!
body: We're pleased to introduce $productName$ 2.0.2 as a <b>developer preview</b>. The 2.X family introduces a number of changes to allow $productName$ to more gracefully handle larger installations, reduce global configuration to better handle multitenant or multiorganizational installations, reduce memory footprint, and improve performance. We welcome feedback!! Join us on <a href="https://a8r.io/slack">Slack</a> and let us know what you think.
type: change
isHeadline: true
docs: about/changes-2.0.0
- title: Envoy security updates
type: bugfix
body: "Upgraded envoy to 1.17.4 to address security vulnerabilities CVE-2021-32777, CVE-2021-32778, CVE-2021-32779, and CVE-2021-32781."
docs: https://groups.google.com/g/envoy-announce/c/5xBpsEZZDfE?pli=1
- title: Expose Envoy's allow_chunked_length HTTPProtocolOption
type: feature
body: "You can now set <code>allow_chunked_length</code> in the Ambassador Module to configure the same value in Envoy."
docs: topics/running/ambassador/#content-length-headers
- title: Envoy-configuration snapshots saved
type: change
body: Envoy-configuration snapshots get saved (as <code>ambex-#.json</code>) in <code>/ambassador/snapshots</code>. The number of snapshots is controlled by the <code>AMBASSADOR_AMBEX_SNAPSHOT_COUNT</code> environment variable; set it to 0 to disable. The default is 30.
docs: topics/running/running/
- version: 2.0.1-ea
date: "2021-08-12"
notes:
- title: Developer Preview!
body: We're pleased to introduce $productName$ 2.0.1 as a <b>developer preview</b>. The 2.X family introduces a number of changes to allow $productName$ to more gracefully handle larger installations, reduce global configuration to better handle multitenant or multiorganizational installations, reduce memory footprint, and improve performance. We welcome feedback!! Join us on <a href="https://a8r.io/slack">Slack</a> and let us know what you think.
type: change
isHeadline: true
docs: about/changes-2.0.0
- title: Improved Ambassador Cloud visibility
type: feature
body: Ambassador Agent reports sidecar process information and <code>AmbassadorMapping</code> OpenAPI documentation to Ambassador Cloud to provide more visibility into services and clusters.
docs: ../../cloud/latest/service-catalog/quick-start/
- title: Configurable per-AmbassadorListener statistics prefix
body: The optional <code>stats_prefix</code> element of the <code>AmbassadorListener</code> CRD now determines the prefix of HTTP statistics emitted for a specific <code>AmbassadorListener</code>.
type: feature
docs: topics/running/listener
- title: Configurable statistics names
body: The optional <code>stats_name</code> element of <code>AmbassadorMapping</code>, <code>AmbassadorTCPMapping</code>, <code>AuthService</code>, <code>LogService</code>, <code>RateLimitService</code>, and <code>TracingService</code> now sets the name under which cluster statistics will be logged. The default is the <code>service</code>, with non-alphanumeric characters replaced by underscores.
type: feature
docs: topics/running/statistics
- title: Configurable Dev Portal fetch timeout
type: bugfix
body: The <code>AmbassadorMapping</code> resource can now specify <code>docs.timeout_ms</code> to set the timeout when the Dev Portal is fetching API specifications.
docs: topics/using/dev-portal/
- title: Dev Portal search strips HTML tags
type: bugfix
body: The Dev Portal will now strip HTML tags when displaying search results, showing just the actual content of the search result.
docs: topics/using/dev-portal/
- title: Updated klog to reduce log noise
type: bugfix
body: We have updated to <code>k8s.io/klog/v2</code> to track upstream and to quiet unnecessary log output.
docs: https://github.com/emissary-ingress/emissary/issues/3603
- title: Subsecond time resolution in logs
type: change
body: Logs now include subsecond time resolutions, rather than just seconds.
docs: https://github.com/emissary-ingress/emissary/pull/3650
- title: Configurable Envoy-configuration rate limiting
type: change
body: Set <code>AMBASSADOR_AMBEX_NO_RATELIMIT</code> to <code>true</code> to completely disable ratelimiting Envoy reconfiguration under memory pressure. This can help performance with the endpoint or Consul resolvers, but could make OOMkills more likely with large configurations. The default is <code>false</code>, meaning that the rate limiter is active.
docs: topics/concepts/rate-limiting-at-the-edge/
- title: Improved Consul certificate rotation visibility
type: change
body: Consul certificate-rotation logging now includes the fingerprints and validity timestamps of certificates being rotated.
docs: howtos/consul/#consul-connector-and-encrypted-tls
- title: Add configurable cache for OIDC replies to the JWT Filter
type: feature
body: >-
The <code>maxStale</code> field is now supported in in the JWT Filter to configure how long $productname$ should cache OIDC responses for similar to the existing <code>maxStale</code> field in the OAuth2 Filter.
docs: topics/using/filters/jwt
- version: 2.0.0-ea
date: "2021-06-24"
notes:
- title: Developer Preview!
body: We're pleased to introduce $productName$ 2.0.0 as a <b>developer preview</b>. The 2.X family introduces a number of changes to allow $productName$ to more gracefully handle larger installations, reduce global configuration to better handle multitenant or multiorganizational installations, reduce memory footprint, and improve performance. We welcome feedback!! Join us on <a href="https://a8r.io/slack">Slack</a> and let us know what you think.
type: change
docs: about/changes-2.0.0
isHeadline: true
- title: Configuration API v3alpha1
body: >-
$productName$ 2.0.0 introduces API version <code>x.getambassador.io/v3alpha1</code> for
configuration changes that are not backwards compatible with the 1.X family. API versions
<code>getambassador.io/v0</code>, <code>getambassador.io/v1</code>, and
<code>getambassador.io/v2</code> are deprecated. Further details are available in the <a
href="../about/changes-2.0.0/#1-configuration-api-version-getambassadoriov3alpha1">2.0.0
Changes</a> document.
type: feature
docs: about/changes-2.0.0/#1-configuration-api-version-getambassadoriov3alpha1
image: ./edge-stack-2.0.0-v3alpha1.png
- title: The AmbassadorListener Resource
body: The new <code>AmbassadorListener</code> CRD defines where and how to listen for requests from the network, and which <code>AmbassadorHost</code> definitions should be used to process those requests. Note that the <code>AmbassadorListener</code> CRD is <b>mandatory</b> and consolidates <i>all</i> port configuration; see the <a href="../topics/running/listener"><code>AmbassadorListener</code> documentation</a> for more details.
type: feature
docs: topics/running/listener
image: ./edge-stack-2.0.0-listener.png
- title: AmbassadorMapping hostname DNS glob support
body: >-
Where <code>AmbassadorMapping</code>'s <code>host</code> field is either an exact match or (with <code>host_regex</code> set) a regex,
the new <code>hostname</code> element is always a DNS glob. Use <code>hostname</code> instead of <code>host</code> for best results.
docs: about/changes-2.0.0/#ambassadorhost-and-ambassadormapping-association
type: feature
- title: Memory usage improvements for installations with many AmbassadorHosts
body: The behavior of the Ambassador module <code>prune_unreachable_routes</code> field is now automatic, which should reduce Envoy memory requirements for installations with many <code>AmbassadorHost</code>s
docs: topics/running/ambassador/#prune-unreachable-routes
image: ./edge-stack-2.0.0-prune_routes.png
type: feature
- title: Independent Host actions supported
body: Each <code>AmbassadorHost</code> can specify its <code>requestPolicy.insecure.action</code> independently of any other <code>AmbassadorHost</code>, allowing for HTTP routing as flexible as HTTPS routing.
docs: topics/running/host-crd/#secure-and-insecure-requests
github:
- title: "#2888"
link: https://github.com/datawire/ambassador/issues/2888
image: ./edge-stack-2.0.0-insecure_action_hosts.png
type: bugfix
- title: Correctly set Ingress resource status in all cases
body: $productName$ 2.0.0 fixes a regression in detecting the Ambassador Kubernetes service that could cause the wrong IP or hostname to be used in Ingress statuses -- thanks, <a href="https://github.com/impl">Noah Fontes</a>!
docs: topics/running/ingress-controller
type: bugfix
image: ./edge-stack-2.0.0-ingressstatus.png
- title: Stricter mTLS enforcement
body: $productName$ 2.0.0 fixes a bug where mTLS could use the wrong configuration when SNI and the <code>:authority</code> header didn't match
type: bugfix
- title: Port configuration outside AmbassadorListener has been moved to AmbassadorListener
body: The <code>TLSContext</code> <code>redirect_cleartext_from</code> and <code>AmbassadorHost</code> <code>requestPolicy.insecure.additionalPort</code> elements are no longer supported. Use a <code>AmbassadorListener</code> for this functionality instead.
type: change
docs: about/changes-2.0.0/#tlscontext-redirect_cleartext_from-and-host-insecureadditionalport
- title: PROXY protocol configuration has been moved to AmbassadorListener
body: The <code>use_proxy_protocol</code> element of the Ambassador <code>Module</code> is no longer supported, as it is now part of the <code>AmbassadorListener</code> resource (and can be set per-<code>AmbassadorListener</code> rather than globally).
type: change
docs: about/changes-2.0.0/#proxy-protocol-configuration
- title: Stricter rules for AmbassadorHost/AmbassadorMapping association
body: An <code>AmbassadorMapping</code> will only be matched with an <code>AmbassadorHost</code> if the <code>AmbassadorMapping</code>'s <code>host</code> or the <code>AmbassadorHost</code>'s <code>selector</code> (or both) are explicitly set, and match. This change can significantly improve $productName$'s memory footprint when many <code>AmbassadorHost</code>s are involved. Further details are available in the <a href="../about/changes-2.0.0/#host-and-mapping-association">2.0.0 Changes</a> document.
docs: about/changes-2.0.0/#host-and-mapping-association
type: change
- title: AmbassadorHost or Ingress now required for TLS termination
body: An <code>AmbassadorHost</code> or <code>Ingress</code> resource is now required when terminating TLS -- simply creating a <code>TLSContext</code> is not sufficient. Further details are available in the <a href="../about/changes-2.0.0/#host-tlscontext-and-tls-termination"><code>AmbassadorHost</code> CRD documentation.</a>
docs: about/changes-2.0.0/#host-tlscontext-and-tls-termination
type: change
image: ./edge-stack-2.0.0-host_crd.png
- title: Envoy V3 APIs
body: By default, $productName$ will configure Envoy using the V3 Envoy API. This change is mostly transparent to users, but note that Envoy V3 does not support unsafe regular expressions or, e.g., Zipkin's V1 collector protocol. Further details are available in the <a href="../about/changes-2.0.0">2.0.0 Changes</a> document.
type: change
docs: about/changes-2.0.0/#envoy-v3-api-by-default
- title: Module-based TLS no longer supported
body: The <code>tls</code> module and the <code>tls</code> field in the Ambassador module are no longer supported. Please use <code>TLSContext</code> resources instead.
docs: about/changes-2.0.0/#tls-the-ambassador-module-and-the-tls-module
image: ./edge-stack-2.0.0-tlscontext.png
type: change
- title: Higher performance while generating Envoy configuration now enabled by default
body: The environment variable <code>AMBASSADOR_FAST_RECONFIGURE</code> is now set by default, enabling the higher-performance implementation of the code that $productName$ uses to generate and validate Envoy configurations.
docs: topics/running/scaling/#ambassador_fast_reconfigure-and-ambassador_legacy_mode-flags
type: change
- title: Service Preview no longer supported
body: >-
Service Preview and the <code>AGENT_SERVICE</code> environment variable are no longer supported.
The Telepresence product replaces this functionality.
docs: https://www.getambassador.io/docs/telepresence/
type: change
- title: edgectl no longer supported
body: The <code>edgectl</code> CLI tool has been deprecated; please use the <code>emissary-ingress</code> helm chart instead.
docs: topics/install/helm/
type: change
- version: 1.14.2
date: '2021-09-29'
notes:
- title: Mappings support controlling DNS refresh with DNS TTL
type: feature
body: >-
You can now set <code>respect_dns_ttl</code> in Ambassador Mappings. When true it
configures that upstream's refresh rate to be set to resource record’s TTL
docs: topics/using/mappings/#dns-configuration-for-mappings
- title: Mappings support configuring strict or logical DNS
type: feature
body: >-
You can now set <code>dns_type</code> in Ambassador Mappings to use Envoy's
<code>logical_dns</code> resolution instead of the default <code>strict_dns</code>.
docs: topics/using/mappings/#dns-configuration-for-mappings
- title: Support configuring upstream buffer size
type: feature
body: >-
You can now set <code>buffer_limit_bytes</code> in the <code>ambassador</code>
<code>Module</code> to to change the size of the upstream read and write buffers.
The default is 1MiB.
docs: topics/running/ambassador/#modify-default-buffer-size
- version: 1.14.1
date: '2021-08-24'
notes:
- title: Envoy security updates
type: change
body: >-
Upgraded Envoy to 1.17.4 to address security vulnerabilities CVE-2021-32777,
CVE-2021-32778, CVE-2021-32779, and CVE-2021-32781.
docs: https://groups.google.com/g/envoy-announce/c/5xBpsEZZDfE
- version: 1.14.0
date: "2021-08-19"
notes:
- title: Envoy upgraded to 1.17.3!
type: change
body: >-
Update from Envoy 1.15 to 1.17.3
docs: https://www.envoyproxy.io/docs/envoy/latest/version_history/version_history
- title: Expose Envoy's allow_chunked_length HTTPProtocolOption
type: feature
body: >-
You can now set <code>allow_chunked_length</code> in the Ambassador Module to configure
the same value in Envoy.
docs: topics/running/ambassador/#content-length-headers
- title: Default Envoy API version is now V3
type: change
body: >-
<code>AMBASSADOR_ENVOY_API_VERSION</code> now defaults to <code>V3</code>
docs: https://www.getambassador.io/docs/edge-stack/latest/topics/running/running/#ambassador_envoy_api_version
- title: Subsecond time resolution in logs
type: change
body: Logs now include subsecond time resolutions, rather than just seconds.
docs: https://github.com/emissary-ingress/emissary/pull/3650
- version: 1.13.10
date: '2021-07-28'
notes:
- title: Fix for CORS origins configuration on the Mapping resource
type: bugfix
body: >-
Fixed a regression when specifying a comma separated string for <code>cors.origins</code>
on the <code>Mapping</code> resource.
([#3609](https://github.com/emissary-ingress/emissary/issues/3609))
docs: topics/using/cors
image: ../images/emissary-1.13.10-cors-origin.png
- title: New Envoy-configuration snapshots for debugging
body: "Envoy-configuration snapshots get saved (as <code>ambex-#.json</code>) in <code>/ambassador/snapshots</code>. The number of snapshots is controlled by the <code>AMBASSADOR_AMBEX_SNAPSHOT_COUNT</code> environment variable; set it to 0 to disable. The default is 30."
type: change
docs: topics/running/environment/
- title: Optionally remove ratelimiting for Envoy reconfiguration
body: >-
Set <code>AMBASSADOR_AMBEX_NO_RATELIMIT</code> to <code>true</code> to completely disable
ratelimiting Envoy reconfiguration under memory pressure. This can help performance with
the endpoint or Consul resolvers, but could make OOMkills more likely with large
configurations. The default is <code>false</code>, meaning that the rate limiter is
active.
type: change
docs: topics/running/environment/
- type: bugfix
body: >-
The <code>Mapping</code> resource can now specify <code>docs.timeout_ms</code> to set the
timeout when the Dev Portal is fetching API specifications.
- type: bugfix
body: >-
The Dev Portal will now strip HTML tags when displaying search results, showing just the
actual content of the search result.
- type: change
body: >-
Consul certificate-rotation logging now includes the fingerprints and validity timestamps
of certificates being rotated.
- version: 1.13.9
date: '2021-06-30'
notes:
- title: Fix for TCPMappings
body: >-
Configuring multiple TCPMappings with the same ports (but different hosts) no longer
generates invalid Envoy configuration.
type: bugfix
docs: topics/using/tcpmappings/
- version: 1.13.8
date: '2021-06-08'
notes:
- title: Fix Ambassador Cloud Service Details
body: >-
Ambassador Agent now accurately reports up-to-date Endpoint information to Ambassador
Cloud
type: bugfix
docs: tutorials/getting-started/#3-connect-your-cluster-to-ambassador-cloud
image: ../images/edge-stack-1.13.8-cloud-bugfix.png
- title: Improved Argo Rollouts Experience with Ambassador Cloud
body: >-
Ambassador Agent reports ConfigMaps and Deployments to Ambassador Cloud to provide a
better Argo Rollouts experience. See [Argo+Ambassador
documentation](https://www.getambassador.io/docs/argo) for more info.
type: feature
docs: https://www.getambassador.io/docs/argo
- version: 1.13.7
date: '2021-06-03'
notes:
- title: JSON logging support
body: >-
Add AMBASSADOR_JSON_LOGGING to enable JSON for most of the Ambassador control plane. Some
(but few) logs from gunicorn and the Kubernetes client-go package still log text.
image: ../images/edge-stack-1.13.7-json-logging.png
docs: topics/running/running/#log-format
type: feature
- title: Consul resolver bugfix with TCPMappings
body: >-
Fixed a bug where the Consul resolver would not actually use Consul endpoints with
TCPMappings.
image: ../images/edge-stack-1.13.7-tcpmapping-consul.png
docs: topics/running/resolvers/#the-consul-resolver
type: bugfix
- title: Memory usage calculation improvements
body: >-
Ambassador now calculates its own memory usage in a way that is more similar to how the
kernel OOMKiller tracks memory.
image: ../images/edge-stack-1.13.7-memory.png
docs: topics/running/scaling/#inspecting-ambassador-performance
type: change
- version: 1.13.6
date: '2021-05-24'
notes:
- title: Quieter logs in legacy mode
type: bugfix
body: >-
Fixed a regression where Ambassador snapshot data was logged at the INFO label
when using <code>AMBASSADOR_LEGACY_MODE=true</code>.
- version: 1.13.5
date: '2021-05-13'
notes:
- title: Correctly support proper_case and preserve_external_request_id
type: bugfix
body: >-
Fix a regression from 1.8.0 that prevented <code>ambassador</code> <code>Module</code>
config keys <code>proper_case</code> and <code>preserve_external_request_id</code>
from working correctly.
docs: topics/running/ambassador/#header-case
- title: Correctly support Ingress statuses in all cases
type: bugfix
body: >-
Fixed a regression in detecting the Ambassador Kubernetes service that could cause the
wrong IP or hostname to be used in Ingress statuses (thanks, [Noah
Fontes](https://github.com/impl)!
docs: topics/running/ingress-controller
- version: 1.13.4
date: '2021-05-11'
notes:
- title: Envoy 1.15.5
body: >-
Incorporate the Envoy 1.15.5 security update by adding the
<code>reject_requests_with_escaped_slashes</code> option to the Ambassador module.
image: ../images/edge-stack-1.13.4.png
docs: topics/running/ambassador/#rejecting-client-requests-with-escaped-slashes
type: security
# Don't go any further back than 1.13.4.