diff --git a/NEWS.md b/NEWS.md index 8f9cb6813..e8d6cf53a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,140 +2,93 @@ # dm 1.0.7 -## Breaking changes - -- Breaking change: Add `check_dots_empty()` calls (#1929, #1943). - -## Bug fixes - -- Snapshot test. -- Stable sort order in test. -- Remove unwanted changes. -- Compatibility with duckdb 0.9.0. -- Minor fixes in `dm_pack_tbl()` and `dm_unwrap_tbl()` (#1947). - ## Features -- `copy_dm_to()` now warns unconditionally on unsupported arguments, and fails if `copy_to` is provided. Use the new `dm_sql()` function as a replacement for `copy_dm_to(copy_to = )`. -- Reuse existing `build_copy_queries()` code for `dm_sql()` (#2011). -- `dm_sql()` returns nested named lists. +- `copy_dm_to()` now warns unconditionally on unsupported arguments, and fails if `copy_to` is provided (#1944). Use the new `dm_sql()` function as a replacement for `copy_dm_to(copy_to = )` (#1915, #2011). + - New `json_unnest()` and `json_unpack()`, currently implemented for data frames only (#991, #997). + - `dm_rows_append()` also works for local dm, with support for autoincrement primary keys (#1727, #1745). -- Add `dm_sql()` and friends, still need tests (#1915). + - Breaking change: Add `check_dots_empty()` calls (#1929, #1943). + - Test MySQL on GHA (#1940). + - Improve MySQL compatibility regarding learning of database schemas and checking of constraints (#1938). -## Chore +## Breaking changes -- Make `check_suggested()` a standalone (#2054). -- Backport changes from attempted CRAN release (#2046). -- Update docker/setup-buildx-action digest to 5d98624. -- Update docker/build-push-action digest to fdf7f43. -- Add more `top_level_function` arguments in `check_suggested()` calls (#2044). -- Remove curly braces. add `\pkg` (@olivroy, #2042). -- Improve handling of suggested packages, add link in doc (@olivroy, #2036). -- Update docker/build-push-action digest to 0f84726. - -- Move deprecated argument. - -- Stabilize and improve tests (#2031). -- Remove DBI import (#1974). -- Add technical helper to `.Rbuildignore`. -- Simplify `merge_group` in GHA. -- Stabilize tests, add snapshot tests for `dm_sql()` for all databases (#1987). -- Enable merge queue. -- Indicate MySQL server, bump to dev version of RMariaDB, work around tidyverse/dbplyr#1190 (#1989). -- Snapshots (#1985). -- Remove magrittr import (#1975). -- Prepare for removal of magrittr imports (#1983). -- Add FIXME. -- Support loading with empty NAMESPACE file. -- Move pillar to Suggests (#1976). -- Switch to usethis imports, blanket vctrs import. -- Switch internal testing to MariaDB. -- Explain reasoning behind SQLite. -- Parallel. -- Update dependency ubuntu to v22 (#1969). -- Update dependency font-awesome to v6.4.2 (#1965). -- Update actions/checkout action to v4 (#1966). -- Update dessant/lock-threads action to v4 (#1967). -- Update peter-evans/create-pull-request action to v5 (#1968). -- Update docker/login-action digest to b4bedf8 (#1960). -- Update docker/metadata-action digest to 879dcbb (#1962). -- Update docker/setup-buildx-action digest to dedd61c (#1963). -- Update docker/build-push-action digest to 4c1b68d. +- Breaking change: Add `check_dots_empty()` calls (#1929, #1943). -- Stabilize test. +## Bug fixes -- Indent. +- Compatibility with duckdb 0.9.1. -- Use `table_names_out` as source of truth for remote table names. +- Minor fixes in `dm_pack_tbl()` and `dm_unwrap_tbl()` (#1947). -- Explicit parallelization. +## Documentation -- Reformat. +- Use `rlang::check_installed()` internally to install missing suggested packages on the fly (@olivroy, #2036, #2039, #2040). -- Prefer `map*()` over `lapply()` and `vapply()`. +- Use vectorized `rlang::is_installed()`to decide if examples should be run (@olivroy, #2043). -- `styler::style_pkg(scope = "tokens")`. +- Recategorize and describe function reference. - Better error and information messages when querying keys. -- Explicit qualification. - -- Fast offline checks with environment variable. +- `collect.zoomed_dm()` shows a more helpful error message (#1929, #1945). -- Prioritize learning test. +- Add information on default font size to `?dm_draw` (#1935). -- Add skips to `test_src_*()` calls. -- Throw away GHA cache. -- Remove dead code (#979, #1950). -- Rename internal `new_dm3()` to `dm_from_def()` (#1225, #1949). -- New GHA checks for the case of missing suggested packages (#1952). -- Carefully check if suggested packages are installed. -- Avoid `dbplyr::ident_q()` (#1788). - Closes #1788. -- Remove dead code (#1871). - Closes #1871. -- Fix typo, dm_unwrapped_tbl -\> dm_unwrapped. -- New targets, for silent testing. -- Enhance test snapshot from last change. -- Stabilize tests. -- New `ltest` and `.NOTPARALLEL` targets. -- Reorganize `build_copy_queries()` (#1923). -- Add ellipsis to `tbl_sum()` signature (#1941). -- Fix test compatibility. -- Don't cache with scheduled builds. +- Add `db-*` rules to Makefile to simplify Docker-based database setup. -## Documentation - -- Use `rlang::check_installed()` internally to install missing suggested packages on the fly (@olivroy, #2039, #2040). -- Use vectorized `is_installed()`to decide if examples should be run (@olivroy, #2043). -- Add db-\* rules to Makefile. -- Tweaks. -- Recategorize and describe function reference. -- `collect.zoomed_dm()` shows a more helpful error message (#1929, #1945). -- Deprecate `copy_dm_to(copy_to = )` argument (#1944). -- Add information on default font size to `?dm_draw` (#1935). +- Remove curly braces, add `\pkg` (@olivroy, #2042). ## Performance - Replace `tibble()` by `fast_tibble()` (@mgirlich, #1928). + - Replace superseded `dplyr::recode()` (@mgirlich, #1927). ## Testing - Remove most skips from tests (#2052). + - Add explicit unique key to `dm_for_filter()`. + - Add Postgres test for `dm_sql()`. -## Uncategorized +- Switch internal testing to MariaDB. + +- Fast offline checks with new `"DM_OFFLINE"` environment variable. + +- New GHA checks for the case of missing suggested packages (#1952). + +## Chore + +- Make `check_suggested()` a standalone (#2054). + +- Backport changes from attempted CRAN release (#2046). -- Merge pull request #2045 from cynkra/f-long-strings. -- Merge pull request #1954 from cynkra/renovate/configure. -- Merge pull request #1942 from cynkra/f-error-msg. -- Merge branch 'cran-1.0.6'. +- Move magrittr (#1975, #1983), DBI (#1974), and pillar (#1976) to `"Suggests"`. + +- Require RMariaDB 1.3.0, work around tidyverse/dbplyr#1190 and tidyverse/dbplyr#1195 (#1989). + +## Internal + +- Prefer `map*()` over `lapply()` and `vapply()`. + +- `styler::style_pkg(scope = "tokens")`. + +- Rename internal `new_dm3()` to `dm_from_def()` (#1225, #1949). + +- Remove dead code (#979, #1950, #1871). + +- Reorganize `build_copy_queries()` (#1923). + +- Avoid `dbplyr::ident_q()` (#1788). + +- Add ellipsis to `tbl_sum()` signature (#1941). # dm 1.0.6