Changelog
Source:NEWS.md
ResultModelManager 0.6.2
Bug Fixes:
- Resolved issue with migration status check failing on packages using a table prefix (e.g. cohort generator)
ResultModelManager 0.6.1
CRAN release: 2025-09-25
Bug Fixes:
- Removed use of
dbGetQuery
call in pooled connection handler, requiring support for DatabaseConnector 7
ResultModelManager 0.6.0
CRAN release: 2025-09-18
Changes:
Added experimental wrapper functions for python based upload of csv files
Breaking change - public use of finalize from R6 classes causes deprecation warning in use of R6 package. Package maintainers should replace this with class to
closeConnection
which is in use or has been added to all classes. Note - due to CRAN this package cannot release without making this change.
Bug Fixes:
- Fixed big in type check issue in ResultExportManager
- Fixed bad deletion of existing primary key rows. Also improved efficiency of delete by using a join
ResultModelManager 0.5.10
CRAN release: 2024-08-21
Changes:
- Using readr column types to work around issues with inconsistent type conversion between DBI and JDBC drivers.
Bug fixes:
Resolved issue where failed queries were being aborted inside the wrong connection in PooledConnectionHandler
Refactored pooled connection handler to better ensure checkout connections are returned
ResultModelManager 0.5.9
CRAN release: 2024-07-21
Changes:
- More tidy cleanup of PooledConnectionHandlers to prevent leaked connections.
ResultModelManager 0.5.9
CRAN release: 2024-07-21
Changes:
Changes made to make package CRAN compliant
PooledConnectionHandler
now uses withr::defer to automatically returned pooled connections returned withgetConnection
ResultModelManager 0.5.8
Bug fixes:
- Fixed bug in uploads where empty tables are used to determine uploads (and can fail)
ResultModelManager 0.5.7
Bug fixes:
- Added type conversion checking on upload of data where columns are characters but interpreted as numeric from reading inserted data
ResultModelManager 0.5.6
Changes:
- For PooledConnectionHandler, added check to see if java stack size is set on unix systems before connecting stop overflow errors on rconnect platforms. Note that this solution will fail if RJava is called before the connection
ResultModelManager 0.5.5
Bug Fixes: 1. Removal of comment in DataMigrationManager sql that caused translation error for spark/databricks platforms
- The “optional” column in the model specification is now fully optional (when not present, all columns are assumed to be required)
ResultModelManager 0.5.3
Changes:
- Tests for PooledConnection classes
Bug Fixes:
Use of RPostgres updated.
Use of dbplyr::in_schema for using dplyr::tbl in ConnectionHandlers
ResultModelManager 0.5.2
Changes:
- Allow
PooledConnectionHandler
classes to use DBI connections to bypass use of JDBC on systems where it may not be supported.
Bug Fixes:
- Fixed issue in platform specific migrations where SqlRender sometimes fails to add attribute when calling
loadRenderTranslateSql
ResultModelManager 0.5.1
Bug fixes:
- Fixed issue with uploads results from removal of
emptyIsNa
property which is no longer used/required
ResultModelManager 0.5.0
Changes: 1. Added utility function grantTablePermissions
to make it easier to grant select, delete, insert and update permissions for users on results database setups
Added
ResultExportManager
class and utility to support standardized validation routines for exported dataAllow packages to have an internal migration table prefix separate from the user defined one e.g
my_study_sccs_migration
emptyIsNa
field is no longer required in specificationsPurge all data supported in upload functionality (requiring user input)
Bug fixes:
generateSqlSchema
No longer requires primary key field to be lower case in results spec files, is now case-insensitiveconnectionHandlers now check sql string attribute to see if query needs translating, avoiding potential for errors caused by double translation
ResultModelManager 0.4.0
Changes:
removed spuriously added
createResultsDataModel
functionadded
QueryNamespace
R6 class that allows users to define a table specification and then complete queries without always having to specify table namesAdded
createQueryNamespace
helper function to allow a variety of convenient ways to create query namespacesAdded
loadResultsDataModelSpecifications
that loads results specs from a csv file and checks that the columns are correctAdded some vignettes on usage of package features
ResultModelManager 0.3.0
Changes:
Added support for validating results model schema data.frames
Added function to generate sql for creating schemas from specification data frames
Added unzip folder function
Added robust upload function for directories of csv files conforming to model specifications
Added vignette to describe creating results schemas and uploading data sets
ResultModelManager 0.2.0
Changes:
Fixed support for newer versions of DatabaseConnector that have altered interface - this will mean this package now depends on DatabaseConnector version 6.0.0 and above. However,
queryDb
compatibility means that no code that uses these classes will need to be altered.Added support for
ConnectionHandler
to load tables withdbplyr/dplyr
tbl
interface (i.e. lazy loading). This means thatdplyr
style queries should be supported natively in Pooled and non-pooled connections.