- Bump base and ghc version bounds to support GHC 9.10
- Add index on column
unit
of tablemods
- Add new table
imports
which indexes import statements - Add new cli options that allow selectively skipping indexing of some things:
--skip-refs
Skip refs table when indexing--skip-decls
Skip decls table when indexing--skip-defs
Skip defs table when indexing--skip-exports
Skip exports table when indexing--skip-imports
Skip imports table when indexing--skip-types
Skip types and typerefs table when indexing--skip-typerefs
Skip typerefs table when indexing - Fix a bug where duplicate entries were inserted into
typerefs
table during indexing - Fix a bug in
searchDef
query 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-dir
option 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-compat
dependency (@fendor)
- Index module exports
- New queries
getAllIndexedExports
,getExportsForModule
, andfindExporters
- Support for ghc-9.0
- An new
addRefsFromLoaded_unsafe
to 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
SourceFile
type - Add
deleteMissingRealFiles
to garbage collect missing/deleted files - Enforce
is_real => hs_src IS NOT NULL
constraint 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
search
is now calledfindReferences
findTypeRefs
has a similar type signature tofindReferences
- First version.