mycli v1.4.0 Release Notes

  • ๐Ÿ”‹ Features:

    • โž• Add source command. This allows running sql statement from a file.

    eg:

      mycli> source filename.sql
    
    • โž• Added a config option to make the warning before destructive commands optional. (Thanks: Daniel West)

    In the config file ~/.myclirc set destructive_warning = False which will disable the warning before running DROP commands.

    • โž• Add completion support for CHANGE TO and other master/slave commands. This is still preliminary and it will be enhanced in the future.

    • โž• Add custom styles to color the menus and toolbars.

    • โฌ†๏ธ Upgrade prompt_toolkit to 0.46. (Thanks: [Jonathan Slenders])

    Multi-line queries are automatically indented.

    ๐Ÿ› Bug Fixes:

    • ๐Ÿ›  Fix keyword completion after the WHERE clause.
    • โž• Add \g and \G as valid query terminators. Previously in multi-line mode ending a query with a \G wouldn't run the query. This is now fixed.