On Tue, Dec 30, 2008 at 9:55 AM, Dirkjan Bussink <[email protected]> wrote: > > Hello all, > > We'll be doing a DataObjects release probably by the end of this week. > This release include all recent fixes to the various DO drivers, > including: > > - Improved reconnection in both do_postgres and do_mysql. Mysql server > gone away errors should now be a thing of the past. > - Improved platform support. It should now be possible to build on for > example Solaris without any problems. > - Support for specifying an encoding for do_postgres and do_mysql > connections. > - Be more stricter in the supported SQL. By default do_mysql and > do_postgres set options now that make them much more ANSI SQL > compliant. We feel that we should adhere to the standards as close as > possible. > - Exceptions now show what query caused the problem for all drivers. > This makes debugging a lot easier. > - Allow for Regexp arguments to be passed in. > - In various areas strings with \0 characters were truncated. > > These are just the major things, there have a bunch of small fixes in > various areas. The JDBC support for JRuby has also been improved > greatly, but it still needs some work. We welcome all the help we can > get in this area. > > Please test your app with the latest code in github and report any > issues with them, so we can get those fixed before the actual release. > > > > The next release after this one will include a major refactor of how > DO uses exceptions. The first work can be seen in the exception_rework > branch on github: http://github.com/sam/do/commits/exception_rework > > This refactor will allow for giving more detailed exceptions and also > give the developer access to low level information on what exactly > went wrong. The exception hierarchy will be the same for all DO > drivers, and consists of different exceptions for different groups of > errors. This grouping is largely based on the SQL STATE definition and > the groups defined there. For more information, see > http://www.postgresql.org/docs/8.3/static/errcodes-appendix.html > and http://mysql.openmirrors.org/doc/refman/5.0/en/error-messages-server.html > . > > We would like people to take a look at this refactor and express their > opinions. The biggest issue is probably the correct classification of > all the different error messages, this is probably something that > needs to improve over time. >
Excellent news! I'll give a whirl on both master and the new branch and keep everyone posted. This in combination with new build process for gems made my day. Thank you. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
