Skip to content

1.3.18 (09/14/15)

Compare
Choose a tag to compare
@kares kares released this 14 Sep 13:34
· 1684 commits to master since this release
  • since arel visitor instances might get re-used we need to avoid the @instance
  • [postgres] work-around BC time parsing issue (on JRuby 1.7.x) by a patch
  • [mssql] fix broken ordering on an aggregate queries (from #646 closing #532)
  • [mssql] default to using a string limit: 4000 with newer AR
  • [mssql] setup type map for SQLServer ... backwards compat as much as possible
  • for better AR alignment on 4.2 shall do the AR type-casting of booleans/dates
  • [mssql] ... port over visitor from sqlserver-adapter (to be used on AR 4.2)
  • [mssql] allow to tune collation equality operator with cs_equality_operator
  • [mssql] setup BINARY/TEXT types as binary_basic/text_basic (needed on 4.2)
  • [mssql] setup a NATIVE_DATABASE_TYPES constant (for SQLServer > 2K) (#508)
  • [jdbc] prefer BIT(1) as a better match for :boolean type than TINYINT
  • [mssql] get_table_name bug with unusual queries has been fixed (#583)
  • [mssql] make sure we set @primary on column instances even on AR 4.2
  • [mssql] issue when using joins with distinct (#590) ... fixed with #608
  • [firebird] tune arel visitor (limit/offset handling) to work on AR 4.2
  • [firebird] avoid prefetch_primary_key? depending on column.primary due AR 4.2
  • [firebird] introduce type map on AR 4.2 (not sure about :timestamp handling
  • [firebird] boolean parameter with prepared-statements should be set as CHAR
  • [firebird] standalone column and adapter classes +
    standalone custom (native) JdbcConnection class for firebird due CHAR handling
  • [firebird] handle schema-prefixed table names in default_sequence_name
  • [oracle] support for handling NUMBER(1) type as boolean just like on AR < 4.2
  • [oracle] generic optimized NUMBER type extraction (with scale == 0 as integer)
  • [oracle] support XMLTYPE as a custom type on AR 4.2
  • [oracle] add disable_referential_integrity helper (for the duration of a block)
  • base (adapter: jdbc) foreign_keys support for all (for AR 4.2 compatibility)
  • [oracle] AR 4.2 type map support (ported over from oracle-enhanced adapter)
  • [oracle] avoid error logging optional DROP SEQUENCE on drop_table
  • [oracle] default config[:database](when not provided) to XE
  • [oracle] improved index + primary_key (detection) support not just for AR 4.2
  • [oracle] update default_sequence_name to strip prefix + add trigger name
  • [oracle] set statement_escape_processing: true by default on AR 4.x (#479)
  • handle serialized attributes the AR 4.2 way (serialized_attributes deprecated)
  • [db2] custom type map for AR 4.2 based on IBM_DB gem
  • [db2] support XML as type on AR 4.2
  • type-casting on our native side should now handle AR 4.2 right!
  • jdbc connection should not attempt to type-cast date/time on AR 4.2
  • [db2] arel visitor + handle basic type mapping the AR 4.2 way
  • no longer warn on 4.2 + but still warn with (unsupported) adapters
  • restore Ruby 1.8 (syntax) compatibility - was broken for MySQL/Derby
  • use standard AREL with H2/HSQLDB as H2/HSQLDB support standard LIMIT and OFFSET
  • [h2] working AR 4.2 support
  • [hsqldb] working AR 4.2 support
  • [rake] support adapter: mariadb as if it were mysql (on AR 4.x)
  • [postgres] changes to avoid double cast for AR42 (with prepared statements)
  • [postgres] use standard JDBC bind arguments marker "?" instead of "$n"
  • [postgres] allow reading "infinity" and "BC timestamps on 4.2
  • type cast bind arguments in RubyJdbcConnection (prepared statements)
  • [derby] ActiveRecord 4.2 reports xml columns as XML(2147483647)
  • [derby] working AR 4.2 support
  • support cast_type on the JdbcConnection side for improved AR 4.2 compatibility