Version 2026.5.13
CRAN release: 2026-05-13
Bug Fixes
- PostgreSQL methods (
create_table,keep_rows_where,drop_table) now quoterole_create_tableviaDBI::dbQuoteIdentifier()when emittingSET ROLE. Previously the role name was interpolated raw, which broke on identifiers containing hyphens, mixed case, or reserved words (e.g.SET ROLE token-user-> syntax error), and was a SQL-injection vector if the value came from an env var.
Version 2026.2.2
CRAN release: 2026-03-31
New Features
- Added authentication hook system (
csdb_set_auth_hook(),csdb_get_auth_hook()) to allow automatic credential refresh (e.g., Kerberos tickets) when connection fails
Version 2025.7.19
Version 2025.7.17
- Updated package for CRAN submission with comprehensive improvements
- Added comprehensive documentation with examples for all exported functions
- Fixed critical CRAN compliance issues including system tool availability checks
- Added proper R6 class documentation with detailed usage examples
- Improved all validator function documentation with clear examples
- Added missing dependencies and fixed import declarations
- Updated .Rbuildignore to exclude system files and build artifacts
- Added CLAUDE.md for future development guidance
- Fixed vignette title and improved documentation quality
- All functions now pass R CMD check with only acceptable NOTEs
Version 2024.10.25
-
role_create_tableis now included for dbconnection_v9/dbtable_v9, so that the role can be changed when creating tables in PostgreSQL.
Version 2024.3.11
- Including use_count as an argument in nrow in DBTable_v9, which is slower but more accurate.
Version 2024.3.7
- Including confirm_insert_via_nrow in DBTable_v9. Checks nrow() before insert and after insert. If nrow() has not increased sufficiently, then attempt an upsert.
Version 2023.12.28
- Including validator_field_types_csfmt_rts_data_v2 and validator_field_contents_csfmt_rts_data_v2.
Version 2023.4.12
-
get_table_names_and_nrowis now changed toget_table_names_and_infoand also includes size_total_gb, size_data_gb, size_index_gb. -
infois now included as a method forDBTable_v9
Version 2023.4.4
-
confirm_indexesis now added toDBTable_v9, which confirms that the names and number of indexes in the database are the same as in the R code. It does not confirm the contents of the indexes! -
nrowis now added toDBTable_v9, which is an application of the newget_table_names_and_nrowfunction. -
get_table_names_and_nrowadded as an exported function, that will get all the table names and the nrows from a dbconnection.
