From af0d17a822c0e838dba91d67229f383d590865b4 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Sun, 1 Dec 2024 09:13:27 -0800 Subject: [PATCH] Bump version to 5.87.0 --- CHANGELOG | 2 +- doc/release_notes/5.87.0.txt | 35 +++++++++++++++++++++++++++++++++++ lib/sequel/version.rb | 2 +- 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 doc/release_notes/5.87.0.txt diff --git a/CHANGELOG b/CHANGELOG index 64c038aa8..1eec20541 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,4 @@ -=== master +=== 5.87.0 (2024-12-01) * Add pg_schema_caching extension, for reloading OIDs for custom types when loading cached schema (jeremyevans) diff --git a/doc/release_notes/5.87.0.txt b/doc/release_notes/5.87.0.txt new file mode 100644 index 000000000..a8c6c0eb3 --- /dev/null +++ b/doc/release_notes/5.87.0.txt @@ -0,0 +1,35 @@ += New Features + +* Column schema hashes on MySQL and PostgreSQL now include the + comment on the column in the :comment entry. + +* An inspect_pk plugin has been added, which makes the inspect output + include the primary key next to the class name, so that you can + copy and paste the inspect output to return the model object: + + Album.with_pk(1).inspect + # default: # + # with inspect_pk: # + +* A pg_schema_caching extension has been added. This builds on top + of the schema_caching extension, and handles OIDs for custom types. + + Type OIDs are included in column schema hashes on PostgreSQL. The + OIDs are static for built-in types, but dynamic for custom types. + The pg_schema_caching extension will perform a query to get the + type OIDs for the custom types after loading the cached schema. + += Other Improvements + +* Database#extension and Dataset#extension no longer attempt to + require the extension file if the extension has already been + registered. This is how model plugins work, and makes it easier + for applications to use custom extensions without messing with the + load path. + +* When using the pg_auto_parameterize extension, and using + Dataset#no_auto_parameterize, Dataset#import is no longer limited to + inserting 40 rows at a time. + +* The trilogy adapter now treats all database errors with code 1205 as + Sequel::DatabaseLockTimeout. diff --git a/lib/sequel/version.rb b/lib/sequel/version.rb index d258780f8..4299a7c79 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 = 86 + MINOR = 87 # The tiny version of Sequel. Usually 0, only bumped for bugfix # releases that fix regressions from previous versions.