Releases: StrategicProjects/DT2
Releases · StrategicProjects/DT2
DT2 0.1.2
Patch release with two bug fixes and several robustness/documentation improvements. DT2 0.1.1 is on CRAN; this is a maintenance update.
🐛 Bug fixes
dt2_cols_escape()now actually escapes HTML whenescape = TRUE(the default). Previously both branches produced the same identity renderer, so content was always inserted as raw HTML.- Server-side processing (
dt2_ssp_handler()/dt2_bind_server()) now URL-decodes query-string keys, so global search and column ordering are applied — previously only pagination worked because encoded keys likesearch%5Bvalue%5Dwere never matched.
✨ Improvements
dt2()fillsoptions$columnsfrom the data when not supplied.- Name-based column helpers warn informatively when a column name can't be resolved (instead of silently producing an invalid target).
- Number/date format helpers build their JavaScript with properly quoted/escaped string literals (fixes breakage when a prefix/suffix/format contains a quote).
print()fordt2_themeshows theclassfield.
📚 Docs & infrastructure
- New testthat suite covering the fixes.
- GitHub Actions R-CMD-check workflow.
- Grouped pkgdown reference index, new examples,
dt2_buttons()/dt2_use_buttons()cross-links,options$columnsnotes in the vignettes, new logo.
Full changelog: https://strategicprojects.github.io/DT2/news/