v0.10.6

mufeedvh/code2promptv0.10.6Jan 16, 2024by github-actions[bot]

AI Summary

This release focuses on configuration management and codebase robustness, introducing a config file for ripgrep-all, SQLite caching, and async infrastructure, though it was deliberately skipped as a 1.0.0 milestone due to stability concerns.

Key Highlights

  • Configurable ripgrep-all (rga) with auto-generated JSONC schema
  • Support for custom subprocess-spawning adapters
  • Migration of cache database to SQLite for better inspectability
  • Conversion of the entire codebase to an asynchronous model
  • Addition of a cross-platform rga-fzf binary

Breaking Changes

  • Adapter interface changed from synchronous `(&Read, &Write) -> ()` to asynchronous `AsyncRead -> AsyncRead`

New Features

  • Mbox adapter
  • Auto-generate parts of the readme
  • Debug logging and performance timings when `--debug` is used
  • Better error messages via `anyhow` crate

Full Release Notes

# 0.10.6

This was originally supposed to be version 1.0.0, but I don't feel confident enough in the stability to call it that.

Highlights:

- rga is now configurable via a config file (~/.config/ripgrep-all/config.jsonc) that is generated on first use, including schema.
- Custom subprocess-spawning adapters can be defined via config file. See https://github.com/phiresky/ripgrep-all/wiki
- External adapters can be shared with the community at https://github.com/phiresky/ripgrep-all/discussions

Others:

- cache database is now sqlite for inspectability and robustness
- mbox adapter (@FliegendeWurst https://github.com/phiresky/ripgrep-all/pull/104)
- auto generate parts of the readme
- add loads of debug logs and performance timings when `--debug` is used
- better error messages via `anyhow`
- add cross-platform rga-fzf binary
- change whole code base to be async
- change adapter interface from `(&Read, &Write) -> ()` to `AsyncRead -> AsyncRead` to allow chaining of adapters