Skip to content

v0.14.0

Compare
Choose a tag to compare
@hymkor hymkor released this 10 Jun 10:21
· 80 commits to master since this release

Changes on v0.14.0 (English)

  • When the cell validation fails, prompt to modify the input text instead of discarding
  • Treat the types including FLOAT, DOUBLE, REAL, SERIAL, YEAR as number
  • Not only the last entry of history, but all modified entries are kept the last value until the current input is completed.
  • The the 1st command line parameter DRIVERNAME can be omitted when the 2nd parameter DataSourceName contains DRIVERNAME as the prefix
  • To enquote the DATASOURCENAME is now not necessary even when it contains a SPACE
  • desc: Display the executed sql when -debug is specfied
  • New option -term STRING : specfying the terminater of SQL instead of semicolon
    ( -term "/" enables to execute PL/SQL of Oracle )
  • For MySQL, the default setting is now ?parseTime=true&loc=Local
  • edit: column names in SQL are now enclosed in double quotes when they contain spaces

Fixed bugs

  • Fix: edit with -debug would panic when ColumnType.ScanType() returned nil
  • Fix: When -debug was specfied, d or x could clear the debug-header.

v0.14.0 での変更点(日本語)

  • セルの入力チェックに失敗した時、失敗した入力値を破棄せず、修正を促すようにした
  • FLOAT, DOUBLE, REAL, SERIAL, YEAR という語句を含む型も数値扱いするようにした
  • ヒストリ参照前の変更テキストが保存されるのが最新エントリだけだったのを、全エントリに対して、今の入力が確定されるまで保存するようにした
  • コマンド第二引数のデータソース名がドライバー名を接頭語として含んでいれば、第一引数のドライバー名は省略できるようにした
  • コマンド引数のデータソース名に空白が含まれていても引用符で囲まなくてもよくした
  • -debug オプション指定時、desc コマンドが発行している SQL を表示するようにした
  • -term string オプション: セミコロンのかわりに使うSQL の終了文字を指定
    (-term "/" で、Oracle の PL/SQL が実行可能になった)
  • MySQL では ?parseTime=true&loc=Local をデフォルトとした
  • edit: カラム名に空白が含まれているとき、カラム名を二重引用符で囲むようにして、SQLをエラーにしないようにした

不具合修正

  • -debug 指定時、d もしくは x でデバッグ用ヘッダー行がクリアできる問題を修正
  • -debug オプション指定時、ColumnType.ScanType() が nil を返すカラムがあると、edit コマンドが panic する不具合を修正