File: release_notes_8.markdown

package info (click to toggle)
puppetdb 8.8.1-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 19,692 kB
  • sloc: javascript: 23,285; ruby: 5,620; sh: 3,457; python: 389; xml: 114; makefile: 38
file content (345 lines) | stat: -rw-r--r-- 11,406 bytes parent folder | download
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
---
title: "PuppetDB: Release notes"
layout: default
canonical: "/puppetdb/latest/release_notes.html"
---

[benchmark]: ./load_testing_tool.markdown
[query-timeout-parameter]: ./api/query/v4/overview.markdown#url-parameters
[terminus-config]: ./puppetdb_connection.markdown

---

# PuppetDB: Release notes

## PuppetDB 8.8.1

Released October 29 2024

### Bug fixes

* Fixed an issue with report garbage collection where a partition would become
  partially detached and block future garbage collection progress. Garbage
  collection will now finalize the partition detach operation and remove the
  table. ([GitHub #4013](https://github.com/puppetlabs/puppetdb/issues/4013))
* Fixed an issue with report garbage collection where a partition would be
  detached, but the table was never deleted. Garbage collection will now
  identify and clean-up these tables.
  ([GitHub #4013](https://github.com/puppetlabs/puppetdb/issues/4013))

## PuppetDB 8.8.0

Released October 22 2024

### Improvements

* Released support and packages for Debian 12 (bookworm).
* Report partitions are now analyzed hourly to keep PostgreSQL's query planner
  statistics up-to-date.

### Bug fixes

* Added a database constraint to prevent duplicate catalogs. If your database
  contains any duplicate catalogs, only the most recent catalog for each
  certname will be kept.

## PuppetDB 8.7.0

Released July 23 2024

### New features and improvements

* Improve performance of command processing by explicitly batching insertions
  and reducing return network traffic from Postgres.
* Add a latest partition to reports and resource events to improve query
  performance for queries using the `latest_report?` filter.

### Bug fixes

* Fixed an issue causing PuppetDB to crash if the Postgres database was
  stopped. ([GitHub #3991](https://github.com/puppetlabs/puppetdb/issues/3991))

### Contributors

Austin Blatt and Rob Browning.

## PuppetDB 8.6.0

Released June 11 2024

### New features and improvements

* Improve performance of fact queries by reducing jsonb merges.
* PuppetDB will no longer log long stack traces for standard ways that a user
  query might be invalid.

### Contributors

Austin Blatt and Rob Browning.

## PuppetDB 8.5.1

Released April 24 2024

### Bug fixes

* Fix an error when querying for `nodes` and `latest_report_status`
  [GitHub #3966](https://github.com/puppetlabs/puppetdb/issues/3966)

### Contributors

Austin Blatt and Rob Browning.

## PuppetDB 8.5.0

Released April 11 2024

### New features and improvements

* Improve query performance on the certnames table
* Ship with updated dependencies (clojure, and pgjdbc)

### Bug fixes

* Ensure producer_timestamp is logged with legacy commands.

### Contributors

Austin Blatt, Cas Donoghue, and Rob Browning.

## PuppetDB 8.4.1

Released February 27 2024

### Bug fixes

* Fixed an issue with negated regex queries (`!~`) on JSON fields (dotted fact
  paths and resource parameters), which were not matching the full negation of
  the regex match when the key was missing from some of the JSON maps.

### Contributors

Austin Blatt, Jonathan Newman, Josh Partlow, and Rob Browning

## PuppetDB 8.3.0

Released January 18 2024

### New features and improvements

* The PuppetDB terminus now supports the
  [`include_catalog_edges`][terminus-config] configuration option. Setting this
  value to false will omit all resource edges from the catalog submitted to
  PuppetDB.
  ([GitHub #3912](https://github.com/puppetlabs/puppetdb/issues/3912))

### Bug fixes

* PuppetDB queries should no longer risk hanging when run just after
  non-streaming queries (for example, those with `ast_only` set to
  true). ([GitHub #3933](https://github.com/puppetlabs/puppetdb/pull/3933))

### Contributors

Austin Blatt, Cas Donoghue, Eric Newton, Jonathan Newman, Josh Partlow,
Rob Browning, and Steve Axthelm

## PuppetDB 8.2.0

Released November 7 2023

### Security fixes

* Update trapperkeeper-webserver-jetty9 to 4.5.2 to address
  CVE-2023-44487, CVE-2023-36478, GHSA-58qw-p7qm-5rvh,
  GHSA-hmr7-m48g-48f6, and GHSA-3gh6-v5v9-6v9j.

* Update Bouncy Castle FIPS to v1.0.2.4 to resolve CVE-2022-45156
  and CVE-2023-33202.

### Bug fixes

* Update jvm-ssl-utils to 3.5.2 to address a stack overflow in
  certificates with tags.

### New features and improvements

* An `--offset` option has been added to the [`benchmark` command][benchmark]
  This allows you to run two or more Benchmark instances in parallel,
  offsetting the generated cert numbers so that the commands don't
  collide in the database.
  ([GitHub #3896](https://github.com/puppetlabs/puppetdb/issues/3896))

* The [`benchmark` command][benchmark] should be able to reach notably
  higher maximum output rates.  On one 60 core (non-hyperthreaded)
  host where previously it could only simulate about 80k nodes with a
  30 minute runinterval, it can now simulate over 140k nodes, more if
  the randomization percentage is reduced from 100.
  ([GitHub #3886](https://github.com/puppetlabs/puppetdb/issues/3886))
  (PDB-5712)

* The [`benchmark` command][benchmark]'s `-t`/`--threads` argument has
  been deprecated and renamed to `--senders`.
  ([GitHub #3886](https://github.com/puppetlabs/puppetdb/issues/3886))
  (PDB-5712)

* The [`benchmark` command][benchmark]'s default number of `--senders`
  has been changed from four times the host core (hyperthread) count
  to half the count (or 2, whichever's larger) after testing revealed
  that with a 60 core (non-hyperthreaded) host, only 16 senders were
  needed to hit a maximum rate with the local PuppetDB/PostgreSQL
  hosts.
  ([GitHub #3886](https://github.com/puppetlabs/puppetdb/issues/3886))
  (PDB-5712)

* A `--simulators` option has been added to the
  [`benchmark` command][benchmark].  It specifies the number of
  threads to use for the generation of new host commands and defaults
  to either 2, or half the core (hyperthread) count.  The previous
  internal value was always 4.
  ([GitHub #3886](https://github.com/puppetlabs/puppetdb/issues/3886))
  (PDB-5712)

* The [`benchmark` command][benchmark] command will now space out the
  factset, catalog, and report for each host more realistically.
  ([GitHub #3880](https://github.com/puppetlabs/puppetdb/pull/3880))
  (PDB-5691)

### Contributors

Austin Blatt, Nick Burgan-Illig, Joshua Partlow, and Rob Browning

## PuppetDB 8.1.1

Released September 14 2023

### Bug fixes

* PuppetDB should no longer throw a `CancelledKeyException` when a
  network connection is reused for multiple queries (originally
  noticed in the 8.1.0 release).
  ([GitHub #3866](https://github.com/puppetlabs/puppetdb/issues/3866))

### Contributors

Austin Blatt, Ingrida Cazers, Josh Partlow, Rob Browning, and
Steve Axthelm

## PuppetDB 8.1.0

Released August 22 2023

### New features and improvements

* RedHat Enterprise Linux 9 (RHEL 9) has been added as a supported
  platform.
  ([PDB-5667](https://perforce.atlassian.net/browse/PDB-5667))

* Ubuntu 22.04 has been added as a supported platform.
  ([PDB-5636](https://perforce.atlassian.net/browse/PDB-5636))

* PuppetDB will now abandon queries more promptly when a client
  disconnects.  Previously an expensive query could continue running
  indefinitely.  The same mechanism should also help ensure query
  timeouts are immediately enforced.
  ([GitHub #3867](https://github.com/puppetlabs/puppetdb/issues/3867))

* When no database migrations are pending, PuppetDB will no longer
  disconnect clients on restart.
  ([PE-36120](https://perforce.atlassian.net/browse/PE-36120))

### Bug fixes

* Some PQL queries with numerous `or` clauses should no longer cause
  PuppetDB to run out of memory.  Previously they could allocate an
  exorbitant amount of RAM.
  ([GitHub #3874](https://github.com/puppetlabs/puppetdb/issues/3874))

### Known issues

* The mechanism used to abandon queries and enforce timeouts mentioned
  above may throw a `CancelledKeyException` when a network connection
  is reused for multiple queries.  For the time being, the problem can
  be addressed by setting the experimental environment variable
  `PDB_PROMPTLY_END_QUERIES` to `false`.  (This variable may be
  removed in a future release.)
  ([GitHub #3866](https://github.com/puppetlabs/puppetdb/issues/3866))

### Contributors

Austin Blatt, Nick Burgan-Illig, Jonathan Newman, Eric Newton, Joshua
Partlow, Steve Axthelm, and Rob Browning

## PuppetDB 8.0.1

Released June 14 2023

## New features and improvements

* All PQL statements that take longer than one second to parse will be
  logged.  Previously that was only the case when query logging was
  enabled.
  ([PDB-5642](https://tickets.puppetlabs.com/browse/PDB-5642))
  ([PDB-5260](https://tickets.puppetlabs.com/browse/PDB-5260))

* A new `generate` CLI subcommand has been added.  It can create a
  base sampling of catalog, fact and report files suitable for
  consumption by [`benchmark`][benchmark].
  ([PDB-5593](https://tickets.puppetlabs.com/browse/PDB-5593))

* PuppetDB sync (PE only) now uses the query timeouts introduced in
  [PDB-4937](https://tickets.puppetlabs.com/browse/PDB-4937) to
  further constrain sync operations to run within the
  `entity-time-limit`.
  ([PDB-5232](https://tickets.puppetlabs.com/browse/PDB-5232))

### Contributors

Austin Blatt, Josh Partlow, and Rob Browning

## PuppetDB 8.0.0

Released April 25 2023

## New features and improvements

* Drop joins are now applied when evaluating sub-queries which should result in
  performance improvements.
  ([PDB-5557](https://tickets.puppetlabs.com/browse/PDB-5557))
* PuppetDB now supports query timeouts for queries to the `query/` endpoint via
  an [optional query parameter][query-timeout-parameter]. A
  [default](./configure.markdown#query-timeout-default) and a
  [maximum](./configure.markdown#query-timeout-max) can also be specified in
  the configuration. The current default is ten minutes.
  ([PDB-4937](https://tickets.puppetlabs.com/browse/PDB-4937))

## Removals

* The deprecated query streaming method has been removed, along with the
  associated `PDB_USE_DEPRECATED_STREAMING_METHOD` environment variable.

* The previously optional PostgreSQL trigram index support,
  [`pg_trgm`](https://www.postgresql.org/docs/14/pgtrgm.html) is now required.

### Upgrading

* PuppetDB requires Java 11+ and recommends Java 17. Our packages have
  been updated to require Java 11 or Java 17. **RedHat users** should be aware
  that Java 8 remains the highest priority Java on its distributions even when
  Java 11 is installed. This will cause PuppetDB to fail to start. Changing the
  default Java from 8 to 11 by installing Java 11 and selecting it as the
  default via `alternatives --config java` before upgrading will ensure a
  successful upgrade. The alternatives command can be used to rectify a failed
  PuppetDB 8 upgrade, you will then need to start the service manually.

* PostgreSQL 11, 12, and 13 are no longer supported. PostgreSQL 14+ is
  required. This is not enforced by PuppetDB, so you _can_ continue to use
  those unsupported PostgreSQL versions for now, but we reserve the right to
  change that in any future PuppetDB release. Please use this extra overlap
  time to upgrade your database.

### Contributors

Arthur Lawson, Austin Blatt, Ben Ford, Cas Donoghue, Jonathan Newman,
Josh Partlow, Nick Burgan-Illig, Nick Lewis, Noah Fontes, and Rob
Browning