Skip to content

Releases: mfvanek/pg-index-health

v.0.14.4

21 Dec 07:27
15b081c
Compare
Choose a tag to compare

What's Changed

  • Next development iteration by @mfvanek in #541
  • [POSSIBLE_OBJECT_NAME_OVERFLOW] Add support for partitioned tables.
  • [PRIMARY_KEYS_WITH_SERIAL_TYPES] Add support for partitioned tables.
  • [PRIMARY_KEYS_WITH_SERIAL_TYPES] Fix insufficient permissions error by @mfvanek in #544
  • Describe the main idea in readme or contribution guide by @mfvanek in #545

Full Changelog: v.0.14.3...v.0.14.4

v.0.14.3

12 Dec 05:59
5709af1
Compare
Choose a tag to compare

What's Changed

  • Next development iteration by @mfvanek in #525
  • Add overloaded methods to create tables/indexes without specifying zero by @mfvanek in #531
  • Bump org.apache.commons:commons-dbcp2 from 2.12.0 to 2.13.0 by @dependabot in #535
  • Bump nl.jqno.equalsverifier:equalsverifier from 3.17.4 to 3.17.5 by @dependabot in #534
  • [PRIMARY_KEYS_WITH_SERIAL_TYPES] ERROR: permission denied for schema XXX by @mfvanek in #537
  • [TABLES_WITHOUT_DESCRIPTION] Consider to skip partitions of table by @mfvanek in #538
  • [TABLES_NOT_LINKED_TO_OTHERS] Decide how to handle partitioned tables by @mfvanek in #539
  • [INDEXES_WITH_NULL_VALUES] Enhance support for partitioned tables/indexes by @mfvanek in #540

Full Changelog: v.0.14.2...v.0.14.3

v.0.14.2

05 Dec 06:27
ca3c9ea
Compare
Choose a tag to compare

What's Changed

  • Next development iteration by @mfvanek in #518
  • Bump nl.jqno.equalsverifier:equalsverifier from 3.17.3 to 3.17.4 by @dependabot in #520
  • Add ability to construct PgConnection from URL by @mfvanek in #522
  • Add ability to customize name of dataSource bean and databaseUrl by @mfvanek in #523

Full Changelog: v.0.14.1...v.0.14.2

v.0.14.1

29 Nov 04:50
e5b6727
Compare
Choose a tag to compare

What's Changed

Full Changelog: v.0.14.0...v.0.14.1

v.0.14.0

27 Nov 15:24
f0b0f8e
Compare
Choose a tag to compare

Breaking changes

In pg-index-health-model

  • BloatAware interface was moved from io.github.mfvanek.pg.model to io.github.mfvanek.pg.model.bloat
  • PgContext class was moved from io.github.mfvanek.pg.model to io.github.mfvanek.pg.model.context
  • DbObject interface was moved from io.github.mfvanek.pg.model to io.github.mfvanek.pg.model.dbobject
  • MemoryUnit enum was moved from io.github.mfvanek.pg.model to io.github.mfvanek.pg.model.units
  • AnyObject class was moved from io.github.mfvanek.pg.model.object to io.github.mfvanek.pg.model.dbobject (for better compatibility with Kotlin)
  • PgObjectType enum was moved from io.github.mfvanek.pg.model.object to io.github.mfvanek.pg.model.dbobject (for better compatibility with Kotlin)
  • IndexBloatAware interface was deleted
  • TableBloatAware interface was deleted
  • PgContext#enrichSequenceWithSchema method was deleted
  • Package io.github.mfvanek.pg.settings was renamed to io.github.mfvanek.pg.model.settings

In pg-index-health-jdbc-connection

  • PgSqlException class was moved from io.github.mfvanek.pg.connection to io.github.mfvanek.pg.connection.exception
  • HostAware interface was moved from io.github.mfvanek.pg.connection to io.github.mfvanek.pg.connection.host
  • PgHost interface was moved from io.github.mfvanek.pg.connection to io.github.mfvanek.pg.connection.host
  • PgHostImpl class was moved from io.github.mfvanek.pg.connection to io.github.mfvanek.pg.connection.host
  • PgUrlParser class was moved from io.github.mfvanek.pg.connection to io.github.mfvanek.pg.connection.host
  • PgConnectionValidators class was moved from io.github.mfvanek.pg.connection to io.github.mfvanek.pg.connection.factory
  • PgConnectionFactory interface was moved from io.github.mfvanek.pg.connection to io.github.mfvanek.pg.connection.factory
  • PgConnectionFactoryImpl class was moved from io.github.mfvanek.pg.connection to io.github.mfvanek.pg.connection.factory
  • HighAvailabilityPgConnectionFactory interface was moved from io.github.mfvanek.pg.connection to io.github.mfvanek.pg.connection.factory
  • HighAvailabilityPgConnectionFactoryImpl class was moved from io.github.mfvanek.pg.connection to io.github.mfvanek.pg.connection.factory
  • ConnectionCredentials class was moved from io.github.mfvanek.pg.connection to io.github.mfvanek.pg.connection.factory
  • PgConnectionHelper class was moved from io.github.mfvanek.pg.connection to io.github.mfvanek.pg.connection.factory

In pg-index-health-logger

  • Package io.github.mfvanek.pg.common.health.logger was renamed to io.github.mfvanek.pg.health.logger
  • DatabaseChecks class was moved from io.github.mfvanek.pg.common.maintenance and renamed to io.github.mfvanek.pg.health.logger.DatabaseChecksOnCluster
  • Enum SimpleLoggingKey was removed
  • Diagnostic is now used for logging check results
  • indexes_with_bloat is now logged as bloated_indexes
  • tables_with_bloat is now logged as bloated_tables
  • ExclusionsBuilder class was removed
  • Exclusions class was significantly refactored

In pg-index-health-core

  • Package io.github.mfvanek.pg.checks.host was renamed to io.github.mfvanek.pg.core.checks.host
  • Package io.github.mfvanek.pg.checks.extractors was renamed to io.github.mfvanek.pg.core.checks.extractors
  • Package io.github.mfvanek.pg.utils was renamed to io.github.mfvanek.pg.core.utils
  • Package io.github.mfvanek.pg.common.maintenance was renamed to io.github.mfvanek.pg.core.checks.common
  • Package io.github.mfvanek.pg.settings was renamed to io.github.mfvanek.pg.core.settings
  • Package io.github.mfvanek.pg.statistics was renamed to io.github.mfvanek.pg.core.statistics
  • Class io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHostImpl was moved to io.github.mfvanek.pg.core.settings.ConfigurationMaintenanceOnHostImpl
  • Class io.github.mfvanek.pg.statistics.maintenance.StatisticsMaintenanceOnHostImpl was moved to io.github.mfvanek.pg.core.statistics.StatisticsMaintenanceOnHostImpl

In pg-index-health

  • Package io.github.mfvanek.pg.utils was renamed to io.github.mfvanek.pg.health.utils
  • Package io.github.mfvanek.pg.checks.cluster was renamed to io.github.mfvanek.pg.health.checks.cluster
  • Package io.github.mfvanek.pg.common.maintenance was renamed to io.github.mfvanek.pg.health.checks.common
  • Package io.github.mfvanek.pg.common.management was renamed to io.github.mfvanek.pg.health.checks.management

What's Changed

  • Next development iteration 0.14.0 by @mfvanek in #496
  • Bump codecov/codecov-action from 4 to 5 by @dependabot in #499
  • Remove deprecated predicates. Use new predicates from pg-index-health-model by @mfvanek in #500
  • Refactor packages in pg-index-health-model by @mfvanek in #501
  • Refactor packages for pg-index-health-jdbc-connection by @mfvanek in #502
  • Refactor packages of pg-index-health-logger by @mfvanek in #504
  • Refactor packages in pg-index-health-core by @mfvanek in #505
  • Refactor packages of pg-index-health by @mfvanek in #506
  • Delete SimpleLoggingKey enum by @mfvanek in #507
  • Final model classes by @mfvanek in #508
  • Fix cross-links in javadoc by @mfvanek in #509
  • DatabaseChecks class was renamed to DatabaseChecksOnCluster by @mfvanek in #510
  • Refactor Exclusions and ExclusionsBuilder to usage of nested class by @mfvanek in #512
  • Add support for PostgreSQL 17 by @mfvanek in #470

Full Changelog: v.0.13.3...v.0.14.0

v.0.13.3

17 Nov 17:49
d1473dc
Compare
Choose a tag to compare

What's Changed

  • Next development iteration 0.13.3 by @mfvanek in #476
  • Extend DatabaseCheckOnHost with overloaded method for public schema with predicate by @mfvanek in #480
  • Consider to add an overloaded constructors to Diagnostic class by @mfvanek in #484
  • Add SkipLiquibaseTablesPredicate and SkipFlywayTablesPredicate by @mfvanek in #485
  • Bump nl.jqno.equalsverifier:equalsverifier from 3.17.1 to 3.17.3 by @dependabot in #486
  • Add SkipTablesByNamePredicate by @mfvanek in #487
  • Add SkipDbObjectsByNamePredicate by @mfvanek in #488
  • Add SkipBySequenceNamePredicate by @mfvanek in #489
  • Add SkipIndexesByNamePredicate by @mfvanek in #490
  • Add SkipBloatUnderThresholdPredicate by @mfvanek in #491
  • Add SkipSmallTablesPredicate by @mfvanek in #492
  • Add SkipSmallIndexesPredicate by @mfvanek in #493
  • Add ability to skip DuplicatedIndexes by name by @mfvanek in #494

Full Changelog: v.0.13.2...v.0.13.3

v.0.13.2

02 Nov 13:05
be5dedf
Compare
Choose a tag to compare

What's Changed

  • Next development iteration 0.13.2 by @mfvanek in #455
  • Bump de.thetaphi:forbiddenapis from 3.7 to 3.8 by @dependabot in #460
  • Add check type to each diagnostic by @mfvanek in #461
  • Add ability to filter out results on host by @mfvanek in #463
  • Get rid of duplication in HealthLoggerTest and StandardHealthLoggerTest by @mfvanek in #464
  • Add a check for identifiers with maximum length by @mfvanek in #466
  • Add check "Tables are not linked to other tables" by @mfvanek in #469
  • Bump org.testcontainers:testcontainers-bom from 1.20.2 to 1.20.3 by @dependabot in #473
  • Add check "The type of the foreign key must match the type of column in the target table" by @mfvanek in #471

Full Changelog: v.0.13.1...v.0.13.2

v.0.13.1

12 Oct 10:26
2a35da2
Compare
Choose a tag to compare

What's Changed

  • Next development iteration 0.13.1 by @mfvanek in #424
  • Bump io.spring.dependency-management from 1.1.5 to 1.1.6 by @dependabot in #426
  • Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.15.0 by @dependabot in #429
  • Bump org.testcontainers:testcontainers-bom from 1.19.8 to 1.20.0 by @dependabot in #428
  • Bump org.testcontainers:testcontainers-bom from 1.20.0 to 1.20.1 by @dependabot in #431
  • Bump org.awaitility:awaitility from 4.2.1 to 4.2.2 by @dependabot in #434
  • Bump io.freefair.lombok from 8.6 to 8.7.1 by @dependabot in #436
  • Bump org.apache.commons:commons-lang3 from 3.15.0 to 3.16.0 by @dependabot in #435
  • Bump org.postgresql:postgresql from 42.7.3 to 42.7.4 by @dependabot in #441
  • Bump nl.jqno.equalsverifier:equalsverifier from 3.16.1 to 3.16.2 by @dependabot in #442
  • Bump io.freefair.lombok from 8.7.1 to 8.10 by @dependabot in #439
  • Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 by @dependabot in #443
  • Bump nl.jqno.equalsverifier:equalsverifier from 3.16.2 to 3.17 by @dependabot in #447
  • Add model for duplicated and intersected foreign keys by @mfvanek in #450
  • Add checks for duplicated and intersected foreign keys by @mfvanek in #451

Full Changelog: v.0.13.0...v.0.13.1

v.0.13.0

23 Jun 09:36
9012ba3
Compare
Choose a tag to compare

Contains breaking changes: codebase was split to two new modules

What's Changed

  • Next development iteration by @mfvanek in #410
  • Update sql queries by @mfvanek in #414
  • Find a way to reduce amount of boilerplate code in tests by @BLoHny in #413
  • Move health logger to a separate module (breaking change) by @mfvanek in #417
  • Add core module for checks on a specific host (breaking change) by @mfvanek in #420
  • Add check for primary keys with serial types by @mfaulther in #421
  • Add forbidden api checker by @BLoHny in #418
  • Add enrichSequenceWithSchema method by @mfvanek in #423

New Contributors

Full Changelog: v.0.12.0...v.0.13.0

v.0.12.0

28 May 16:11
091d3b0
Compare
Choose a tag to compare

What's Changed

Contains breaking changes: bloat threshold type was changed from int to double

Full Changelog: v.0.11.1...v.0.12.0