Releases: psychelzh/tarflow.iquizoo
Releases · psychelzh/tarflow.iquizoo
tarflow.iquizoo 3.3.0
Breaking Changes
- The
RMariaDB::MariaDB()
database driver is detected with higher priority, andodbc::odbc()
is technically deprecated, although still supported (not sure for working) for now (#68). - Renamed
fetch_parameterized()
asfetch_iquizoo()
. The latter is shorter and echoes with the package name. - Removed
fetch_batch()
as vector parameters are supported byDBI::dbGetQuery()
.fetch_iquizoo()
handles both vector and scalar parameters.
tarflow.iquizoo 3.2.0
New Features
- Added
setup_source()
to specify the data source. Argumentsdriver
,dsn
andgroups
offetch_parameterized()
now live in this function. - Let
params
argument offetch_parameterized()
be optional (but not after...
) when no parameters inquery
. Note this is not checked beforehand, so you should take care of whether there are parameters. - Supported custom SQL templates. When users want to use different parameter names other than the default one, they could support their own paired with SQL templates. See
setup_templates()
for details (#66).
Improvements
- Enhanced progress hash.
- The name is changed from
project_hash
toprogress_hash
, which is more informative. So the argumentalways_check_hash
ofprepare_fetch_data()
is changed tocheck_progress
accordingly. - Now if there are multiple projects, the hash will be separated for each project.
- The SQL now is independent of the user's parameters (#67).
- The name is changed from
tarflow.iquizoo 3.1.1
- Fixed a bug that
fetch_preset()
does not pass...
tofetch_parameterized()
correctly.
tarflow.iquizoo 3.1.0
Breaking Changes
- Changed parameters to organization name and project name. Former course specification is removed.
New Features
- Support specify
dsn
andgroups
in options bytarflow.dsn
andtarflow.groups
respectively. This is useful when default values are not suitable for you. - Added project users to pipeline.
- Added support for auto-check whether the projects data are up-to-date. This turned on by default, and you can turn it off by setting
always_check_hash
toFALSE
inuse_targets()
.
Bug Fixes
- Fix a bug that targets flow will fail with meaningless message when
odbc
does not configure correctly.
tarflow.iquizoo 3.0.0
Breaking Changes
- Supported the new database design of IQUIZOO. Now the Rmarkdown templates were removed, and users should call
tarflow.iquizoo::use_targets()
to generate the pipeline. - Limited the parameters settings to only
course_name
andcourse_period
for now. Other parameters will be added in future. - Added
game_stage
andgame_star
to scores data (#29).
tarflow.iquizoo 2.5.3
- Added more tests. No user-level updates.
tarflow.iquizoo 2.5.1
Bug Fixes
- Fixed option
"tarflow.driver"
not working. - Removed
...
argument fromconnect_to_db()
for it is just an internal function.
tarflow.iquizoo 2.5.0
Breaking Changes
- Now
pickup()
supportdrv
argument to specify the database driver. This is useful when you want to specify which database driver to use. For example, you can usedrv = RMariaDB::MariaDB()
.- The default is from the value of option
"tarflow.driver"
, which will find the first available driver fromodbc
andRMariaDB
. If neither of them is available, a message will be prompted to inform user to install one.
- The default is from the value of option
tarflow.iquizoo 2.4.1
Breaking Changes
- Added a new argument
add_keyword
tocompose_where()
to allow adding keywordWHERE
to the where clause. This is useful when you want to compose a where clause for a subquery.
tarflow.iquizoo 2.4.0
Breaking Changes
- Removed
search_games_mem()
for it will not behave as expected. Especially,memoise::forget()
will not work. A working version is added in rmarkdown template.
Misc
- Enhanced code quality.