This file tracks notable changes to nreCsvExt. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v1.0.1 (2023-08-22)
- Added Github links to documentation for release notes, change log, and reporting issues.
v1.0.0 (2023-08-18)
- Replaced
noWarn
option withwarn
option in all relevant functions to avoid the double negative:warn = true
vs.noWarn = false
- The
span
option incsvImportHistory()
is now start inclusive and end exclusive for consistency with the rest of SkySpark - Updated
csvImportHistory()
warning and error messages to include point ID along with display name
csvImportHistory()
no longer crashes and also provides useful warnings when a value column is present in the source file but contains no data
v0.9.6 Beta (2023-04-11)
csvImportHistory()
now triesparseBool()
andparseNumber()
first, before falling back toparseAuto()
on parsing failurescsvImportHistory()
now executes callback functions and rollups within tasks for enhanced security- The
csvCallback
tag now supports partial application function syntax
v0.9.5 Beta (2023-04-02)
"auto"
,"dict"
,"list"
, and"float"
data types for CSV column specificationsoverwrite
option forcsvImportHistory()
allows writing to time spans with existing datacsvExportHistory()
for writing point history to CSV files- Documentation for importing nested
site
,space
, andequip
records - Basic unit tests
csvImport*
functions (and some others) are nowoverridable
csvImportSites()
,csvImportSpaces()
, andcsvImportEquips()
now allow nesting ofsite
,space
, andequip
records, respectivelycsvImportRecs()
now automatically strips leading and trailing ` characters when parsing columns of data typeuri
- General code cleanup
- General documentation cleanup
parseAuto()
,parseCoord()
andparseDict()
(moved to nrelUtilityExt)axon
data type for CSV column specification (instead, useauto
)safe
import option (no longer relevant becauseaxon
data type was also removed)
v0.9.4 Beta (2022-02-28)
csvImportSpaces()
for importingspace
recordssafe
mode (enabled by default) disallowsaxon
data type in CSV column specification to prevent unintended use ofeval()
- (Temporary) parsing functions
parseAuto()
,parseCoord()
andparseDict()
- Extension documentation
- BSD3 license
- Renamed csvExt to nrelCsvExt
- Rewrote functions to take advantage of SkySpark 3.1+
- Reworked import control options for more consistency and flexibility
csvReadRecs()
is nowcsvImportRecs()
csvImportWeather()
is nowcsvImportWeatherStations()
for consistency with Haystack 4
csvImportWeatherPoints()
(instead usecsvImportPoints()
)
v0.9.3 Beta (2019-01-23)
- Support for
"ignore"
column type tocsvReadRecs()
column specification, for ignoring unwanted columns - Support for composite (multiple column) timestamps to
csvImportHistory()
primaryFunction
andyearBuilt
fields tosite
record import template
- Improved error logging
- Documentation updates
csvImportHistory()
again properly drops data prior to point'shisEnd
v0.9.2 Beta (2018-10-27)
- Uri parsing to
csvReadRecs()
- Updated dependency
utilityExt
tonrelUtilityExt
v0.9.1 Beta (2018-05-17)
- Corrected version for
utilityExt
dependency
v0.9 Beta (2017-11-10)
- Initial packaging of NREL CSV Axon functions
- For columns with the
axon
data type,csvReadRecs()
directly evaluates Axon expressions loaded as text from the source CSV file. This presents a security risk if the provenance of the source file is unknown. This issue is present in versions 0.9 - 0.9.4.