Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,24 @@ All notable changes to sinbo will be documented here.

---

## 1.7.0 - 2026-05-24

### Changed

- Improved sinbo list formatting
- Missing variable placeholders now warn instead of halting
- Removed modified_at from metadata
- Added bulk `remove`, `export`, `import`
- Improved `sinbo list` output formatting

### Fixed

- Editing a snippet without a description no longer wipes it

## 1.6.0 - 2026-04-19

### Added

- `sinbo-lsp` — LSP server for inline snippet completions in any editor
- VS Code extension with `sinbo:` trigger
- Variable fallback values with `SINBO:name:fallback:` syntax
Expand All @@ -16,6 +31,7 @@ All notable changes to sinbo will be documented here.
## 1.5.0 - 2026-04-13

### Added

- `rename <old> <new>` command to rename snippets
- `--peek` / `-p` flag on `list` to preview first 30 characters of snippet content
- `-a` short flag for `--args` on `get`
Expand All @@ -25,6 +41,7 @@ All notable changes to sinbo will be documented here.
## 1.4.0 - 2026-04-12

### Added

- Shell completions for bash, zsh, fish, and powershell (`sinbo completions <shell>`)
- Dynamic snippet name completion on TAB for `get`, `remove`, `edit`, `encrypt`, `decrypt`, `export`
- Hidden `list-names` command for shell completion scripts
Expand All @@ -33,6 +50,7 @@ All notable changes to sinbo will be documented here.
## 1.3.0 - 2026-04-12

### Added

- Variable substitution system with `SINBO:name:` placeholder syntax
- `--args key=value` flag on `get` for placeholder substitution
- `export` command — export snippets to `.sinbo.json` files
Expand All @@ -42,12 +60,15 @@ All notable changes to sinbo will be documented here.
## 1.2.1 - 2026-04-11

### Added

- Description field to snippet metadata

### Fixed

- Suppressed false-positive `RUSTSEC-2026-0097` advisory for `rand 0.8.5` (unsoundness does not affect sinbo's usage)

### CI

- Added `cargo audit` check to the pipeline

## 1.2.0 - 2026-04-10
Expand Down
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ cargo build
cargo test
```

### Roadmap

- [ ] Search should hit tags and descriptions, not just content
- [*] Bulk operations by tag — `remove -t`, `export -t`, `encrypt -t`
- [ ] Git sync — `sinbo sync init / push / pull` using snippets folder as a git repo
- [ ] Chrome extension — select text on any page, save as a snippet

---

## Making Changes
Expand Down
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ List all saved snippets. Encrypted snippets are shown with a `Locked` indicator.
sinbo list # list all
sinbo list -t docker # filter by tag
sinbo list -s # show full content
sinbo list -p # preview first 25 characters
sinbo list -p # preview first 30 characters
```

| Flag | Short | Description |
Expand Down Expand Up @@ -366,17 +366,17 @@ Add-Content $PROFILE "`nsinbo completions powershell | Invoke-Expression"

---

<!--


## Editor Integration

sinbo-lsp provides inline snippet completions in any editor. Type `sinbo:` to get a completion list of all your saved snippets, selecting one inserts the full content.

See [sinbo-lsp/README.md](sinbo-lsp/README.md) for installation and editor setup.
See [sinbo-lsp/README.md](https://github.com/sinbo-cli/sinbo_lsp#sinbo-lsp) for installation and editor setup.

---

-->


## How It Works

Expand All @@ -389,7 +389,7 @@ Snippets are stored as plain files in your system config directory:
| ------------------ | ------------------------------ |
| `{name}.code` | Plaintext snippet content |
| `{name}.enc` | Encrypted snippet content |
| `{name}.meta.json` | Tags, extension, and timestamp |
| `{name}.meta.json` | Tags, extension and description|

Plain `.code` files are grep-able, copyable, and easy to back up directly.

Expand Down
Loading
Loading