All Versions
21
Latest Version
Avg Release Cycle
101 days
Latest Release
672 days ago

Changelog History
Page 2

  • v3.1.2 Changes

    April 26, 2020
    • Dump: Fix column order in generated YAML files (#62).
  • v3.1.1 Changes

    January 11, 2019
    • โœ… testfixtures now work with both mssql and sqlserver drivers. Note that the mssql one is deprecated, though. So try to migrate to sqlserver once possible.
  • v3.1.0 Changes

    January 09, 2019
    • ๐Ÿ—„ Using sqlserver driver instead of the deprecated mssql (#58).
  • v3.0.0 Changes

    December 26, 2019

    ๐Ÿ’ฅ Breaking changes

    • โœ… The import path changed from gopkg.in/testfixtures.v2 to github.com/go-testfixtures/testfixtures/v3.
    • ๐Ÿ“ฆ This package no longer support Oracle databases. This decision was taken because too few people actually used this package with Oracle and it was the most difficult to test (we didn't run on CI due the lack of an official Docker image, etc).
    • The public API was totally rewritten to be more flexible and ideomatic. It now uses functional options. It differs from v2, but should be easy enough to upgrade.
    • ๐Ÿšš Some deprecated APIs from v2 were removed as well.
    • This now requires Go >= 1.13.

    ๐Ÿ†• New features

    • โœ… We now have a CLI so you can easily use testfixtures to load a sample database from fixtures if you want.
    • Templating via text/template is now available. This allows some fancier use cases like generating data or specific columns dynamically.
    • ๐Ÿ“œ It's now possible to choose which time zone to use when parsing timestamps from fixtures. The default is the same as before, whatever is set on time.Local.
    • Errors now use the new %w verb only available on Go >= 1.13.

    MISC

    • Travis and AppVeyor are gone. We're using GitHub Actions exclusively now. The whole suite is ran inside Docker (with help of Docker Compose), so it's easy to run tests locally as well.

    Check the new README for some examples!

  • v2.6.0 Changes

    October 24, 2019
    • โž• Add support for TimescaleDB (#53).
  • v2.5.3 Changes

    December 15, 2018
    • ๐Ÿ›  Fixes related to use of foreign key pragmas on MySQL (#43)
  • v2.5.2 Changes

    November 25, 2018
    • ๐Ÿ‘ This library now supports Go Modules;
    • โœ… Also allow .yaml (as an alternative to .yml) as the file extension (#42).
  • v2.5.1 Changes

    November 04, 2018
    • ๐Ÿ‘ Allowing disabling reset of PostgreSQL sequences (#38)
  • v2.5.0 Changes

    September 07, 2018
    • โž• Add public function DetectTestDatabase (#35, #36)
  • v2.4.5 Changes

    July 07, 2018
    • ๐Ÿ›  Fix for MySQL/MariaDB: ignoring views on operations that should be run only on tables (#33)