clear v0.5 Release Notes

Release Date: 2018-12-24 // over 3 years ago
  • ๐Ÿฑ v0.5: Merry christmas ๐ŸŽ„

    ๐Ÿ”‹ Features

    Connection pool

    ๐Ÿ›  Clear wasn't fiber-proof since it lacks of connection pool system. It's now fixed, the connection pooling is done
    completely transparently without any boilerplate on your application side.

    Each fiber may require a specific connection; then the connection is binded to the fiber. In the case of transaction
    and with_savepoint, the connection is kept until the end of the block happens.
    On the case of normal execution or cursors, we store the connection until the execution is done.

    The connection pool is using Channel so in case of pool shortage, the fiber requesting the connection is put in
    waiting state.

    This is a huge step forward:

    • Clear can be used in framework with spawn-based server and other event machine system.
    • ๐ŸŽ I'll work on performance improvement or other subtilities in some specific cases, where multiple requests can be
      parallelized over different connections.

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix #53
    • โšก๏ธ Update ameba to latest version
    • ๐Ÿ”จ Large refactoring on relations
    • ๐Ÿ›  Many bugfixes