Skip to content

Commit

Permalink
NEWS and CRAN comments
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed May 11, 2021
1 parent b7e194d commit c1eb79f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 21 deletions.
27 changes: 10 additions & 17 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,27 @@

# dm 0.2.1

- Same as previous version.


# dm 0.2.0.9002
## Breaking changes

- Breaking: `dm_get_all_fks()` returns a data frame with a `parent_key_cols` instead of a `parent_pk_cols` column, to reflect the fact that a foreign key no longer necessarily points to a primary key (#562).
- `dm_get_all_fks()` returns a data frame with a `parent_key_cols` instead of a `parent_pk_cols` column (introduced in dm 0.2.0), to reflect the fact that a foreign key no longer necessarily points to a primary key (#562).
- `*_pk()` and `*_fk()` functions now verify that the dots are actually empty (#536).
- `dm_get_pk()` is deprecated in favor of `dm_get_all_pks()` (#561).
- `dm_has_fk()` and `dm_get_fk()` are deprecated in favor of `dm_get_all_fks()` (#561).

## Features

# dm 0.2.0.9001

- `dm_add_fk()` gains `ref_columns` argument that supports creating foreign keys to non-primary keys (#402).
- `dm_get_all_pks()` gains `table` argument for filtering the returned primary keys (#560).
- `dm_get_all_fks()` gains `parent_table` argument for filtering the returned foreign keys (#560).
- `dm_get_all_fks()` has been optimized for speed and no longer sorts the keys (#560).
- `dm_get_all_fks()` gains `parent_table` argument for filtering the returned foreign keys (#560).
- `dm_rm_fk()` gains an optional `ref_columns` argument. This function now supports removal of multiple foreign keys filtered by parent or child table or columns, with a message (#559).
- `dm_rm_pk()` gains `columns` argument and allows filtering by columns and by tables or removing all primary keys. The `rm_referencing_fks` argument has been deprecated in favor of the new `fail_fk` argument (#558).
- `dm_add_fk()` gains `ref_columns` argument that supports creating foreign keys to non-primary keys (#402).
- Add documentation for compound key syntax (#555).
- `dm_get_all_fks()` has been optimized for speed and no longer sorts the keys (#560).
- dm operations are now slightly faster overall.
- The internal data structure for a dm object has changed to accommodate foreign keys to other columns than the primary key. An upgrade message is shown when working with a dm object from an earlier version, e.g. if it was loaded from a cache or an `.rds` file (#402).
- Dropped `"dm_v1"` class from dm objects again, this would have made every S3 dispatch more costly. Relying on an internal `"version"` attribute instead (#547).
- `*_pk()` and `*_fk()` functions now verify that the dots are actually empty (#536).

## Internal

# dm 0.2.0.9000

- Same as previous version.
- The internal data structure for a dm object has changed to accommodate foreign keys to other columns than the primary key. An upgrade message is shown when working with a dm object from an earlier version, e.g. if it was loaded from a cache or an `.rds` file (#402).
- Drop `"dm_v1"` class from dm objects again, this would have made every S3 dispatch more costly. Relying on an internal `"version"` attribute instead (#547).


# dm 0.2.0
Expand Down
6 changes: 2 additions & 4 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ dm 0.2.1
## R CMD check results

- [x] Checked locally, R 4.0.5
- [ ] Checked on CI system, R 4.0.5
- [ ] Checked on win-builder, R devel

Check the boxes above after successful execution and remove this line. Then run `fledge::release()`.
- [x] Checked on CI system, R 4.0.5
- [x] Checked on win-builder, R devel

## Current CRAN check results

Expand Down

0 comments on commit c1eb79f

Please sign in to comment.