Feature oriented Revision history for Test-DBIC-ExpectedQueries
===============================================================

2.000 -- 2019-07-17 21:14:39 UTC

* BREAKING CHANGE -- This release includes a bug fix to the
  library. It now tests queries more comprehensively (i.e. all
  queries).

  You may find your tests now breaking when previously they didn't. If
  this happens, you always had inaccurate tests but
  Test::DBIC::ExpectedQueries didn't flag this up correctly.

  This is the fault of this library, not your code. Sorry about that!

  It is however your problem, and now you need to fix your tests.

  If you need to make your tests pass immediately, pin the version to
  pre 2.000, e.g. if you have a "cpanfile" in your project:

    requires "Test::DBIC::ExpectedQueries", "< 2.0";

  The fix you need to make is that the library will now report queries
  that were supposed to run n times, but didn't run at all. Let's say
  you have the check:

    { book_lender => { select => 1 } }

  You might see failures for queries that were supposed to run n times, but
  didn't run at all, e.g.

    Expected '1' inserts for table 'book_lender', got '0

  Whether this is a problem or not depends on the situation. Either
  you're happy that you're not making any redundant queries because
  the information is cached or prefetched. Or this indicates a
  problem, because something that you thought happened isn't.

  In the former case, a useful fix is to either remove the line or to
  relax the test:

    { book_lender => { select => "<= 1" } }


1.011 -- 2015-11-05 15:18:09 UTC

* Bug fix: Avoid wantarray being masked inside try-catch block



1.010 -- 2015-09-23 22:16:24 UTC

* Bug fix: stack trace ignored classes



1.009 -- 2015-09-20 21:34:08 UTC

* Table level option "stack_trace" to show a strack trace for each SQL
  query that fails.



1.008 -- 2015-04-27 14:49:49 UTC

* Replace Attribute::Exporter with Exporter::Tiny, since
  Attribute::Exporter gone dun weird.



1.007 -- 2015-04-27 13:25:09 UTC

* Fixed prereq on Attribute::Exporter



1.006 -- 2015-02-23 09:14:44 UTC

* Fix #1 - Dereference hash for calling 'keys'
  - patch by  Syohei YOSHIDA (syohex)



1.005 -- 2015-02-22 17:58:28 UTC

* More POD improvements



1.004 -- 2015-02-20 17:30:45 UTC

* Default ->test() to an empty hashref

* Reset collected stats when calling ->test() properly!



1.003 -- 2015-02-20 16:48:11 UTC

* Reset collected stats when calling ->test().


1.002 -- 2015-02-20 14:34:10 UTC

* Even more better POD docs.



1.001 -- 2015-02-20 13:51:38 UTC

* POD



1.000 -- 2015-02-19 20:51:12 UTC

* First release