ce5be947b4
Revert fixture fixes for postgres Use postgres connection string with spaces instead of url Fix label order Make postgres tests in ci less verbose Add sequence update script Skip resets in postgres Remove option to skip resets in postgres Make postgres tests in ci verboseq Update test fixtures database Fix file tests on postgres Add postgres options to sample config Make sure tests init test fixtures before running the actual tests Fix issues with IDs too big to fit in an int Fix duplicate auto incremented IDs Refactor / Fix team tests Refactor team member tests Fix team member create Fix label test Fix getting labels Fix test fixtures for postgresql Fix connection string params Disable ssl mode on postgres integration tests Disable ssl mode on postgres tests Use sprintf to create the connection string for postgresql fixup! Add postgres support Add postgres support Added generate as a make dependency for make build Clarify docs on building Co-authored-by: kolaente <k@knt.li> Co-authored-by: Jan Tojnar <jtojnar@gmail.com> Reviewed-on: https://kolaente.dev/vikunja/api/pulls/135
2.7 KiB
2.7 KiB
Changelog
v3.1.1 - 2019-01-11
- testfixtures now work with both
mssql
andsqlserver
drivers. Note that themssql
one is deprecated, though. So try to migrate tosqlserver
once possible.
v3.1.0 - 2019-01-09
- Using
sqlserver
driver instead of the deprecatedmssql
(#58).
v3.0.0 - 2019-12-26
Breaking changes
- The import path changed from
gopkg.in/testfixtures.v2
togithub.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 - 2019-10-24
- Add support for TimescaleDB (#53).
v2.5.3 - 2018-12-15
- Fixes related to use of foreign key pragmas on MySQL (#43).
v2.5.2 - 2018-11-25
- This library now supports Go Modules;
- Also allow
.yaml
(as an alternative to.yml
) as the file extension (#42).
v2.5.1 - 2018-11-04
- Allowing disabling reset of PostgreSQL sequences (#38).
v2.5.0 - 2018-09-07
- Add public function DetectTestDatabase (#35, #36).
v2.4.5 - 2018-07-07
- Fix for MySQL/MariaDB: ignoring views on operations that should be run only on tables (#33).
v2.4.4 - 2018-07-02
- Fix for multiple schemas on Microsoft SQL Server (#29 and #30);
- Configuring AppVeyor CI to also test for Microsoft SQL Server.
Sorry, we don't have changelog for older releases 😢.