- Bump base and ghc version bounds to support GHC 9.14
- Use prepared statements to speedup SQLite indexing
- Initialize name cache with known keys to prevent confusion with built in names (GHC #26055)
- DB schema change: added new bool field
refs.is_generatedto distinguish between references coming from source code and those generated by the compiler - Extended
hie-db ref-graphcli command by adding possibility to filter by occurrence name / module / unit-id:hiedb ref-graph [NAME] [MODULE] [-u|--unit-id UNITID]
- Bump base and ghc version bounds to support GHC 9.12
- Bump base and ghc version bounds to support GHC 9.10
- Add index on column
unitof tablemods - Add new table
importswhich indexes import statements - Add new cli options that allow selectively skipping indexing of some things:
--skip-refsSkip refs table when indexing--skip-declsSkip decls table when indexing--skip-defsSkip defs table when indexing--skip-exportsSkip exports table when indexing--skip-importsSkip imports table when indexing--skip-typesSkip types and typerefs table when indexing--skip-typerefsSkip typerefs table when indexing - Fix a bug where duplicate entries were inserted into
typerefstable during indexing - Fix a bug in
searchDefquery which was mistakenly not including ':' when searching by occurrence names
- Fix incorrect Show Symbol instance in 0.5.0.0
- Handle duplicate record fields in GHC 9.8 instead of crashing
- Add
--src-base-diroption allowing for src file indexing inmods - Support GHC 9.8.1
- Drop support for GHC 8.10
- Add
lookupHieFileFromHash - Add
lookupPackage - Add
removeDependencySrcFiles
- Support GHC 9.6
- Set sqlite pragma busy_timeout to 500ms to mitigate frequent failures on concurrent access
- Support GHC 9.4
- Add upper bounds for base and algebraic graphs
- Support GHC 9.2 (@fendor)
- Remove
ghc-api-compatdependency (@fendor)
- Index module exports
- New queries
getAllIndexedExports,getExportsForModule, andfindExporters - Support for ghc-9.0
- An new
addRefsFromLoaded_unsafeto index a module with cleanup or transactional behaviour - Include test data in source tarball
- Use terminal-size for printing in some cases, making verbose indexing faster in some cases
- Add additional sqlite indexes to prevent accidently quadratic behaviour while indexing
- Introduce
SourceFiletype - Add
deleteMissingRealFilesto garbage collect missing/deleted files - Enforce
is_real => hs_src IS NOT NULLconstraint in database. - Add option to show context for source spans
- Coloured output and other output improvements
- Garbage collection of typenames
- Added flag to reindex all files
- 'addRefsFrom' now returns a boolean indicating if the file was indexed or skipped
- Use fingerprints/hashes instead of modtimes to maintin database consistency
- Type references are only reported for bind sites
- Type references are computed for all files
- Total time taken to index is reported
searchis now calledfindReferencesfindTypeRefshas a similar type signature tofindReferences
- First version.