Re: ANN: Sequel 0.4.1 Released



On Nov 26, 2007 2:37 PM, Sharon Rosner <ciconia@xxxxxxxxx> wrote:
Sequel version 0.4.1 has just been released. This release includes
error-handling in worker threads, support for DISTINCT ON clauses,
better support for database access using DBI and automatic adapter
loading.

Sequel is a lightweight ORM library for Ruby. Sequel provides thread
safety, connection pooling and a simple and expressive API for
constructing database queries and table schemas.

=== Changes in this release

* Improved error-handling for worker threads. Errors are saved to an
array and are accessible through #errors (#91).

w = Sequel::Worker.new
w.add {raise "blah blah"}
w.join
w.errors.first.message #=> "blah blah"

* Dataset#uniq/distinct can now accept a column list for DISTINCT ON
clauses.

DB[:items].distinct(:category, price).sql
#=> "SELECT DISTINCT ON (category, price) * FROM items"

* Added support for dbi-xxx URI schemes (#86).

DB = Sequel.open 'dbi-pg://localhost/mydb'

* Put adapter files in lib/sequel/adapters. Requiring sequel/<adapter>
is now deprecated. Users can now just require 'sequel' and adapters
are automagically loaded (#93).

* Reorganized lib directory structure.

* Fixed problem in Database#uri where setting the password would raise
an error (#87).

* Improved Dataset#insert_sql to correctly handle string keys (#92).

* Fixed Model.all.

* Fixed literalization of strings with escape sequences in postgres
adapter (#90).

* Added support for literalizing BigDecimal values (#89).

* Fixed column qualification for joined datasets (thanks Christian).

* Implemented experimental informix adapter.

Thanks Sharon. I'll give this a try and let you know.

I just wonder why the gem requires hoe.

--
Gerardo Santana

.



Relevant Pages

  • ANN: Sequel 2.2.0 Released
    ... Sequel provides thread safety, connection pooling and a concise DSL ... Sequel can now support any association type supported by ... many_to_one:parent ... The PostgreSQL adapter now uses the safer connection-specific ...
    (comp.lang.ruby)
  • ANN: Sequel 1.1 Released
    ... Sequel version 1.1 has just been released. ... classes, including implicit table names, support for virtual ... better validations, as well as many improvements and bug fixes to the ... Changed MySQL adapter to support specifying socket option. ...
    (comp.lang.ruby)
  • ANN: Sequel 0.4.1 Released
    ... error-handling in worker threads, support for DISTINCT ON clauses, ... Sequel is a lightweight ORM library for Ruby. ... Improved error-handling for worker threads. ... Install the gem: ...
    (comp.lang.ruby)
  • ANN: Sequel 0.1.8 Released
    ... Sequel version 0.1.8 has just been released. ... Worst case just remove version 0.1.8 and install version ... The SQLite adapter includes several methods to dynamically control ... sqlite adapter spec. ...
    (comp.lang.ruby)
  • ANN: Sequel 2.11.0 Released
    ... Sequel is a lightweight database access toolkit for Ruby. ... Sequel provides thread safety, connection pooling and a concise DSL ... cast_numeric now work in the MySQL adapter. ...
    (comp.lang.ruby)