Releases: prometheus/client_java
Releases · prometheus/client_java
v1.4.1
What's Changed
🏕 Features
- add missing builder method for escaping scheme by @zeitlinger in #1518
Full Changelog: v1.4.0...v1.4.1
v1.4.0
What's Changed
Unicode support
UTF-8 is now supported for metric and label names!
- this is a backwards compatible change
- only Prometheus servers that can handle UTF-8 will actually see it
- otherwise you'll still get the same
_
replacement characters as before
- in the push gateway, you have to enable UTF-8 support explicitly
- unit names still do not support UTF-8
- refer to the documentation for details
🏕 Features
- UTF-8 support in metric and label names by @fedetorres93 in #1255
- public StatefulMetric by @sideeffffect in #1474
- Builder.withoutExemplars() setting cannot be overridden via properties by @cruftex in #1477
- Update PrometheusScrapeHandler compression handling by @jaydeluca in #1493
🧹 Chore
- pin mise by @zeitlinger in #1475
- add Nullaway by @zeitlinger in #1511
👒 Dependencies
- Update dependency com.diffplug.spotless:spotless-maven-plugin to v2.45.0 by @renovate[bot] in #1452
- Update module go:github.com/gohugoio/hugo to v0.148.0 by @renovate[bot] in #1453
- Update dependency com.google.errorprone:error_prone_core to v2.40.0 by @renovate[bot] in #1454
- Update eclipse-temurin:21.0.7_6-jre Docker digest to f7d9b21 by @renovate[bot] in #1455
- Update module go:github.com/gohugoio/hugo to v0.148.1 by @renovate[bot] in #1456
- Update jdx/mise-action action to v2.4.0 by @renovate[bot] in #1457
- Update dependency com.github.ben-manes.caffeine:caffeine to v3.2.2 by @renovate[bot] in #1458
- Update prom/prometheus Docker tag to v3.5.0 by @renovate[bot] in #1459
- Update otel/opentelemetry-collector-contrib Docker tag to v0.130.0 by @renovate[bot] in #1460
- Update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.6.1 by @renovate[bot] in #1462
- Update dependency maven to v3.9.11 by @renovate[bot] in #1461
- Update eclipse-temurin:21.0.7_6-jre Docker digest to 28bede2 by @renovate[bot] in #1463
- Update eclipse-temurin:21.0.7_6-jre Docker digest to 313b224 by @renovate[bot] in #1464
- Update dependency commons-io:commons-io to v2.20.0 by @renovate[bot] in #1468
- Update dependency java to v21.0.8+9.0.LTS by @renovate[bot] in #1465
- Update module go:github.com/grafana/oats to v0.4.0 by @renovate[bot] in #1466
- Update eclipse-temurin:21.0.7_6-jre Docker digest to bca347d by @renovate[bot] in #1469
- Update dependency com.diffplug.spotless:spotless-maven-plugin to v2.46.0 by @renovate[bot] in #1470
- Update super-linter/super-linter action to v8 by @renovate[bot] in #1467
- Update junit-framework monorepo to v5.13.4 by @renovate[bot] in #1472
- Update dependency com.diffplug.spotless:spotless-maven-plugin to v2.46.1 by @renovate[bot] in #1473
- Update otel/opentelemetry-collector-contrib Docker tag to v0.130.1 by @renovate[bot] in #1476
- Update grafana/grafana Docker tag to v12.1.0 by @renovate[bot] in #1479
- Update jdx/mise-action action to v2.4.2 by @renovate[bot] in #1480
- Update dependency org.springframework.boot:spring-boot-starter-parent to v3.5.4 by @renovate[bot] in #1481
- Update module go:github.com/gohugoio/hugo to v0.148.2 by @renovate[bot] in #1484
- Update jdx/mise-action action to v2.4.4 by @renovate[bot] in #1485
- Update dependency mise to v2025.7.29 by @renovate[bot] in #1486
- Update otel/opentelemetry-collector-contrib Docker tag to v0.131.0 by @renovate[bot] in #1487
- Update dependency com.google.errorprone:error_prone_core to v2.41.0 by @renovate[bot] in #1482
- Update otel/opentelemetry-collector-contrib Docker tag to v0.131.1 by @renovate[bot] in #1491
- Update eclipse-temurin Docker tag to v21.0.8_9-jre by @renovate[bot] in #1490
- Update dependency org.apache.tomcat.embed:tomcat-embed-core to v11.0.10 by @renovate[bot] in #1492
- Update grafana/tempo Docker tag to v2.8.2 by @renovate[bot] in #1494
- Update jetty monorepo to v12.0.24 by @renovate[bot] in #1495
- Update dependency org.assertj:assertj-core to v3.27.4 by @renovate[bot] in #1497
- Update actions/cache digest to 0400d5f by @renovate[bot] in #1496
- Update dependency mise to v2025.8.7 by @renovate[bot] in #1499
- Update actions/checkout action to v4.3.0 by @renovate[bot] in #1501
- Update actions/checkout digest to 08eba0b by @renovate[bot] in #1500
- Update actions/checkout action to v5 by @renovate[bot] in #1502
- Update eclipse-temurin:21.0.8_9-jre Docker digest to b2fa3ed by @renovate[bot] in #1503
- Update jetty monorepo to v12.0.25 by @renovate[bot] in #1504
- Update eclipse-temurin:21.0.8_9-jre Docker digest to ea350fe by @renovate[bot] in #1505
- Update otel/opentelemetry-collector-contrib Docker tag to v0.132.0 by @renovate[bot] in #1506
- Update otel/opentelemetry-collector-contrib Docker tag to v0.132.1 by @renovate[bot] in #1507
- Update grafana/k6 Docker digest to 072db02 by @renovate[bot] in #1508
- Update grafana/grafana Docker tag to v12.1.1 by @renovate[bot] in #1509
- Update otel/opentelemetry-collector-contrib Docker tag to v0.132.2 by @renovate[bot] in #1510
- Update dependency org.mockito:mockito-core to v5.19.0 by @renovate[bot] in #1514
- Update dependency com.google.protobuf:protobuf-java to v4.32.0 by @renovate[bot] in #1513
- Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.11.3 by @renovate[bot] in #1515
- Update dependency mise to v2025.8.12 by @renovate[bot] in #1516
- Update otel/opentelemetry-collector-contrib Docker tag to v0.132.4 by @renovate[bot] in #1517
New Contributors
- @sideeffffect made their first contribution in #1474
- @cruftex made their first contribution in #1477
- @jaydeluca made their first contribution in #1493
- @fedetorres93 made their first contribution in #1255
Full Changelog: v1.3.10...v1.4.0
v1.3.10
What's Changed
🏕 Features
- Add exposition textformats to bom by @technicallyjames in #1451
👒 Dependencies
- Update junit-framework monorepo to v5.13.3 by @renovate in #1448
- Update dependency org.apache.tomcat.embed:tomcat-embed-core to v11.0.9 by @renovate in #1449
Full Changelog: v1.3.9...v1.3.10
v1.3.9
What's Changed
🏕 Features
🧹 Chore
- fix gh pages locally by @zeitlinger in #1374
- Improve renovate by @zeitlinger in #1379
- fix renovate by @zeitlinger in #1385
- Changed workflow to only build GitHub pages on prometheus/client_java by @dhoard in #1392
- renovate exclude by @zeitlinger in #1395
- MISE_ENABLE_TOOLS is not supported by mise action by @zeitlinger in #1437
- add label to renovate prs, fix release by @zeitlinger in #1446
👒 Dependencies
- Configure Renovate by @renovate in #1375
- Update dependency io.dropwizard.metrics:metrics-core to v4.2.32 by @renovate in #1377
- Update jdx/mise-action digest to c160601 by @renovate in #1376
- Update dependency java to v17.0.15+6 by @renovate in #1380
- Update jdx/mise-action action to v2.2.2 by @renovate in #1381
- Update eclipse-temurin Docker tag to v17.0.15_6-jre by @renovate in #1383
- Update grafana/grafana Docker tag to v10.4.19 by @renovate in #1384
- Update grafana/tempo Docker tag to v2.7.2 by @renovate in #1386
- Update prom/prometheus Docker tag to v2.55.1 by @renovate in #1389
- Update otel/opentelemetry-collector-contrib Docker tag to v0.126.0 by @renovate in #1388
- Update jdx/mise-action action to v2.2.3 by @renovate in #1390
- Update dependency java to v21 by @renovate in #1391
- Update eclipse-temurin Docker tag to v21.0.7_6-jre by @renovate in #1393
- Update grafana/grafana Docker tag to v12 by @renovate in #1394
- Update prom/prometheus Docker tag to v3 by @renovate in #1396
- Update otel/opentelemetry-collector-contrib Docker tag to v0.127.0 by @renovate in #1397
- Update dependency org.codehaus.mojo:exec-maven-plugin to v3.5.1 by @renovate in #1399
- Update dependency com.diffplug.spotless:spotless-maven-plugin to v2.44.5 by @renovate in #1400
- Update module go:github.com/gohugoio/hugo to v0.147.6 by @renovate in #1401
- Update dependency org.testcontainers:junit-jupiter to v1.21.1 by @renovate in #1403
- Update openjdk Docker tag to v11.0.16-jre by @renovate in #1405
- Update prom/prometheus Docker tag to v3.4.1 by @renovate in #1407
- Update module go:github.com/gohugoio/hugo to v0.147.7 by @renovate in #1406
- Update dependency org.apache.maven.plugins:maven-clean-plugin to v3.5.0 by @renovate in #1408
- Update protobuf monorepo by @renovate in #1402
- Update junit5 monorepo to v5.13.0 by @renovate in #1404
- Update module go:github.com/grafana/oats to v0.3.2 by @renovate in #1409
- Update jetty monorepo to v12.0.22 by @renovate in #1410
- Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.6.1 by @renovate in #1412
- Update dependency maven to v3.9.10 by @renovate in #1413
- Update junit5 monorepo to v5.13.1 by @renovate in #1414
- Update module go:github.com/gohugoio/hugo to v0.147.8 by @renovate in #1415
- Update dependency com.github.ben-manes.caffeine:caffeine to v3.2.1 by @renovate in #1416
- Update dependency org.apache.tomcat.embed:tomcat-embed-core to v11.0.8 by @renovate in #1417
- Update otel/opentelemetry-collector-contrib Docker tag to v0.128.0 by @renovate in #1418
- Update grafana/tempo Docker tag to v2.8.0 by @renovate in #1419
- Update dependency org.wiremock:wiremock to v3.13.1 by @renovate in #1420
- Update dependency org.sonatype.central:central-publishing-maven-plugin to v0.8.0 by @renovate in #1422
- Update grafana/grafana Docker tag to v12.0.2 by @renovate in #1423
- Update grafana/tempo Docker tag to v2.8.1 by @renovate in #1424
- Update dependency org.testcontainers:junit-jupiter to v1.21.2 by @renovate in #1425
- Update dependency org.springframework.boot:spring-boot-starter-parent to v3.5.1 by @renovate in #1426
- Update dependency org.springframework.boot:spring-boot-starter-parent to v3.5.2 by @renovate in #1427
- Update dependency org.springframework.boot:spring-boot-starter-parent to v3.5.3 by @renovate in #1429
- Update dependency io.dropwizard.metrics:metrics-core to v4.2.33 by @renovate in #1428
- Update module go:github.com/gohugoio/hugo to v0.147.9 by @renovate in #1432
- Update dependency io.dropwizard.metrics5:metrics-core to v5.0.1 by @renovate in #1430
- Update junit-jupiter.version to v5.13.2 by @renovate in #1434
- Update jdx/mise-action action to v2.3.1 by @renovate in #1436
- Update prom/prometheus Docker tag to v3.4.2 by @renovate in #1438
- Update dependency org.testcontainers:junit-jupiter to v1.21.3 by @renovate in #1439
- Update dependency org.apache.maven.plugins:maven-gpg-plugin to v3.2.8 by @renovate in #1442
- Update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.6.0 by @renovate in #1443
- Update jetty monorepo to v12.0.23 by @renovate in #1444
- Update otel/opentelemetry-collector-contrib Docker tag to v0.129.1 by @renovate in #1445
- Update dependency com.google.errorprone:error_prone_core to v2.39.0 by @renovate in #1435
- Pin dependencies by @renovate in #1447
New Contributors
Full Changelog: v1.3.8...v1.3.9
v1.3.8
What's Changed
🏕 Features
- Introduce removeIf method to StatefulMetric by @dao-jun in #1339
- bom should not include junit by @zeitlinger in #1359
- Fixed typos by @dhoard in #1363
- Let clients of DropwizardExports handle validation errors by @mnssn in #1354
- Dropwizard apply label mapper to snapshot metrics by @KacperFilutowski-TomTom in #1266
👒 Dependencies
- Bump jetty-server.version from 12.0.20 to 12.0.21 by @dependabot in #1349
- Bump org.apache.tomcat.embed:tomcat-embed-core from 11.0.6 to 11.0.7 by @dependabot in #1350
- Bump com.google.protobuf:protobuf-java from 4.30.2 to 4.31.0 by @dependabot in #1357
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.15.0-alpha to 2.16.0-alpha by @dependabot in #1358
- Bump super-linter/super-linter from 7.3.0 to 7.4.0 by @dependabot in #1362
- Bump org.mockito:mockito-core from 5.17.0 to 5.18.0 by @dependabot in #1365
- Bump org.springframework.boot:spring-boot-starter-parent from 3.4.5 to 3.4.6 by @dependabot in #1366
New Contributors
- @dao-jun made their first contribution in #1339
- @mnssn made their first contribution in #1354
- @KacperFilutowski-TomTom made their first contribution in #1266
Full Changelog: v1.3.7...v1.3.8
v1.3.7
What's Changed
🏕 Features
- Use bulk string writes for text formats by @marschall in #1273
- fix method name in two Histogram builder method javadocs by @benjaminp in #1302
- Set a name to threads created by Scheduler Threadfactory by @edoardocomar in #1307
- add option to skip the shaded protobuf and otel libraries by @zeitlinger in #1293
- fix timestamp representation by @zeitlinger in #1292
- Eagerly reject null label values by @benjaminp in #1335
- Fix broken link to "Exclude protobuf exposition format" section by @izeye in #1347
- Synchronize common files from prometheus/prometheus by @prombot in #1340
🧹 Chore
- increase coverage by @zeitlinger in #1276
- fix gh pages by @zeitlinger in #1278
- Fix documentation typo by @bzier in #1282
- use Mise by @zeitlinger in #1319
- Fix next SNAPSHOT version by @fstab in #1217
- add Zizmor by @zeitlinger in #1337
- fix gh pages, add super linter by @zeitlinger in #1338
- add release.yml by @zeitlinger in #1341
- Fix by @zeitlinger in #1342
- fix lint by @zeitlinger in #1343
- Fix release by @zeitlinger in #1344
👒 Dependencies
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.12.0-alpha to 2.13.0-alpha by @dependabot in #1275
- Bump org.apache.tomcat.embed:tomcat-embed-core from 11.0.2 to 11.0.4 by @dependabot in #1274
- Bump org.apache.maven.plugins:maven-clean-plugin from 3.4.0 to 3.4.1 by @dependabot in #1279
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.13.0-alpha to 2.13.1-alpha by @dependabot in #1280
- Bump org.testcontainers:junit-jupiter from 1.20.4 to 1.20.5 by @dependabot in #1281
- Bump org.awaitility:awaitility from 4.2.2 to 4.3.0 by @dependabot in #1286
- Bump com.diffplug.spotless:spotless-maven-plugin from 2.44.2 to 2.44.3 by @dependabot in #1284
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.13.0 to 3.14.0 by @dependabot in #1283
- Bump org.springframework.boot:spring-boot-starter-parent from 3.4.2 to 3.4.3 by @dependabot in #1285
- Bump org.slf4j:slf4j-simple from 2.0.16 to 2.0.17 by @dependabot in #1288
- Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.8.0 to 3.9.0 by @dependabot in #1290
- Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.3 to 3.1.4 by @dependabot in #1291
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.13.1-alpha to 2.13.2-alpha by @dependabot in #1289
- Bump junit-jupiter.version from 5.11.4 to 5.12.0 by @dependabot in #1287
- Bump org.apache.maven.plugins:maven-install-plugin from 3.1.3 to 3.1.4 by @dependabot in #1294
- Bump org.mockito:mockito-core from 5.15.2 to 5.16.0 by @dependabot in #1297
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.13.2-alpha to 2.13.3-alpha by @dependabot in #1296
- Bump org.testcontainers:junit-jupiter from 1.20.5 to 1.20.6 by @dependabot in #1298
- Bump org.wiremock:wiremock from 3.12.0 to 3.12.1 by @dependabot in #1295
- Bump com.google.protobuf:protobuf-java from 4.29.3 to 4.30.0 by @dependabot in #1299
- Bump jetty-server.version from 12.0.16 to 12.0.17 by @dependabot in #1300
- Bump org.apache.tomcat.embed:tomcat-embed-core from 11.0.4 to 11.0.5 by @dependabot in #1301
- Bump junit-jupiter.version from 5.12.0 to 5.12.1 by @dependabot in #1304
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.13.3-alpha to 2.14.0-alpha by @dependabot in #1306
- Bump com.google.protobuf:protobuf-java from 4.30.0 to 4.30.1 by @dependabot in #1305
- Bump org.mockito:mockito-core from 5.16.0 to 5.16.1 by @dependabot in #1308
- Bump jetty-server.version from 12.0.17 to 12.0.18 by @dependabot in #1309
- Bump com.google.guava:guava from 33.4.0-jre to 33.4.5-jre by @dependabot in #1310
- Bump com.google.errorprone:error_prone_core from 2.36.0 to 2.37.0 by @dependabot in #1311
- Bump org.springframework.boot:spring-boot-starter-parent from 3.4.3 to 3.4.4 by @dependabot in #1312
- Bump com.google.guava:guava from 33.4.5-jre to 33.4.6-jre by @dependabot in #1313
- Bump com.google.protobuf:protobuf-java from 4.30.1 to 4.30.2 by @dependabot in #1314
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.2 to 3.5.3 by @dependabot in #1315
- Bump org.jacoco:jacoco-maven-plugin from 0.8.12 to 0.8.13 by @dependabot in #1318
- Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.5.2 to 3.5.3 by @dependabot in #1316
- Bump org.mockito:mockito-core from 5.16.1 to 5.17.0 by @dependabot in #1320
- Bump jetty-server.version from 12.0.18 to 12.0.19 by @dependabot in #1317
- Bump com.diffplug.spotless:spotless-maven-plugin from 2.44.3 to 2.44.4 by @dependabot in #1322
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.14.0-alpha to 2.15.0-alpha by @dependabot in #1326
- Bump org.apache.tomcat.embed:tomcat-embed-core from 11.0.5 to 11.0.6 by @dependabot in #1324
- Bump com.google.guava:guava from 33.4.6-jre to 33.4.7-jre by @dependabot in #1323
- Bump junit-jupiter.version from 5.12.1 to 5.12.2 by @dependabot in #1327
- Bump commons-io:commons-io from 2.18.0 to 2.19.0 by @dependabot in #1328
- Bump junit-jupiter.version from 5.12.2 to 5.12.2 by @dependabot in #1329
- Bump com.google.guava:guava from 33.4.7-jre to 33.4.8-jre by @dependabot in #1330
- Bump com.google.errorprone:error_prone_core from 2.37.0 to 2.38.0 by @dependabot in #1332
- Bump org.wiremock:wiremock from 3.12.1 to 3.13.0 by @dependabot in #1334
- Bump org.testcontainers:junit-jupiter from 1.20.6 to 1.21.0 by @dependabot in #1333
- Bump org.springframework.boot:spring-boot-starter-parent from 3.4.4 to 3.4.5 by @dependabot in #1336
- Bump jetty-server.version from 12.0.19 to 12.0.20 by @dependabot in #1345
- Bump jdx/mise-action from 2.2.1 to 2.2.2 by @dependabot in #1348
New Contributors
- @marschall made their first contribution in #1273
- @bzier made their first contribution in #1282
- @benjaminp made their first contribution in #1302
- @edoardocomar made their first contribution in #1307
- @izeye made their first contribution in #1347
Full Changelog: v1.3.6...v1.3.7
v1.3.6
What's Changed
- rename files to avoid dependabot security warnings by @zeitlinger in #1239
- Use buffered writer by @michaldo in #1241
- Use buffered writer by @dhoard in #1248
- add dropwizard to bom by @zeitlinger in #1250
- Caffeine instrumentation: add weighted size metric by @jhominal in #1251
- Add documentation pages for Caffeine and Guava cache instrumentation libraries by @jhominal in #1262
- bom should not include guava - it was only for internal code reuse by @zeitlinger in #1269
New Contributors
- @Stephan202 made their first contribution in #1242
- @michaldo made their first contribution in #1241
- @jhominal made their first contribution in #1251
Full Changelog: v1.3.5...v1.3.6
v1.3.5
What's Changed
- Bump com.google.protobuf:protobuf-java from 4.28.3 to 4.29.1 by @dependabot in #1222
- Add support for dw-metrics 4.x by @kingster in #1228
Full Changelog: v1.3.4...v1.3.5
v1.3.4
What's Changed
- Add instrumentation for Guava & Caffeine to BOM by @der-eismann in #1175
- fix register part of documentation for caffeine & guava instrumentati… by @pheyken in #1203
- [prometheus-metrics-instrumentation-caffeine] implement getPrometheus… by @pheyken in #1206
- [prometheus-metrics-instrumentation-guava] implement getPrometheusNames by @pheyken in #1211
- make Protobuf optional by @zeitlinger in #1190
New Contributors
- @der-eismann made their first contribution in #1175
Full Changelog: v1.3.3...v1.3.4
v1.3.3
What's Changed
- Bump com.google.protobuf:protobuf-java from 4.28.2 to 4.28.3 by @dependabot in #1178
- Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha from 2.8.0-alpha to 2.9.0-alpha by @dependabot in #1164
- avoid ConcurrentModificationException by @zeitlinger in #1191
- revert incompatible api change by @zeitlinger in #1192
Full Changelog: v1.3.2...v1.3.3