Skip to content

Commit f4e6eed

Browse files
(docs) Add 6.19.0 release notes
1 parent 02a7758 commit f4e6eed

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

documentation/release_notes_6.markdown

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,40 @@ canonical: "/puppetdb/latest/release_notes.html"
1515

1616
# PuppetDB: Release notes
1717

18+
19+
## PuppetDB 6.19.0
20+
21+
### New features and improvements
22+
23+
* Adds a new [optional query field][api-overview] `origin` that allows users to attach an identifier to their query, which will assist with debugging any query-related issues. ([PDB-5216](https://tickets.puppetlabs.com/browse/PDB-5216))
24+
25+
* Enabled TLS v1.3 by default, connections will choose 1.3 over 1.2 when supported by both sides. ([PDB-5255](https://tickets.puppetlabs.com/browse/PDB-5255))
26+
27+
* On the resource_events_resource_*z partial has the multicolumn resource_events_resource_timestamp_xxxxxz index (timestamp, title and type) that is limited to 2712 bytes for postgres versions up to 11. Starting with postgres 12, the index size was reduced by 8 bytes. Having resource events that exceed this limit will cause PDB to fail to insert the row without too many info about what and where is the resource that caused the error. This PR adds extra logs with details to allow easier debugging. There are two messages printed, when the index is close to the limit (between 2500 and 2704) and when the limit is exceeded (over 2704). ([PDB-5135](https://tickets.puppetlabs.com/browse/PDB-5135))
28+
29+
### Bug fixes
30+
31+
* If a query with an extract clause contains a misspelled option, the clause is completely ignored resulting in a misleading response body.
32+
```
33+
["from", "reports",
34+
["extract", [["function", "count", "certname"]],
35+
["null?", "type", false],
36+
["groupy_by", "certname"]]]
37+
```
38+
will return all the reports because the extract cause will be ignored ( it contains groupy_by instead of group_by).
39+
Instead of returning nil for a malformed extract clause (when converting the query to sql plan), try to identify the misspelled part and log an appropriate error message. ([PDB-4731](https://tickets.puppetlabs.com/browse/PDB-4731))
40+
41+
42+
* When querying for trusted facts on inventory endpoint with a query like:
43+
```
44+
inventory[] { trusted.extensions.foo = "bar"}
45+
```
46+
instead of `facts.trusted.extensions.foo`, the index wasn't hit. The change introduced by this ticket ensures that an index is hit if the query is made with just trusted.[fact]. ([PDB-4985](https://tickets.puppetlabs.com/browse/PDB-4985))
47+
48+
### Contributors
49+
50+
Austin Blatt, Oana Tanasoiu, Rob Browning, and Sebastian Miclea
51+
1852
## PuppetDB 6.18.0
1953

2054
Released July 20 2021

0 commit comments

Comments
 (0)