2016-03-08 14:57:24 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-sequel to 4.32.0.
=== 4.32.0 (2016-03-01)
* Use mutex for synchronizing access to association reflection cache on MRI \
(jeremyevans)
* Add Dataset#delete_from on MySQL, allowing deletions from multiple tables in a \
single query (jeremyevans) (#1146)
* Add no_auto_literal_strings extension, which makes SQL injection \
vulnerabilities less likely (jeremyevans)
* Add Model.default_association_options, for setting option defaults for all \
future associations (jeremyevans)
* Support :association_pks_nil association option in association_pks setter for \
determining how to handle nil (jeremyevans)
* Make association_pks setter handle empty array correctly when :delay_pks is \
set (jeremyevans)
* Add a setter method for one_through_one associations (jeremyevans)
* Include :remarks entry in JDBC schema parsing output, containing comments on \
the column (olleolleolle) (#1143)
* Support :eager_reload and :eager options to associations in \
tactical_eager_loading plugin (jeremyevans)
* Make tactical_eager_loading not eager load if passing proc or block to \
association method (jeremyevans)
* Make eager_each plugin handle eager loading for Dataset#first and similar \
methods (jeremyevans)
|
2016-02-16 15:31:58 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-sequel to 4.31.0.
= Improvements
* Sequel now works with ruby 2.3's --enable-frozen-string-literal,
and all of the library files are set to use frozen string
literals by default.
A couple adapters and extensions depend on libraries that have
issues with frozen string literals. Pull requests have been sent
to each of those dependencies.
* The migrators will now raise an exception if a migration file
contains no migrations or more than one migration.
* The jdbc/postgresql adapter now supports using PostgreSQL specific
types in bound variables. Note that the current version of
jdbc-postgres (9.4.1204) has regressions that affect this, users
who need this support should stick with jdbc-postgres 9.4.1200 or
below.
* The jdbc/postgresql adapter now works around a regression in Java
method lookup in JRuby 9.0.5.0
* The setter methods added by the association_pks plugin now do type
casting immediately, instead of right before the data will be used.
This makes them more similar to column setter methods, and ensures
that future calls to the getters that use cached values will
return correctly typecast data.
* The PostgreSQL array parser in the pg_array extension now handles
arrays with explicit bounds. The explicit bounds are ignored, so
such values do not round trip, and there is currently no support for
creating arrays with explicit bounds.
* Creating a table with a simple non-incrementing primary key and a
self-referential foreign key now works correctly on MySQL:
DB.create_table!(:table) do
Integer :id, :primary_key=>true
foreign_key :fk, :table
end
* Database#disconnect in the oracle adapter now works correctly on
more recent versions of oci8 where #logoff can raise OCIException
instead of OCIInvalidHandle.
= Backwards Compatibility
* The pg_array extension no longer defines
Sequel::Postgres::PGArray::JSONCreator. This should only affect
backwards compatibility if you were accessing the constant directly.
The :parser option to Sequel::Postgres::PGArray.register is also no
longer respected, but that should not affect backwards compatibility.
* The Sequel::Model#convert_cpk_array private method that was added by
the association_pks plugin has been removed.
Sequel::Model#convert_pk_array handles both simple and composite
primary keys now.
|
2016-01-06 16:21:02 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-sequel to 4.30.0.
= New Features
* Overriding the :limit and :eager_limit_strategy association options
can now be done on a per-call basis when eager loading, by using an
eager block callback and setting the :eager_limit or
:eager_limit_strategy dataset options. Example:
Album.eager(:tracks=>proc{|ds| ds.clone(:eager_limit=>5)}).all
* Dataset#insert_conflict and #insert_ignore have been added on
SQLite, adding support for the INSERT OR ... SQL syntax:
DB[:table].insert_ignore.insert(:a=>1, :b=>2)
# INSERT OR IGNORE INTO TABLE (a, b) VALUES (1, 2)
DB[:table].insert_conflict(:replace).insert(:a=>1, :b=>2)
# INSERT OR REPLACE INTO TABLE (a, b) VALUES (1, 2)
* An identifier_columns plugin has been added, which allows
Sequel::Model#save to work when column names contain double
underscores.
= Other Improvements
* IPv6 addresses can now be used in connection URLs when using
ruby 1.9.3+.
* The :db_type entries in column schema hashes now include sizes
for string and decimal types on DB2 and when using the jdbc
adapter's generic schema parsing.
* Database#row_type in the pg_row extension now handles different
formats of specifying schema qualified types. So a row type
registered via :schema__type can be found using
Sequel.qualify(:schema, :type).
* Another disconnect error is recognized in the tinytds adapter.
|
2015-12-02 15:11:58 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-sequel to 4.29.0.
=== 4.29.0 (2015-12-01)
* Add Model#json_serializer_opts method to json_serializer plugin, allowing for \
setting to_json defaults on per-instance basis (jeremyevans)
* Add uuid plugin for automatically setting UUID column when creating a model \
object (pdrakeweb, jeremyevans) (#1106)
* Allow the sqlanywhere adapter to work with sharding (jeremyevans)
* Support blobs as bound variables in the oracle adapter (jeremyevans) (#1104)
* Order by best results first when using the Database#full_text_search :rank \
option on PostgreSQL (chanks) (#1101)
* Run Database#table_exists? inside a savepoint if currently in a transaction \
and the database supports savepoints (jeremyevans) (#1100)
* Allow Database#transaction :retry_on option to work when using savepoints \
(jeremyevans)
* Allow for external adapters to implement Dataset#date_add_sql_append to \
integrate with the date_arithmetic extension (jeremyevans)
* Add Dataset#insert_empty_columns_values private method for easy overriding for \
databases that don't support INSERT with DEFAULT VALUES (jeremyevans)
|
2015-11-29 13:12:41 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update sequel to 4.28.0.
=== 4.28.0 (2015-11-02)
* Add boolean_subsets plugin, which adds a subset for each boolean column \
(jeremyevans)
* Add subset_conditions plugin, which adds a method for each subset returning \
the filter conditions for the subset (jeremyevans)
* Make the list plugin work better with the auto_validations plugin when there \
is a validation on the position column (jeremyevans)
* Make to_csv for model datasets call instance methods, just like Model#to_csv, \
in the csv_serializer plugin (skrobul) (#1088)
* Raise Sequel::NoExistingObject instead of generic error if Model#refresh can't \
find the related row (jeremyevans)
|
2015-11-03 02:56:36 by Alistair G. Crooks | Files touched by this commit (368) |
Log message:
Add SHA512 digests for distfiles for databases category
Problems found with existing distfiles:
distfiles/D6.data.ros.gz
distfiles/cstore0.2.tar.gz
distfiles/data4.tar.gz
distfiles/sphinx-2.2.7-release.tar.gz
No changes made to the cstore or mariadb55-client distinfo files.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
|
2015-10-04 10:50:13 by Takahiro Kambe | Files touched by this commit (3) | |
Log message:
Update ruby-sequel to 4.27.0.
=== 4.27.0 (2015-10-01)
* Don't stub Sequel.synchronize on MRI (YorickPeterse) (#1083)
* Make bin/sequel warn if given arguments that it doesn't use (jeremyevans)
* Fix the order of referenced composite keys returned by \
Database#foreign_key_list on PostgreSQL (jeremyevans) (#1081)
* Recognize another disconnect error in the jdbc/postgresql adapter (jeremyevans)
* In the active model plugin, make Model#persisted? return false if the \
transaction used for creation is rolled back (jeremyevans) (#1076)
* Use primary_key :keep_order option in the schema dumper if the auto \
incrementing column is not the first column in the table (jeremyevans)
* Set :auto_increment option correctly in the schema parser when the auto \
incrementing column is not the first column in the table (jeremyevans)
* Support :keep_order option to primary_key in schema generator, to not \
automatically make the primary key the first column (jeremyevans)
* Add new jsonb/json functions and operators supported in PostgreSQL 9.5+ \
(jeremyevans)
* Add before_after_save plugin, for refreshing created objects and resetting \
modified flag before calling after_create/update/save hooks (jeremyevans)
* Add Dataset#single_record! and #single_value! which don't require cloning the \
receiver (jeremyevans)
* Dataset#with_sql_single_value now works correctly for model datasets (jeremyevans)
* Optimize Dataset#single_value and #with_sql_single_value to not create an \
unnecessary array (jeremyevans)
* Make postgres adapter work with postgres-pr 0.7.0 (jeremyevans) (#1074)
|
2015-09-25 07:48:56 by Takahiro Kambe | Files touched by this commit (1) |
Log message:
Update HOMEPAGE.
Avoid using rubyforge.org since it stopped most of services.
|
2015-09-13 06:48:44 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Upadte ruby-sequel to 4.26.0.
=== 4.26.0 (2015-09-01)
* Make Dataset#== not consider frozen status in determining equality (jeremyevans)
* Support :if_exists option to drop_column on PostgreSQL (jeremyevans)
* Add Dataset#grouping_sets to support GROUP BY GROUPING SETS on PostgreSQL \
9.5+, MSSQL 2008+, Oracle, DB2, and SQLAnywhere (jeremyevans)
* Fix handling of Class.new(ModelClass){set_dataset :table} on ruby 1.8 (jeremyevans)
* Use range function constructors instead of casts for known range types in \
pg_range (jeremyevans) (#1066)
* Make class_table_inheritance plugin work without sti_key (jeremyevans)
* Detect additional disconnect errors when using the tinytds adapter (jeremyevans)
* Make offset emulation without order but with explicit selection handle \
ambiguous column names (jeremyevans)
* Allow preparing already prepared statements when emulating limits and/or \
offsets (jeremyevans)
* Have Sequel::NoMatchingRow exceptions record the dataset related to the \
exception (pedro, jeremyevans) (#1060)
|
2015-08-02 17:51:20 by Takahiro Kambe | Files touched by this commit (3) | |
Log message:
Update ruby-sequel to 4.25.0.
=== 4.25.0 (2015-08-01)
* Add Dataset#insert_conflict on PostgreSQL 9.5+, for upsert/insert ignore \
support using INSERT ON CONFLICT (jeremyevans)
* Support Dataset#group_rollup and #group_cube on PostgreSQL 9.5+ (jeremyevans)
* Automatically REORG tables when altering when using jdbc/db2 (karlhe) (#1054)
* Recognize constraint violation exceptions on swift/sqlite (jeremyevans)
* Recognize another check constraint violation exception message on SQLite \
(jeremyevans)
* Allow =~ and !~ to be used on ComplexExpressions (janko-m) (#1050)
* Support case sensitive SQL Server 2012 in MSSQL metadata queries (knut2) (#1049)
* Add Dataset#group_append, for appending to the existing GROUP BY clause \
(YorickPeterse) (#1047)
* Add inverted_subsets plugin, for creating an inverted subset method for each \
subset (celsworth) (#1042)
* Make Dataset#for_update not use the :read_only database when the dataset is \
executed (jeremyevans) (#1041)
* Add singular_table_names plugin, for changing Sequel to not pluralize table \
names by default (jeremyevans)
* PreparedStatement#prepare now raises an Error (jeremyevans)
* Clear delayed association pks when refreshing an object (jeremyevans)
* Add empty_array_consider_nulls extension to make Sequel consider NULL values \
when using IN/NOT IN with an empty array (jeremyevans)
* Make Sequel default to ignoring NULL values when using IN/NOT IN with an empty \
array (jeremyevans)
* Remove the deprecated firebird and informix adapters (jeremyevans)
* Make :collate option when creating columns literalize non-String values on \
PostgreSQL (jeremyevans) (#1040)
* Make dirty plugin notice when serialized column is changed (celsworth) (#1039)
* Allow prepared statements to use RETURNING (jeremyevans) (#1036)
=== 4.24.0 (2015-07-01)
* Allow class_table_inheritance plugin to support subclasses that don't add \
additional columns (QuinnHarris, jeremyevans) (#1030)
* Add :columns option to update_refresh plugin, specifying the columns to \
include in the RETURNING clause (celsworth) (#1029)
* Use column symbol key for auto validation unique errors if the unique index is \
on a single column (jeremyevans)
* Allow :timeout option to Database#listen in the postgres adapter to be a \
callable object (celsworth) (#1028)
* Add pg_inet_ops extension, for DSL support for PostgreSQL inet/cidr operators \
and functions (celsworth, jeremyevans) (#1024)
* Support :*_opts options in auto_validations plugin, for setting options for \
the underlying validation methods (celsworth, jeremyevans) (#1026)
* Support :delay_pks association option in association_pks to delay setting of \
associated_pks until after saving (jeremyevans)
* Make jdbc subadapters work if they issue queries while the subadapter is being \
loaded (jeremyevans) (#1022)
* Handle 64-bit auto incrementing primary keys in jdbc subadapters (DougEverly) \
(#1018, #1019)
* Remove the deprecated db2 and dbi adapters (jeremyevans)
* Make auto_validation plugin use :from=>:values option to setup validations \
on the underlying columns (jeremyevans)
* Add :from=>:values option to validation_helpers methods, for getting values \
from the values hash instead of a method call (jeremyevans)
|