CHANGELOG.md in duckdb-1.0.0.2 vs CHANGELOG.md in duckdb-1.1.0.0
- old
+ new
@@ -1,9 +1,60 @@
# Changelog
All notable changes to this project will be documented in this file.
-## Unreleased
+# 1.1.0.0 - 2024-09-15
+- drop ruby 3.0.x.
+- bump duckdb to 1.1.0.
+- Add `DuckDB::PendingResult#execute_check_state` to check the state of the pending result.
+- Add `DuckDB::PreparedStatement#clear_bindings` to clear all bindings.
+- Add `DuckDB::PreparedStatement#param_type` to get the type of the paramerter type.
+ - The return value is one of the `:invalid`, `:boolean`, `:tinyint`, `:smallint`, `:integer`, `:bigint`, `:utinyint`,
+ `:usmallint`, `:uinteger`, `:ubigint`, `:float`, `:double`, `:timestamp`, `:date`, `:time`, `:interval`, `:hugeint`,
+ `:uhugeint`, `:varchar`, `:blob`, `:decimal`, `:timestamp_s`, `:timestamp_ms`, `:timestamp_ns`, `:enum`, `:list`,
+ `:struct`, `:map`, `:array`, `:uuid`, `:union`, `:bit`, `:time_tz`, `:timestamp_tz`.
+- Add `DuckDB::PreparedStatement#statement_type` to get the type of the statement.
+ - The return value is one of the `:invalid`, `:select`, `:insert`, `:update`, `:explain`, `:delete`, `:prepare`, `:create`,
+ `:execute`, `:alter`, `:transaction`, `:copy`, `:analyze`, `:variable_set`, `:create_func`,
+ `:drop`, `:export`, `:pragma`, `:vacuum`, `:call`, `:set`, `:load`, `:relation`, `:extension`,
+ `:logical_plan`, `:attach`, `:detach`, `:multi`.
+- Add `DuckDB::Result#statement_type` to get the return type of the statement.
+ - The return value is one of the `:invalid`, `:select`, `:insert`, `:update`, `:explain`, `:delete`, `:prepare`, `:create`,
+ `:execute`, `:alter`, `:transaction`, `:copy`, `:analyze`, `:variable_set`, `:create_func`,
+ `:drop`, `:export`, `:pragma`, `:vacuum`, `:call`, `:set`, `:load`, `:relation`, `:extension`,
+ `:logical_plan`, `:attach`, `:detach`, `:multi`.
+- Add `DuckDB::Result#return_type` to get the return type of the result.
+ - The return value is one of the `:invalid`, `:query_result`, `:rows_changed`, `:nothing`.
+- The following method will be deprecated.
+ - `DuckDB::Result#use_chunk_each?`
+ - `DuckDB::Result#use_chunk_each=`
+
+## Breaking changes
+- drop duckdb v0.9.x.
+ - skip to check duckdb_parameter_name is available.
+- The following methods are deprecated.
+ - `DuckDB::Result#_null?`
+ - `DuckDB::Result#_to_boolean`
+ - `DuckDB::Result#_to_smallint`
+ - `DuckDB::Result#_to_utinyint`
+ - `DuckDB::Result#_to_integer`
+ - `DuckDB::Result#_to_bigint`
+ - `DuckDB::Result#_to_hugeint`
+ - `DuckDB::Result#_to_hugeint_internal`
+ - `DuckDB::Result#__to_hugeint_internal`
+ - `DuckDB::Result#_to_decimal`
+ - `DuckDB::Result#_to_decimal_internal`
+ - `DuckDB::Result#__to_decimal_internal`
+ - `DuckDB::Result#_to_float`
+ - `DuckDB::Result#_to_double`
+ - `DuckDB::Result#_to_string`
+ - `DuckDB::Result#_to_string_internal`
+ - `DuckDB::Result#_to_blob`
+ - `DuckDB::Result#to_value`
+ - `DuckDB::Result#row`
+- `DuckDB::Result#use_chunk_each?` is always true.
+- `DuckDB::Result#use_chunk_each=` always ignores the argument.
+- `DuckDB::Result#each` always works the same as `DuckDB::Result#chunk_each`.
# 1.0.0.2 - 2024-06-23
- DuckDB::Result supports TIMESTAMPTZ column type (only when DuckDB::Result.use_chunk_each is true).
- Supporting TIMESTAMPTZ is experimental.
- DuckDB::Result supports TIMETZ column type (only when DuckDB::Result.use_chunk_each is true).