Changelog
This document records the change history of sqlite3StatisticalLibrary.
This project follows Semantic Versioning.
[Unreleased]
Added
- Windows (MSVC) support: The extension now builds and runs on Windows with MSVC (Visual Studio 2022+).
ext_funcs.dllis produced on Windows alongside.dylib(macOS) and.so(Linux).__declspec(dllexport)added tosqlite3_ext_funcs_initfor proper DLL export.RUNTIME_OUTPUT_DIRECTORYadded for correct.dllplacement with the Visual Studio generator.- Compiler flags conditioned on
$<CXX_COMPILER_ID:MSVC>:/O2 /W4,/utf-8,/EHsc,NOMINMAX. - Post-build steps (
compile_commands.jsoncopy,.cacheremoval) guarded withif(NOT CMAKE_GENERATOR MATCHES "Visual Studio"). EXT_FUNCS_PATHchanged to$<TARGET_FILE:ext_funcs>to resolve the correct path across generators and configurations.- CI matrix extended with
windows-latestrunner. tests/window_functions_test.cpp: Added#include <algorithm>(required forstd::sorton MSVC).
Known Limitations
- Google Test suite (
-DSTAT_TESTS=ON) is not supported on Windows (MSVC) due to DLL boundary issues with dynamically linked GTest. Integration tests (a.out.exe, 266 tests) are fully supported.
[0.2.0] - 2026-03-13
Changed
ext_funcs.cpp—calc_ks_test(): Updated internal call fromstatcpp::ks_test_normal()tostatcpp::lilliefors_test()to follow the upstream rename in statcpp. The SQL function namestat_ks_test()is unchanged.ext_funcs.cpp— Bootstrap functions: Changed then_bootstrapguard fromn == 0ton < 2to preventstd::invalid_argumentwhenn_bootstrapis 0 or 1. Falls back ton = 1000whenn < 2.ext_funcs.cpp— Weighted functions: Migrated from deprecated 3-argument weighted API to new 4-argument overloads (withweight_last).
Documentation
function_reference.md/function_reference-ja.md: Updatedstat_ks_testdescription from "KS test" to "Lilliefors test".sqlite3lib_LOAD_EXTENSION.md/sqlite3lib_LOAD_EXTENSION-ja.md: Updatedstat_ks_testdescription from "KS test" to "Lilliefors test".ref/parameterized_aggregates.md/ref/parameterized_aggregates-ja.md: Rewrotestat_ks_testsection to clarify that the function performs a Lilliefors test.
Dependencies
- statcpp: v0.2.0