
Version 1.0
artcore 1.0.0
Breaking Changes
-
Environment variables simplified - Removed
ART_USE_CONFIGand environment-specific suffixes (_PROD,_DEV,_SITE). Each deployment now sets variables directly:-
ART_PGHOST(wasART_PGHOST_PROD,ART_PGHOST_DEV, etc.) -
ART_PGPORT(wasART_PGPORT_PROD, etc.) -
ART_PGUSER(wasART_PGUSER_PROD, etc.) -
ART_PGPASS(wasART_PGPASS_PROD, etc.) -
ART_PGDATA(new - database name, was hardcoded per config)
-
Removed
rpgconndependency - Database connections now useDBI::dbConnect()directly withRPostgres. Simpler, fewer dependencies...dbc()signature changed - No longer acceptscfgparameter. Reads credentials directly from environment.
New Features
Test setup validation -
tests/testthat/setup.Rvalidates required environment variables before running tests. Fails fast with clear message listing missing variables instead of cryptic downstream errors.Live database test - Added
test-database.Rto verify database connectivity with actual credentials.
Documentation
Centralized environment variable docs - All env var documentation now in
README.md. Other files reference it instead of documenting inline.Simplified AGENTS.md - Reduced from 300+ lines to ~70 lines. References README.md for env vars.
Roxygen2 examples - All exported functions now have examples wrapped in
\dontrun{}.Documentation focus - Updated docs to explain WHY (purpose) rather than WHAT/HOW (implementation details).