What?
org.clojure/java.jdbc "0.5.8"
Clojure contrib wrapper for JDBC database operations
Where?
https://github.com/clojure/java.jdbc#change-log
Why?
The 0.5.x series of releases DEPRECATES all the variadic function calls
in the library and adds new function signatures that are more consistent and
more composable. Use of the variadic signatures will produce a DEPRECATED
warning, printed to the console.
The 0.5.8 release is a bridge to the upcoming 0.6.0 release which will
REMOVE all the DEPRECATED functionality in the library. Expect 0.6.0-alpha1
later today.
Changes (in 0.5.5 through 0.5.8):
* Release 0.5.8 on 2016-04-12
* db-do-commands now expects multiple commands to be be wrapped in a vector
JDBC-122 <http://dev.clojure.org/jira/JDBC-123>. The single command form is
unchanged (but may be wrapped in a vector). Calling db-do-commands with
multiple commands (not wrapped in a single vector) will produce a "DEPRECATED"
warning printed to the console.
* db-do-prepared and db-do-prepared-return-keys now expect to receive a
db-spec, an optional transaction?boolean, a sql-params argument, and an
optional options map. sql-params is a vector containing a SQL string or
PreparedStatement followed by parameters -- like other APIs in this library. In
addition, like the :multi? trueversion of execute!, db-do-prepared can accept a
vector that has parameter groups: multiple vectors containing groups of
parameter values JDBC-122 <http://dev.clojure.org/jira/JDBC-123>. Calling
db-do-prepared with unrolled arguments -- the SQL string / statement followed
by parameter groups -- is deprecated and will produce "DEPRECATED" warnings
printed to the console.
* Release 0.5.7 on 2016-04-10
* (insert! db table [:col] ["val"] {}) syntax, introduced in 0.5.6, threw an
exception JDBC-121 <http://dev.clojure.org/jira/JDBC-121>.
* Release 0.5.6 on 2016-04-10
* create-table-ddl now expects the column specs to be wrapped in a single
vector and no longer needs the :options delimiter to specify the options map
JDBC-120 <http://dev.clojure.org/jira/JDBC-120>.
* If column specs are not wrapped in a vector, you will get a "DEPRECATED"
warning printed to the console.
* insert! now supports only single row insertion; multi-row insertion is
deprecated. insert-multi! has been added for multi-row insertion. :options is
no longer needed as a delimiter for the options map JDBC-119
<http://dev.clojure.org/jira/JDBC-119>.
* If insert! is called with multiple rows, or :options is specified, you will
get a "DEPRECATED" warning printed to the console.
* NOTE: all deprecated functionality will go away in version 0.6.0!
* Release 0.5.5 on 2016-04-09
* Allow options map in all calls that previously took optional keyword
arguments JDBC-117 <http://dev.clojure.org/jira/browse/JDBC-117>.
* The unrolled keyword argument forms of call are deprecated -- and print a
"DEPRECATED" message to the console! -- and will go away in 0.6.0.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.