From 4314aebb3bbc4f1aa4b32083b42b10e5818aad8f Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Fri, 29 Mar 2024 13:00:41 -0700 Subject: [PATCH] Bump version to 5.79.0 --- CHANGELOG | 2 +- doc/release_notes/5.79.0.txt | 28 ++++++++++++++++++++++++++++ lib/sequel/version.rb | 2 +- 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 doc/release_notes/5.79.0.txt diff --git a/CHANGELOG b/CHANGELOG index e40c91f2e..c50bdf807 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,4 @@ -=== master +=== 5.79.0 (2024-04-01) * Support create_or_replace_view with :materialized option on PostgreSQL (nashby) (#2144) diff --git a/doc/release_notes/5.79.0.txt b/doc/release_notes/5.79.0.txt new file mode 100644 index 000000000..1b3c5e077 --- /dev/null +++ b/doc/release_notes/5.79.0.txt @@ -0,0 +1,28 @@ += New Features + +* Dataset#select_prepend has been added for prepending to the + currently selected columns: + + DB[:table].select_prepend(:column) + # SELECT column, table.* + + As not all databases support "SELECT column, *", select_prepend + qualifies wildcard selections to all tables referenced in the + query. + + The only reason to use select_prepend is if you want the hashes + returned by Sequel to be in a specific order. Otherwise, it is + better to use select_append. + +* On PostgreSQL, Sequel now supports an :unlogged_tables_default + Database option, which will default created tables to be UNLOGGED. + This can be useful to speedup testing in some cases, but it should + never be used in cases where data integrity is important. + += Other Improvements + +* On PostgreSQL, Database#create_or_replace_view now supports the + :materialized option. This allows for dropping an existing + materialized view and creating a new one with the same name + (PostgreSQL does not have native support for replacing materialized + views). diff --git a/lib/sequel/version.rb b/lib/sequel/version.rb index e78049b45..d5dc24f52 100644 --- a/lib/sequel/version.rb +++ b/lib/sequel/version.rb @@ -6,7 +6,7 @@ module Sequel # The minor version of Sequel. Bumped for every non-patch level # release, generally around once a month. - MINOR = 78 + MINOR = 79 # The tiny version of Sequel. Usually 0, only bumped for bugfix # releases that fix regressions from previous versions.