CHANGELOG.md in duckdb-0.8.0 vs CHANGELOG.md in duckdb-0.8.1

- old
+ new

@@ -1,6 +1,30 @@ # ChangeLog +# 0.8.1 +- bump duckdb to 0.8.1 +- add `DuckDB::Result#chunk_each`, `DuckDB::Result.use_chunk_each=`, `DuckDB::Result#use_chunk_each?` + The current behavior of `DuckDB::Result#each` is same as older version. + But `DuckDB::Result#each` behavior will be changed like as `DuckDB::Result#chunk_each` in near future release. + And there are some breaking changes. + Write `DuckdDB::Result.use_chunk_each = true` if you want to try new behavior. + ``` + DuckDB::Result.use_chunk_each = true + + result = con.query('SELECT ....') + result.each do |record| # <= each method behavior is same as DuckDB::Result#chunk_each + ... + end + ``` + Thanks to @stephenprater. +- support enum type in DuckDB::Result#chunk_each. +- support uuid type in DuckDB::Result#chunk_each. + +## Breaking Change + +- DuckDB::Config.set_config does not raise exception when invalid key specified. + Instead, DuckDB::Database.open raises DuckDB::Error with invalid key configuration. + # 0.8.0 - bump duckdb to 0.8.0 - add DuckDB::Result#_to_decimal_internal - add DuckDB::Result#_to_hugeint_internal