Skip to content

Commit 2d2b48b

Browse files
authored
Merge pull request #43 from hymkor/develop
Promote `develop` branch for v0.27.4 to `master`
2 parents 74fe16b + 6d0b4f3 commit 2d2b48b

File tree

12 files changed

+131
-66
lines changed

12 files changed

+131
-66
lines changed

Makefile

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ VERSION:=$(shell git describe --tags 2>$(NUL) || echo v0.0.0)
2121
GOOPT:=-ldflags "-s -w -X github.com/hymkor/sqlbless.Version=$(VERSION)"
2222
EXE=$(shell $(GO) env GOEXE)
2323

24-
all:
24+
build:
2525
$(GO) fmt ./...
26-
$(SET) "CGO_ENABLED=0" && $(GO) build $(GOOPT) && $(GO) build -C "$(CURDIR)/cmd/sqlbless" -o "$(CURDIR)/$(NAME)$(EXE)" $(GOOPT)
26+
$(SET) "CGO_ENABLED=0" && $(GO) build -C "$(CURDIR)/cmd/sqlbless" -o "$(CURDIR)" $(GOOPT)
2727

2828
test:
2929
$(GO) test -v ./...
3030

3131
_dist:
32-
$(MAKE) all
32+
$(SET) "CGO_ENABLED=0" && $(GO) build -C "$(CURDIR)/cmd/sqlbless" -o "$(CURDIR)" $(GOOPT)
3333
zip -9 $(NAME)-$(VERSION)-$(GOOS)-$(GOARCH).zip $(NAME)$(EXE)
3434

3535
dist:
@@ -42,22 +42,17 @@ clean:
4242
$(DEL) *.zip $(NAME)$(EXE)
4343

4444
manifest:
45-
make-scoop-manifest *-windows-*.zip > $(NAME).json
45+
$(GO) run github.com/hymkor/make-scoop-manifest@master -all *-windows-*.zip > $(NAME).json
4646

4747
release:
48-
pwsh -Command "latest-notes.ps1" | gh release create -d --notes-file - -t $(VERSION) $(VERSION) $(wildcard $(NAME)-$(VERSION)-*.zip)
49-
50-
get:
51-
$(GO) get -u
52-
$(GO) get golang.org/x/sys@v0.30.0
53-
# $(GO) get golang.org/x/text@v0.22.0
54-
$(GO) get golang.org/x/term@v0.29.0
55-
$(GO) get golang.org/x/exp@v0.0.0-20240531132922-fd00a4e0eefc
56-
$(GO) mod tidy
57-
# cd "$(CURDIR)/cmd/sqlbless" && $(GO) get -u && $(GO) mod tidy
48+
$(GO) run github.com/hymkor/latest-notes@latest | gh release create -d --notes-file - -t $(VERSION) $(VERSION) $(wildcard $(NAME)-$(VERSION)-*.zip)
5849

5950
docs:
60-
minipage -outline-in-sidebar -readme-to-index README.md > docs/index.html
61-
minipage -outline-in-sidebar -readme-to-index README_ja.md > docs/index_ja.html
51+
go run github.com/hymkor/minipage@latest -outline-in-sidebar -readme-to-index README.md > docs/index.html
52+
go run github.com/hymkor/minipage@latest -outline-in-sidebar -readme-to-index README_ja.md > docs/index_ja.html
53+
54+
readme:
55+
go run github.com/hymkor/example-into-readme@latest
56+
go run github.com/hymkor/example-into-readme@latest -target README_ja.md
6257

6358
.PHONY: all test dist _dist clean manifest release docs

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
SQL-Bless
22
===========
33

4-
<!-- badges.cmd | -->
4+
<!-- stdout:go run github.com/hymkor/example-into-readme/cmd/badges@latest -->
55
[![Go Test](https://github.com/hymkor/sqlbless/actions/workflows/go.yml/badge.svg)](https://github.com/hymkor/sqlbless/actions/workflows/go.yml)
66
[![License](https://img.shields.io/badge/License-MIT-red)](https://github.com/hymkor/sqlbless/blob/master/LICENSE)
77
[![Go Reference](https://pkg.go.dev/badge/github.com/hymkor/sqlbless.svg)](https://pkg.go.dev/github.com/hymkor/sqlbless)
8+
[![GitHub](https://img.shields.io/badge/github-repo-blue?logo=github)](https://github.com/hymkor/sqlbless)
89
<!-- -->
910

1011
**&lt;English&gt;** / [&lt;Japanese&gt;](./README_ja.md)
@@ -95,11 +96,16 @@ Supported commands
9596
- `EDIT [tablename [WHERE conditions...]]`
9697
- Start an [editor][csvi] to modify the selected records of the table.
9798
- In the editor, these keys are bound.
98-
99-
| Key | Bindings
100-
|-------|-----------------------------
101-
|`x`,`d`| Set NULL to the current cell
102-
|`q` | Quit editor with confirmation to apply or discard changes
99+
100+
| Key | Action |
101+
| --- | --- |
102+
| `r` | Replace cell value (using built-in readline) |
103+
| `o` | Append a new row |
104+
| `dd`, `dr` | **Delete the current row** |
105+
| `x` | **Set the current cell to NULL** |
106+
| `q` | Quit editor (with apply/discard confirmation) |
107+
108+
**Note:** The `D` key is disabled to prevent accidental execution due to terminal escape sequence delays. Please use `dd` or `dr` instead.
103109

104110
- Because the EDIT statement automatically generates SQL from data changed in the editor, it may not be able to properly represent SQL data for special types specific to individual databases. If you find it, we would appreciate it if you could [contact us](https://github.com/hymkor/sqlbless/issues/new).
105111
- `HOST command-line`

README_ja.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
SQL-Bless
22
=========
33

4-
<!-- badges.cmd | -->
4+
<!-- stdout:go run github.com/hymkor/example-into-readme/cmd/badges@latest -->
55
[![Go Test](https://github.com/hymkor/sqlbless/actions/workflows/go.yml/badge.svg)](https://github.com/hymkor/sqlbless/actions/workflows/go.yml)
66
[![License](https://img.shields.io/badge/License-MIT-red)](https://github.com/hymkor/sqlbless/blob/master/LICENSE)
77
[![Go Reference](https://pkg.go.dev/badge/github.com/hymkor/sqlbless.svg)](https://pkg.go.dev/github.com/hymkor/sqlbless)
8+
[![GitHub](https://img.shields.io/badge/github-repo-blue?logo=github)](https://github.com/hymkor/sqlbless)
89
<!-- -->
910

1011
[&lt;English&gt;](./README.md) / **&lt;Japanese&gt;**
@@ -94,10 +95,16 @@ SQL-Bless は、そうした現場での教訓から生まれた、安全で再
9495
- 選択したテーブルのレコードを修正するため [エディタ][csvi] を起動します
9596
- エディタ中では以下のキーが拡張されます
9697

97-
| Key | Bindings
98-
|-------|-----------------------------
99-
|`x`,`d`| セルに NULL をセットする
100-
|`q` | 変更を適用するかを確認してから終了
98+
| キー | 操作内容 |
99+
| --- | --- |
100+
| `r` | カレントセルを組み込みの readline で編集する |
101+
| `o` | 新しい行を末尾に追加する |
102+
| `dd`, `dr` | カレント行を削除する |
103+
| `x` | カレントセルに NULL を設定する |
104+
| `q` | エディタを終了する(変更の適用または破棄を確認) |
105+
106+
**** ターミナルのエスケープシーケンス遅延による誤作動を防ぐため、`D` キーによる削除は無効化された。行の削除には `dd` または `dr` を使用のこと
107+
101108

102109
- EDIT文は、エディターでの変更データから自動で SQL を生成する都合、個々のデータベース固有の特殊な型向けの SQL データをうまく表現できない場合があります。見つかりましたら、[ご連絡](https://github.com/hymkor/sqlbless/issues/new)いただけるとたすかります。
103110
- `HOST command-line`

commands.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ func doDescTables(ctx context.Context, ss *session, commandIn commandIn) error {
119119
var name string
120120

121121
handler := func(e *csvi.KeyEventArgs) (*csvi.CommandResult, error) {
122-
if e.CursorRow.Index() == 0 {
122+
if e.CurrentRow().Index() == 0 {
123123
return &csvi.CommandResult{}, nil
124124
}
125125
header := e.Front()
126126
for i, c := range header.Cell {
127127
if strings.EqualFold(c.Text(), ss.Dialect.TableNameField) {
128-
name = e.CursorRow.Cell[i].Text()
128+
name = e.CurrentRow().Cell[i].Text()
129129
return &csvi.CommandResult{Quit: true}, nil
130130
}
131131
}

docs/index.html

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,11 +1140,12 @@
11401140
</head><body>
11411141
<div class="main markdown-body">
11421142
<h1 id="sql-bless">SQL-Bless</h1>
1143-
<!-- raw HTML omitted -->
1143+
<!-- stdout:go run github.com/hymkor/example-into-readme/cmd/badges@latest -->
11441144
<p><a href="https://github.com/hymkor/sqlbless/actions/workflows/go.yml"><img src="https://github.com/hymkor/sqlbless/actions/workflows/go.yml/badge.svg" alt="Go Test" /></a>
11451145
<a href="https://github.com/hymkor/sqlbless/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-MIT-red" alt="License" /></a>
1146-
<a href="https://pkg.go.dev/github.com/hymkor/sqlbless"><img src="https://pkg.go.dev/badge/github.com/hymkor/sqlbless.svg" alt="Go Reference" /></a></p>
1147-
<!-- raw HTML omitted -->
1146+
<a href="https://pkg.go.dev/github.com/hymkor/sqlbless"><img src="https://pkg.go.dev/badge/github.com/hymkor/sqlbless.svg" alt="Go Reference" /></a>
1147+
<a href="https://github.com/hymkor/sqlbless"><img src="https://img.shields.io/badge/github-repo-blue?logo=github" alt="GitHub" /></a></p>
1148+
<!-- -->
11481149
<p><strong>&lt;English&gt;</strong> / <a href="./index_ja.html">&lt;Japanese&gt;</a></p>
11491150
<p>SQL-Bless is a command-line database client similar to SQL*Plus, supporting multiple database systems.</p>
11501151
<p>It was designed with reliability and transparency in mind.
@@ -1306,20 +1307,33 @@ <h2 id="supported-commands">Supported commands</h2>
13061307
<thead>
13071308
<tr>
13081309
<th>Key</th>
1309-
<th>Bindings</th>
1310+
<th>Action</th>
13101311
</tr>
13111312
</thead>
13121313
<tbody>
13131314
<tr>
1314-
<td><code>x</code>,<code>d</code></td>
1315-
<td>Set NULL to the current cell</td>
1315+
<td><code>r</code></td>
1316+
<td>Replace cell value (using built-in readline)</td>
1317+
</tr>
1318+
<tr>
1319+
<td><code>o</code></td>
1320+
<td>Append a new row</td>
1321+
</tr>
1322+
<tr>
1323+
<td><code>dd</code>, <code>dr</code></td>
1324+
<td><strong>Delete the current row</strong></td>
1325+
</tr>
1326+
<tr>
1327+
<td><code>x</code></td>
1328+
<td><strong>Set the current cell to NULL</strong></td>
13161329
</tr>
13171330
<tr>
13181331
<td><code>q</code></td>
1319-
<td>Quit editor with confirmation to apply or discard changes</td>
1332+
<td>Quit editor (with apply/discard confirmation)</td>
13201333
</tr>
13211334
</tbody>
13221335
</table>
1336+
<p><strong>Note:</strong> The <code>D</code> key is disabled to prevent accidental execution due to terminal escape sequence delays. Please use <code>dd</code> or <code>dr</code> instead.</p>
13231337
</li>
13241338
<li>
13251339
<p>Because the EDIT statement automatically generates SQL from data changed in the editor, it may not be able to properly represent SQL data for special types specific to individual databases. If you find it, we would appreciate it if you could <a href="https://github.com/hymkor/sqlbless/issues/new">contact us</a>.</p>

docs/index_ja.html

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,11 +1140,12 @@
11401140
</head><body>
11411141
<div class="main markdown-body">
11421142
<h1 id="sql-bless">SQL-Bless</h1>
1143-
<!-- raw HTML omitted -->
1143+
<!-- stdout:go run github.com/hymkor/example-into-readme/cmd/badges@latest -->
11441144
<p><a href="https://github.com/hymkor/sqlbless/actions/workflows/go.yml"><img src="https://github.com/hymkor/sqlbless/actions/workflows/go.yml/badge.svg" alt="Go Test" /></a>
11451145
<a href="https://github.com/hymkor/sqlbless/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-MIT-red" alt="License" /></a>
1146-
<a href="https://pkg.go.dev/github.com/hymkor/sqlbless"><img src="https://pkg.go.dev/badge/github.com/hymkor/sqlbless.svg" alt="Go Reference" /></a></p>
1147-
<!-- raw HTML omitted -->
1146+
<a href="https://pkg.go.dev/github.com/hymkor/sqlbless"><img src="https://pkg.go.dev/badge/github.com/hymkor/sqlbless.svg" alt="Go Reference" /></a>
1147+
<a href="https://github.com/hymkor/sqlbless"><img src="https://img.shields.io/badge/github-repo-blue?logo=github" alt="GitHub" /></a></p>
1148+
<!-- -->
11481149
<p><a href="./index.html">&lt;English&gt;</a> / <strong>&lt;Japanese&gt;</strong></p>
11491150
<p>SQL-Bless は、SQL*Plus に着想を得た、複数のデータベースエンジンに対応するコマンドライン用 SQL クライアントです。</p>
11501151
<p>SQL-Bless は「安全性と再現性」を最優先に設計されています。
@@ -1303,21 +1304,34 @@ <h2 id="%E3%82%B5%E3%83%9D%E3%83%BC%E3%83%88%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89
13031304
<table>
13041305
<thead>
13051306
<tr>
1306-
<th>Key</th>
1307-
<th>Bindings</th>
1307+
<th>キー</th>
1308+
<th>操作内容</th>
13081309
</tr>
13091310
</thead>
13101311
<tbody>
13111312
<tr>
1312-
<td><code>x</code>,<code>d</code></td>
1313-
<td>セルに NULL をセットする</td>
1313+
<td><code>r</code></td>
1314+
<td>カレントセルを組み込みの readline で編集する</td>
1315+
</tr>
1316+
<tr>
1317+
<td><code>o</code></td>
1318+
<td>新しい行を末尾に追加する</td>
1319+
</tr>
1320+
<tr>
1321+
<td><code>dd</code>, <code>dr</code></td>
1322+
<td>カレント行を削除する</td>
1323+
</tr>
1324+
<tr>
1325+
<td><code>x</code></td>
1326+
<td>カレントセルに NULL を設定する</td>
13141327
</tr>
13151328
<tr>
13161329
<td><code>q</code></td>
1317-
<td>変更を適用するかを確認してから終了</td>
1330+
<td>エディタを終了する(変更の適用または破棄を確認)</td>
13181331
</tr>
13191332
</tbody>
13201333
</table>
1334+
<p><strong></strong> ターミナルのエスケープシーケンス遅延による誤作動を防ぐため、<code>D</code> キーによる削除は無効化された。行の削除には <code>dd</code> または <code>dr</code> を使用のこと</p>
13211335
</li>
13221336
<li>
13231337
<p>EDIT文は、エディターでの変更データから自動で SQL を生成する都合、個々のデータベース固有の特殊な型向けの SQL データをうまく表現できない場合があります。見つかりましたら、<a href="https://github.com/hymkor/sqlbless/issues/new">ご連絡</a>いただけるとたすかります。</p>

go.mod

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,23 @@ go 1.20
55
require (
66
github.com/glebarez/go-sqlite v1.22.0
77
github.com/go-sql-driver/mysql v1.8.1
8-
github.com/hymkor/csvi v1.21.1
8+
github.com/hymkor/csvi v1.22.0
99
github.com/hymkor/go-multiline-ny v0.22.4
1010
github.com/hymkor/go-shellcommand v0.0.2
1111
github.com/hymkor/struct2flag v0.0.4
1212
github.com/lib/pq v1.10.9
1313
github.com/mattn/go-colorable v0.1.14
1414
github.com/mattn/go-isatty v0.0.20
1515
github.com/microsoft/go-mssqldb v1.7.2
16-
github.com/nyaosorg/go-box/v3 v3.0.0
16+
github.com/nyaosorg/go-box/v3 v3.1.1
1717
github.com/nyaosorg/go-readline-ny v1.14.1
1818
github.com/nyaosorg/go-ttyadapter v0.3.0
1919
github.com/sijms/go-ora/v2 v2.8.22
2020
)
2121

2222
require (
2323
filippo.io/edwards25519 v1.1.0 // indirect
24-
github.com/clipperhouse/stringish v0.1.1 // indirect
25-
github.com/clipperhouse/uax29/v2 v2.3.0 // indirect
24+
github.com/clipperhouse/uax29/v2 v2.6.0 // indirect
2625
github.com/dustin/go-humanize v1.0.1 // indirect
2726
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
2827
github.com/golang-sql/sqlexp v0.1.0 // indirect

go.sum

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 h1:6oNBlSdi1QqM1PNW7FPA6xO
66
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.0.1 h1:MyVTgWR8qd/Jw1Le0NZebGBUCLbtak3bJ3z1OlqZBpw=
77
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.0.0 h1:D3occbWoio4EBLkbkevetNMAVX197GkzbUMtqjGWn80=
88
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1 h1:DzHpqpoJVaCgOUdVHxE8QB52S6NiVdDQvGlny1qvPqA=
9-
github.com/clipperhouse/stringish v0.1.1 h1:+NSqMOr3GR6k1FdRhhnXrLfztGzuG+VuFDfatpWHKCs=
10-
github.com/clipperhouse/stringish v0.1.1/go.mod h1:v/WhFtE1q0ovMta2+m+UbpZ+2/HEXNWYXQgCt4hdOzA=
11-
github.com/clipperhouse/uax29/v2 v2.3.0 h1:SNdx9DVUqMoBuBoW3iLOj4FQv3dN5mDtuqwuhIGpJy4=
12-
github.com/clipperhouse/uax29/v2 v2.3.0/go.mod h1:Wn1g7MK6OoeDT0vL+Q0SQLDz/KpfsVRgg6W7ihQeh4g=
9+
github.com/clipperhouse/uax29/v2 v2.6.0 h1:z0cDbUV+aPASdFb2/ndFnS9ts/WNXgTNNGFoKXuhpos=
10+
github.com/clipperhouse/uax29/v2 v2.6.0/go.mod h1:Wn1g7MK6OoeDT0vL+Q0SQLDz/KpfsVRgg6W7ihQeh4g=
1311
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
1412
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
1513
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
@@ -25,8 +23,8 @@ github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EO
2523
github.com/google/pprof v0.0.0-20240409012703-83162a5b38cd h1:gbpYu9NMq8jhDVbvlGkMFWCjLFlqqEZjEmObmhUy6Vo=
2624
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
2725
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
28-
github.com/hymkor/csvi v1.21.1 h1:8rgQgH0mGTeuzabk7cN53g87LwoR/uMQIAmIEqIk0bo=
29-
github.com/hymkor/csvi v1.21.1/go.mod h1:zm4EcSzlGiiCtPWq77a+L3Q5IpJufIEX0q4iIGKXZhs=
26+
github.com/hymkor/csvi v1.22.0 h1:fvUDS81s5LReepPjSI+/PWVmWlnxAYyL6SUILOOooO8=
27+
github.com/hymkor/csvi v1.22.0/go.mod h1:zm4EcSzlGiiCtPWq77a+L3Q5IpJufIEX0q4iIGKXZhs=
3028
github.com/hymkor/go-multiline-ny v0.22.4 h1:Ag2rkBpDnr3jp+AHe1CuXSOQ4AQ8D0+gBNVf+BAX+/0=
3129
github.com/hymkor/go-multiline-ny v0.22.4/go.mod h1:v2lqQooHVAO53WICAIbgTn74bQtzsg4tFn29d+7JPwY=
3230
github.com/hymkor/go-shellcommand v0.0.2 h1:6+XG2h/9DGk5i3Oh4rU48z/nsPWx4Sp73s6OpryQtyw=
@@ -50,8 +48,8 @@ github.com/microsoft/go-mssqldb v1.7.2 h1:CHkFJiObW7ItKTJfHo1QX7QBBD1iV+mn1eOyRP
5048
github.com/microsoft/go-mssqldb v1.7.2/go.mod h1:kOvZKUdrhhFQmxLZqbwUV0rHkNkZpthMITIb2Ko1IoA=
5149
github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4=
5250
github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls=
53-
github.com/nyaosorg/go-box/v3 v3.0.0 h1:W5qfScEkKBoD68gbP/lwfWlvcTRB0rwXkhL+9iC62xI=
54-
github.com/nyaosorg/go-box/v3 v3.0.0/go.mod h1:70GsE9mIh7JKVCxt71q3jEijO6C9YJmOZqWpPa9w+GY=
51+
github.com/nyaosorg/go-box/v3 v3.1.1 h1:iTWE0MOTlD52yEySfhdN6nonX7Uagkn985xQZM6sCyI=
52+
github.com/nyaosorg/go-box/v3 v3.1.1/go.mod h1:kuRLL+x9n7kqIAiSZRXgNxP+HJVelsCKplo2TQSnWIo=
5553
github.com/nyaosorg/go-inline-animation v0.3.0 h1:LrOHowED2PrXEUWGagL1bLR+XTXD06EoWnLRAAn0PWc=
5654
github.com/nyaosorg/go-inline-animation v0.3.0/go.mod h1:GLb7BXeLMuA12LMN3c8l69GQcmlAxit3oZRKILztOsU=
5755
github.com/nyaosorg/go-readline-ny v1.14.1 h1:bWyXpR6jRaCXysx4bnioxk36+YjQ6dypHKMjHnzIXdk=

release_note_en.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@ Release notes (English)
22
=======================
33
( **English** / [Japanese](release_note_ja.md) )
44

5+
v0.27.4
6+
-------
7+
Feb 14, 2026
8+
9+
- `edit` statement: Restore row deletion commands (`dd`, `dr`):
10+
Fixed a keybinding conflict that rendered row deletion unavailable. The `d` key has been unassigned from the "Set Null" function to restore the `dd` and `dr` commands, following specification changes in Csvi. Field Null assignment remains available via the `x` key. (#35)
11+
- `edit` statement: Prevent creation of empty lines at the end of the editable CSV content. ([csvi#79])
12+
- (internal changes) Stop using deprecated fields: `csvi.KeyEventArgs.CursorRow` and `CursorCol` ([csvi#80],#38)
13+
- `edit` statement: Quit immediately on `q` without a prompt if there are no changes.([csvi#81],#39)
14+
15+
[csvi#79]: https://github.com/hymkor/csvi/pull/79
16+
[csvi#80]: https://github.com/hymkor/csvi/pull/80
17+
[csvi#81]: https://github.com/hymkor/csvi/pull/81
18+
519
v0.27.3
620
-------
721
Feb 6, 2026

release_note_ja.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@ Release notes (Japanese)
22
========================
33
( [English](release_note_en.md) / **Japanese** )
44

5+
v0.27.4
6+
-------
7+
Feb 14, 2026
8+
9+
- `edit`文: 行削除コマンド(`dd`, `dr`)の復旧
10+
レコードの削除操作(`dd`, `dr`)を再び利用可能にした。以前のバージョンでは、Null設定機能を `d` キーにも割り当てていたため、Csvi側の仕様変更(`D` の廃止)に伴い、行削除が実行できない状態になっていた。今回、`d` へのNull設定機能を解除することでこの競合を解消した。※Null設定機能は、引き続き `x` キーで利用可能。 (#35)
11+
- `edit`文: 編集対象の CSV データ末尾に空行が生成されないようにした。([csvi#79])
12+
- (内部修正) 廃止予定のフィールド `csvi.KeyEventArgs.CursorRow``CursorCol` 使わないようにした ([csvi#80],#38)
13+
- `edit`文: 変更がない場合は `q` で確認なしに終了するようにした。([csvi#81],#39)
14+
15+
[csvi#79]: https://github.com/hymkor/csvi/pull/79
16+
[csvi#80]: https://github.com/hymkor/csvi/pull/80
17+
[csvi#81]: https://github.com/hymkor/csvi/pull/81
18+
519
v0.27.3
620
-------
721
Feb 6, 2026

0 commit comments

Comments
 (0)