Skip to content

Releases: TalentBox/sequel-rails

v0.5.0

08 Jul 21:14
Compare
Choose a tag to compare
  • Loosen dependency to allow Sequel versions ~> 4.0.0
  • Add ruby 2.0.0 to TravisCI

v0.4.4

05 Jul 08:48
Compare
Choose a tag to compare
  • Fix schema_dumper extension inclusion to remove deprecation warning in
    Sequel 3.48 (Jacques Crocker)
  • Add support for dumping/loading sql schema for MySQL (Saulius Grigaliunas)
  • Add support for configuring max connections in app config (Rafał Rzepecki)

v0.4.3

05 Jul 08:49
Compare
Choose a tag to compare
  • Handle Sequel::NoMatchingRow exception to return a 404.

    As of Sequel 3.46.0, this new standard exception class has been added.
    The main use case is when no row is found when using the new Dataset#first!
    method, this new method raise an exception instead of returning nil like
    Dataset#first.

  • Ensure migration tasks points to migration directory's full path (Sean Sorrell)

v0.4.2

05 Jul 08:49
Compare
Choose a tag to compare
  • Add schema dump format option and sql dump/load for Postgresql (Rafał Rzepecki)

    To make rake db:dump and rake db:load use sql format for schema instead
    of the default ruby version, put in your config/application.rb:

    config.sequel.schema_format = :sql
  • Improve detection of JRuby (Ed Ruder)

v0.4.1

05 Jul 08:49
Compare
Choose a tag to compare
  • DRY config in rake task and fix usage under JRUBY (Ed Ruder)
  • Enable JRuby in TravisCI
  • Run JDBC specs when jruby is detected
  • Fix problems with JDBC support when running in 1.9 mode
  • Fix JDBC support for mysql and postgresql and add specs on
    SequelRails::Configuration (Jack Danger Canty)
  • Rescue exception when dropping database #20

v0.4.0

05 Jul 08:50
Compare
Choose a tag to compare
  • Ensure we've dropped any opened connection before trying to drop database (Ed Ruder)

  • Make dependency on railtie looser (>= 3.2.0)

  • Do not add any Sequel plugin by default anymore. Plugins could not be removed
    so it is safer to let the user add them via an initializer. Furthermore, we
    were changing the default Sequel behaviour related to 'raise on save'.
    All the previous plugins/behaviours of sequel-rails can be restored by
    creating an initializer with:

    require "sequel_rails/railties/legacy_model_config"

    Thanks to @dlee, for raising concerns about this behaviour in
    #11

v0.4.0.pre2

05 Jul 08:50
Compare
Choose a tag to compare
v0.4.0.pre2 Pre-release
Pre-release
  • Remove rake db:forward and rake db:rollback as it makes not much sense
    when using the TimeStampMigration which is how this gem generates migrations
  • Ensure rake tasks returns appropriate code on errors
  • Ensure PostgreSQL adapter passes the right options to both create and drop
    database (Sascha Cunz)

v0.4.0.pre1

05 Jul 08:51
Compare
Choose a tag to compare
v0.4.0.pre1 Pre-release
Pre-release
  • Fix rake db:drop and rake db:schema:load tasks (Thiago Pradi)

v0.4.0.pre

05 Jul 08:51
Compare
Choose a tag to compare
v0.4.0.pre Pre-release
Pre-release
  • Add Travis-CI configuration
  • Ensure file name for migration are valid
  • BIG CHANGE rename Rails::Sequel module as SequelRails, this becomes
    the namespace for all sequel-rails related classes.
  • Split Rails::Sequel::Storage class in multiple adapter for each db
  • Only log queries if logger level is set to :debug (matching ActiveRecord
    default).
  • Correctly display time spent in models in controller logs.
  • Add simple ActiveSupport::Notification support to Sequel using logger
    facility. This is done by monkey patching Sequel::Database#log_yield, so
    it does not yield directly if no loggers configured and instrument the yield
    call. Note that this does not allow to know from which class the query comes
    from. So it still does not display the Sequel::Model subclass like
    ActiveRecord does (eg: User load).
  • Add spec for Sequel::Railties::LogSubscriber
  • Add initial specs for railtie setup