github theory/pgtap v1.2.0
Release v1.2.0

latest releases: v1.3.3, v1.3.2, v1.3.1...
2 years ago

Changes for v1.2.0:

  • Made the description field optional in has_view() and hasnt_view() when
    specifying schema (#230). Thanks to Godwottery for the patch!
  • Added support for the date and time keywords CURRENT_DATE, CURRENT_TIME,
    CURRENT_TIMESTAMP, LOCALTIME, and LOCALTIMESTAMP to col_default_is().
    Thanks to Kevin Brannen for the report (#244)!
  • Fixed failure to run tests on Postgres 13. Thanks to Christoph Berg for the
    report (#248).
  • Documented that mixed-case column names created with double quotes
    must be double-quoted when passed to has_index() or is_indexed(),
    sadly unlike other column arguments in pgTAP. Thanks to Keith Fiske for
    the report (#247).
  • Fixed test failures where the current username was not being quoted as an
    identifier. Thanks to Matt DeLuco for the report (#216) and pull request
    #259)!
  • Fixed the col_not_null() drop statements in the uninstall script. Thanks
    to Kyle L. Jensen for the report (#252).
  • Removed straggler references to Postgres 9.0 and earlier, including
    conditional tests.
  • Updated all relevant URLs to use https instead of http.
  • Added instructions to install the extension on a host with PostgreSQL running
    and with the contrib modules installed. Thanks to F. Eugene Aumson for the
    report (#276).
  • Fixed test failures due to changes in PostgreSQL 14. Thanks to Christoph Berg
    for the report (#277).
  • Added isnt_member_of() (#38, #204). Thanks to Wolfgang Walther for the
    pull request (#249).
  • Added docker files for local test environment. Thanks to Wolfgang Walther for
    the pull request (#250).
  • Added hasnt_operator(), hasnt_leftop(), hasnt_rightop() (#38). Thanks to
    Wolfgang Walther for the pull request (#251).
  • Improved the output of results_eq() and results_ne() when the number of
    columns or their types are different (#37). Thanks to Wolfgang Walther for
    the pull request (#255).
  • Fixed testing issue where tests for unsupported features were not properly
    skipped on Postgres 9.6 and earlier. Only appeared when tests were run
    serially (#279).
  • Fixed an issue where tests might not run in parallel even when the server
    supported it (#279).

Don't miss a new pgtap release

NewReleases is sending notifications on new releases.