Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v0.31
Commits on Nov 9, 2009
  1. Timestamped for 0.31.

    authored
Commits on Nov 8, 2009
  1. Alignment.

    authored
  2. Likely fix for Win32 failure

    authored
Commits on Nov 1, 2009
  1. @rbuels
Commits on Oct 31, 2009
  1. More refactoring

    authored
    Also Changed `svp()` so that it redispatches to `txn()` earlier, and without
    starting a savepoint. Transactionally, the result is equivalent, but it's a
    tad more efficient (saving a couple of calls to the database).
  2. Remove methods deprecated in 0.20

    authored
    Gone:
    * `do()`
    * `txn_do()`
    * `svp_do()`
    * `clear_cache()`
Commits on Oct 30, 2009
  1. Added missing version numbers to DBIx::Connector::Driver::SQLite and …

    authored
    …the proxy
    
    class used by `with()`.
Commits on Oct 29, 2009
  1. Let `svp()` be a no-op on non-savepoint RDBMSs.

    authored
    * `svp()` no longer throws an exception whe used with an RDBMS that doesn't
      support savepoints. In such situations, savepoints are treated as a no-op,
      and thus the transactional behavior of `svp()` becomes the same as `txn()`.
    * Moved up the discussion of calling `svp()` outside of a transaction in the
      documentation.
Commits on Oct 27, 2009
  1. Update README.

    authored
  2. Ignore `MYMETA.yml`.

    authored
  3. Compatibility change: Additional arguments to `run()`, `txn()`, and `…

    authored
    …svp()`
    
    are no longer passed on to the execution of the block, since they are
    immediately available to the closure, anyway. This simplifies things for
    integrated exception handling.
Commits on Oct 24, 2009
  1. Remove To Dos section

    authored
    I added the last item on the list in the last commit.
  2. Add integrated exception handling

    authored
    May or may not add our own `catch` function, but it is nice just to have the code ref support to start with.
  3. I don't think I want to add an `auto_savepoint` option

    authored
    Users can just use `svp()` when that's what they mean. I think I'll just wait
    to see what kind of pushback I get from the DBIx::Class folks before adding
    something like this. They may not need it at all, and no one else is likely
    to.
  4. Added notes for exception-handling to-do.

    authored
    I think it'd be best done by passing another code ref to `run()` and friends,
    which would work nicely with Try::Tiny.
    
    Also removed the to-do about exception objects. There is no place that the
    code dies with a string, it simply rethrows exceptions from the blocks. And
    because those exceptions end in a newline (when created via `die $string`,
    becaus Perl adds a newline after the file and line number), it's context
    should always be correct.
Commits on Oct 23, 2009
  1. Indentation.

    authored
Commits on Oct 21, 2009
  1. Remove undocumented and redundant savepoint methods

    authored
    Removed the undocumented `savepoint()`, `release()`, and `rollback_to()`
    methods from DBIx::Connector, since those methods are in the drivers, and so
    were redundant.
Commits on Oct 20, 2009
  1. Timestamped for 0.20.

    authored
  2. Incremented version to 0.20

    authored
    Also added the version to the drivers and updated the `README`.
  3. Rewrote the docs for all the changes

    authored
    Also:
    * Noted compatibility changes first in `Changes`.
    * Added `dbh()` method to the proxy object.
    * Fixed a warning in `t/with.t`.
Commits on Oct 19, 2009
  1. Add `with()`

    authored
    It returns a proxy object that has a default value for `run()` and friends.
  2. Eliminate caching and mod_perl special-casing

    authored
    Due to conversation with mst, who points out that it's the caching in
    Apache::DBI and `connect_cached()` that lead to action-at-a-distance bugs.
    DBIx::Connector is now about maintaining a connection across forks and
    threads. Caching should be handled elsewhere.
  3. Updated `Changes`

    authored
  4. Simplified the block methods

    authored
    * There are now only three block methods: `run()`, `txn()`, and `svp()`.
    * By default, they neither ping nor fixup.
    * Pass "ping" or "fixup" as the first argument to change that.
    * Also support "no_ping" as the default. May or may not document that.
    * Ripped out all the docs for the old methods.
    
    Next up:
    * Documentation updates.
    * Removing caching.
    * Adding a decorator to set a different default mode for the block methods.
Commits on Oct 16, 2009
  1. Did that.

    authored
Something went wrong with that request. Please try again.