PackageTrack
Sign in Get early access

github.com/hanchuanchuan/goInception

v1.3.0 #941 most downloaded on Go modules hanchuanchuan/goInception

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships fairly regularly

a new release about every 3 months

Some releases are documented

notes for 19 of 35 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

89 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

89 releases · Mar 2019 to Nov 2024
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 89
  1. v1.3.1-0.20241101131208-cfb88db9954a 01 Nov 2024 pre-release

    Nothing published for this version

  2. v1.3.1-0.20240825083329-2f06c61b95d2 25 Aug 2024 pre-release

    Nothing published for this version

  3. v1.3.1-0.20240812130606-261854df5aad 12 Aug 2024 pre-release

    Nothing published for this version

  4. v1.3.1-0.20240504080318-b3de05e2e795 04 May 2024 pre-release

    Nothing published for this version

  5. v1.3.1-0.20231217042523-02acf74f88cc 17 Dec 2023 pre-release

    Nothing published for this version

  6. v1.3.1-0.20230813071349-de837ca1e124 13 Aug 2023 pre-release

    Nothing published for this version

  7. v1.3.1-0.20230205142112-63f784e26fab 05 Feb 2023 pre-release

    Nothing published for this version

  8. v1.3.1-0.20230109132946-9b79d291e71c 09 Jan 2023 pre-release

    Nothing published for this version

  9. v1.3.1-0.20220905132152-8e0761f8e883 05 Sep 2022 pre-release

    Nothing published for this version

  10. v1.3.1-0.20220618091436-140054cfdb46 18 Jun 2022 pre-release

    Nothing published for this version

  11. v1.3.0 12 Jun 2022
    Release notes

    重构错误级别自定义设置,自动生成所有的可自定义错误级别。
    错误级别的配置项由原来的 61 项提升到 170+ 项。

    该升级可能影响原有的审核错误级别, 在升级前请注意测试!!

    Fix

    • 修复dml语句explain时未处理表名包含select的问题
    • 修复masking语法树功能未正确解析表别名的问题(#417)
    • 修复masking语法树解析index乱序的问题 (#426)
    • 修复masking语法树解析子查询表名错误的问题 (#429)
    • 修复insert的select子句可能无法正确解析的问题 (#437)
    • 修复当远端Host过长时可能导致无法写入备份表的问题 (#421)

    New Features

    • 添加check_read_only参数以设置是否检查数据库只读状态 (#412)
    • 添加varchar长度审核,参数max_varchar_length (#377)
    • 添加参数disable_types可灵活配置不允许的数据类型(#400,#409)
    • 添加RENAME COLUMN TO语法支持 (#422)
    • 添加分区表与非分区表转换语法支持 (#434)
    • 添加表列数限制参数max_column_count (#443)

    Update

    • 优化timestamp字段default null的审核逻辑 (#406)
    • 为备份表的opid_time字段添加默认索引(#414)
    • 添加FULLTEXT INDEX的WITH PARSER option语法支持
    • 优化MySQL8.0版本的新建库新建表审核逻辑 (#420)
    • 重构masking语法树解析功能 (#429)
    • 添加CREATE INDEX的预估受影响行数显示
    • 解决获取真实行数超时不会返回错误的问题 (#451,hhyo)
    Open source →
    Release notes

    v1.3.0 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  12. v1.2.6-0.20220521104123-a9d54fc95ce4 21 May 2022 pre-release

    Nothing published for this version

  13. v1.2.6-0.20220430103400-733d63f5325c 30 Apr 2022 pre-release

    Nothing published for this version

  14. v1.2.6-0.20220405103805-f6d55a5a1f04 05 Apr 2022 pre-release

    Nothing published for this version

  15. v1.2.6-0.20220405101106-f3d6a228a844 05 Apr 2022 pre-release

    Nothing published for this version

  16. v1.2.6-0.20220405093044-37c624b96f44 05 Apr 2022 pre-release

    Nothing published for this version

  17. v1.2.6-0.20220328121330-767bf4f0f651 28 Mar 2022 pre-release

    Nothing published for this version

  18. v1.2.6-0.20220327150728-e46a69b38075 27 Mar 2022 pre-release

    Nothing published for this version

  19. v1.2.6-0.20220327121953-0f9a3b2ba3e5 27 Mar 2022 pre-release

    Nothing published for this version

  20. v1.2.6-0.20220327105705-23459d71e5a1 27 Mar 2022 pre-release

    Nothing published for this version

  21. v1.2.6-0.20220219105551-e2604a3c2a4b 19 Feb 2022 pre-release

    Nothing published for this version

  22. v1.2.6-0.20220219092423-085b4def5b64 19 Feb 2022 pre-release

    Nothing published for this version

  23. v1.2.6-0.20220219074559-ce34ba83748e 19 Feb 2022 pre-release

    Nothing published for this version

  24. v1.2.6-0.20220116062057-1cc9f31252ea 16 Jan 2022 pre-release

    Nothing published for this version

  25. v1.2.6-0.20220111142024-74c962bb0579 11 Jan 2022 pre-release

    Nothing published for this version

  26. v1.2.6-0.20220111124138-caf624de5cf4 11 Jan 2022 pre-release

    Nothing published for this version

  27. v1.2.6-0.20220109124554-ddfe5a101b4b 09 Jan 2022 pre-release

    Nothing published for this version

  28. v1.2.6-0.20220103143143-92649cc798da 03 Jan 2022 pre-release

    Nothing published for this version

  29. v1.2.6-0.20220103122622-84bcb5284aef 03 Jan 2022 pre-release

    Nothing published for this version

  30. v1.2.6-0.20211121110303-e7cce1632c2e 21 Nov 2021 pre-release

    Nothing published for this version

  31. v1.2.6-0.20211121100842-74d6529bbdf2 21 Nov 2021 pre-release

    Nothing published for this version

  32. v1.2.6-0.20211031123157-00a92d0863b3 31 Oct 2021 pre-release

    Nothing published for this version

  33. v1.2.6-0.20211031100315-f2efdc9ca4ff 31 Oct 2021 pre-release

    Nothing published for this version

  34. v1.2.5 16 Oct 2021
    Release notes

    Fix

    • 修复gh-ost的ghost_initially_drop_socket_file 参数不生效的问题 (#382)
    • 修复索引前缀中文英文不一致的问题 (#380)
    • 修复受影响行数可能溢出的问题 (#375)
    • 修复bit类型默认值设置为NULL时无法审核通过的问题 (#346)
    • 修复pt-osc连接非3306端口时执行失败的问题 (#335)
    • 修复tidb v4.0版本dml无法审核的bug
    • 修复dml回滚语句未忽略计算列的问题(#324)
    • 修复rename table语法一次修改多个表名时,有表名逻辑上不生效的问题 (#327)

    New Features

    • 新增 check_identifier_lower 参数,用于打开表名、列名、索引名小写需求 (#389)
    • 添加masking功能-语法树解析功能升级,返回select涉及的对象(库.表.列) (#355)
    • 添加ghost_bin_dir参数设置来自切换gh-ost模式,独立gh-ost模块,采用binary方式调用以优化ddl高并发且kill gh-ost进程时可能出现的bug (#334)
    • 添加选项max_execution_time设置会话级DML语句的最大执行时间 (#319)
    • 添加enable_any_statement选项以支持所有语法均可执行 (#301)

    Update

    • 优化alter table修改列子句的关键字审核逻辑 (#392)
    • 优化group by子句审核逻辑 (#385)
    • 添加datetime小数秒校验 (#369)
    • 添加视图对union的支持
    • 微调严格模式下的insert列值检查逻辑
    • 优化字符类型长度审核逻辑
    • 优化数据库连接超时时的处理(#306)
    • 完善字符集和排序规则审核逻辑,添加utf8mb4_0900_ai_ci排序规则支持
    Open source →
    Release notes

    v1.2.5

    Compare

    Choose a tag to compare

    Open source →
    Release notes

    Fix

    • Fix the problem that the ghost_initially_drop_socket_file parameter of gh-ost does not take effect (#382)
    • Fix the inconsistency of index prefix between Chinese and English (#380)
    • Fix the problem that the number of affected rows may overflow (#375)
    • Fix the problem that the default value of bit type is set to NULL and it cannot be approved (#346)
    • Fix the problem that pt-osc fails to execute when connecting to a port other than 3306 (#335)
    • Fix the bug that dml of tidb v4.0 version cannot be audited
    • Fix the problem that the calculated column is not ignored in the dml rollback statement (#324)
    • Fix the problem that the rename table syntax does not take effect logically when multiple table names are modified at one time (#327)

    New Features

    • Added the check_identifier_lower parameter to enable lowercase requirements for table names, column names, and index names (#389)
    • Add masking function-syntax tree parsing function upgrade, return objects involved in select (library, table, column) (#355)
    • Added ghost_bin_dir parameter setting from switching gh-ost mode, independent gh-ost module, using binary method to call to optimize the possible bugs when ddl high concurrency and kill gh-ost process (#334)
    • Add option max_execution_time to set the maximum execution time of session-level DML statements (#319)
    • Added enable_any_statement option to support all syntaxes to be executable (#301)

    Update

    • Optimize the keyword review logic of alter table modification column clauses (#392)
    • Optimize group by clause review logic (#385)
    • Add datetime decimal second check (#369)
    • Add view support for union
    • Fine-tune the insert column value check logic in strict mode
    • Optimize the character type length audit logic
    • Optimize the handling of database connection timeout (#306)
    • Improve character set and collation review logic, add utf8mb4_0900_ai_ci collation support
    Open source →
  35. v1.2.5-0.20211016142440-2af185121baa 16 Oct 2021 pre-release

    Nothing published for this version

  36. v1.2.5-0.20211016125600-d896e9ba3343 16 Oct 2021 pre-release

    Nothing published for this version

  37. v1.2.5-0.20211014152320-05f83484c2bc 14 Oct 2021 pre-release

    Nothing published for this version

  38. v1.2.5-0.20211014115026-b8902a51a390 14 Oct 2021 pre-release

    Nothing published for this version

  39. v1.2.5-0.20211007135949-e2445460f291 07 Oct 2021 pre-release

    Nothing published for this version

  40. v1.2.5-0.20211007095736-9fdaf5ea2df0 07 Oct 2021 pre-release

    Nothing published for this version

  41. v1.2.5-0.20210910143704-00d1135d486f 10 Sep 2021 pre-release

    Nothing published for this version

  42. v1.2.5-0.20210822115005-34016efddc32 22 Aug 2021 pre-release

    Nothing published for this version

  43. v1.2.5-0.20210721153622-5273274d52ba 21 Jul 2021 pre-release

    Nothing published for this version

  44. v1.2.5-0.20210622025632-0f825113e24a 22 Jun 2021 pre-release

    Nothing published for this version

  45. v1.2.5-0.20210611122737-522327674d40 11 Jun 2021 pre-release

    Nothing published for this version

  46. v1.2.5-0.20210422135521-e6a8caa96c3a 22 Apr 2021 pre-release

    Nothing published for this version

  47. v1.2.5-0.20210408144242-ef3a81f9e9f0 08 Apr 2021 pre-release

    Nothing published for this version

  48. v1.2.5-0.20210313132515-6bf4262e9a3a 13 Mar 2021 pre-release

    Nothing published for this version

  49. v1.2.4 19 Dec 2020
    Release notes

    Fix

    • 修复MariaDB可能出现dml未备份成功的问题
    • 修复update指定表别名时审核错误的问题 (#249)
    • 修复select列中子查询可能找不到父表列和having子句可能找不到列的问题 (#266)
    • 修复未按正确格式调用时误报error的问题
    • 修复inception set语法指定float类型参数会报错的问题 (#279)
    • 修复未正确解析备份语句时的状态标计 (#286)

    New Features

    • 添加lock_wait_timeout,控制普通SQL 执行时的锁等待超时时间 (#224)
    • 增加 pt-osc 的 sleep 参数,以优化低配 db 执行 ddl 变更时的负载情况 (#260)
    • 添加视图支持 (#238,#262)
    • 添加参数ignore_osc_alter_stmt配置强制忽略osc检查的语法 (#258,#263)
    • 添加CREATE TABLE AS SELECT语法支持 (#246,#264)
    • 添加tidb列属性auto_random支持 (#270)
    • 增加 inc 执行时设置 sql_mode 选项 (#267)
    • insert时添加非法日期审核 (#277)

    Update

    • 优化索引可见性审核对于多版本数据库的支持 (#247)
    • 优化备份功能的binlog解析 (#250)
    • 完善MySQL8.0关键字列表 (#210)
    • 优化默认数据库的配置,指定--db选项后可省略use操作
    • 优化osc进程处理逻辑,添加并发锁处理
    • 完善alter table表分区语法 (#281)
    • 优化当开启ssl时的备份功能处理 (#287)
    Open source →
    Release notes

    v1.2.4

    Compare

    Choose a tag to compare

    Open source →
    Release notes

    Fix

    • Fixed the problem that dml may not be backed up successfully in MariaDB
    • Fix the issue of audit errors when updating the specified table alias (#249)
    • Fix the problem that the child query in the select column may not find the parent table column and the having clause may not find the column (#266)
    • Fix the problem of falsely reporting error when not calling in the correct format
    • Fix the problem that the float type parameter specified in the inception set syntax will report an error (#279)
    • Fix the status indicator when the backup statement is not parsed correctly (#286)

    New Features

    • Add lock_wait_timeout to control the lock wait timeout time during normal SQL execution (#224)
    • Increase the sleep parameter of pt-osc to optimize the load situation when the low configuration db executes ddl changes (#260)
    • Add view support (#238,#262)
    • Add the parameter ignore_osc_alter_stmt to configure the syntax to force the osc check to be ignored (#258,#263)
    • Added CREATE TABLE AS SELECT syntax support (#246,#264)
    • Add auto_random support for tidb column attributes (#270)
    • Add sql_mode option when inc is executed (#267)
    • Add illegal date review when inserting (#277)

    Update

    • Optimize index visibility audit support for multi-version databases (#247)
    • Optimize the binlog analysis of the backup function (#250)
    • Improve MySQL8.0 keyword list (#210)
    • Optimize the configuration of the default database, the use operation can be omitted after specifying the --db option
    • Optimize the osc process processing logic and add concurrent lock processing
    • Improve alter table partition syntax (#281)
    • Optimize the processing of the backup function when ssl is turned on (#287)
    Open source →
  50. v1.2.4-0.20200530130128-f04ad9f40bc8 30 May 2020 pre-release

    Nothing published for this version

  51. v1.2.3 22 May 2020
    Release notes

    Fix

    • fix: 修复pt-osc在获取表锁卡住时无法kill的问题 (#213, #222)

    New Features

    • 添加参数ignore_sighup,默认忽略终端连接断开信号 (#195)
    • 添加osc_lock_wait_timeout参数, 控制pt-osc等待meta lock时间,默认60s (#214, #215)
    • 支持多个自定义索引前缀 (#204)

    Update

    • 完善MySQL5.7关键字列表 (#210)
    Open source →
    Release notes

    v1.2.3

    Compare

    Choose a tag to compare

    Open source →
    Release notes

    Fix

    • fix: Fix the problem that pt-osc cannot be killed when getting the table lock stuck (#213, #222)

    New Features

    • Add the parameter ignore_sighup, the terminal connection disconnection signal is ignored by default (#195)
    • Add osc_lock_wait_timeout parameter to control pt-osc wait for meta lock time, default 60s (#214, #215)
    • Support multiple custom index prefixes (#204)

    Update

    • Improve MySQL5.7 keyword list (#210)
    Open source →
  52. v1.2.3-0.20200414082103-8609f84f1c79 14 Apr 2020 pre-release

    Nothing published for this version

  53. v1.2.2 03 Apr 2020
    Release notes

    Fix

    • 修复max_char_length未指定时误审核的问题
    • 修复索引列长度限制不准确的问题 (#176)
    • 修复inception set命令返回错误的问题,修复lang设置可能不生效的问题
    • 修复在开启事务时,DDL和DML混合执行时可能出错的问题 (#182)

    New Features

    • 添加会话级变量设置 (#157, #166, #167)
    • 添加osc参数max-flow-ctl,以便PXC集群启用pt-osc功能 (#170, #172)
    • 添加审核项columns_must_have_index, 指定列必须添加索引 (#174, #175)

    Update

    • 优化列的字符集和排序规则审核逻辑 (#173)
    • 添加where条件中的值表达式审核,避免无效表达式误更新 (#178)
    • 优化鉴权失败时打印部分须特权执行的内部SQL,以便问题快速定位
    Open source →
    Release notes

    v1.2.2

    Compare

    Choose a tag to compare

    Open source →
    Release notes

    Fix

    • Fix the problem of erroneous review when max_char_length is not specified
    • Fix the problem of inaccurate index column length limit (#176)
    • Fix the problem that the inception set command returns an error, and fix the problem that the lang setting may not take effect
    • Fix the problem that errors may occur during mixed execution of DDL and DML when opening a transaction (#182)

    New Features

    • Add session-level variable settings (#157, #166, #167)
    • Add the osc parameter osc_max_flow_ctl so that the PXC cluster can enable the pt-osc function (#170, #172)
    • Add audit item columns_must_have_index, index must be added to the specified column (#174, #175)

    Update

    • Optimize column character set and collation review logic (#173)
    • Add review of value expressions in where conditions to avoid incorrect updates of invalid expressions (#178)
    • Optimize the printing of internal SQL that must be executed with privileges when authentication fails, so that the problem can be quickly located
    Open source →
  54. v1.2.2-0.20200321015830-a92ce9d9446f 21 Mar 2020 pre-release

    Nothing published for this version

  55. v1.2.2-0.20200308092825-e8229c98dabf 08 Mar 2020 pre-release

    Nothing published for this version

  56. v1.2.1 06 Mar 2020
    Release notes

    Fix

    • 优化使用pt工具时ALTER语句前后的注释可能导致其解析失败的问题

    New Features

    • 系统变量中添加版本号信息 show variables like 'version' (#164)

    Update

    • 在开启获取真实受影响行数参数时,忽略sql指纹功能(准确性优先)
    • 自动移除每行SQL行首行尾的特殊空格(ASCII码160)
    • 优化bit类型默认值审核,现已支持如b'1'的审核
    • 优化未正确配置数据源时的错误提示,使之更友好
    • 缓存建表时唯一键的设置
    • 完善数值类型的显示宽度审核 (#162)
    Open source →
    Release notes

    v1.2.1

    Compare

    Choose a tag to compare

    Open source →
    Release notes

    Fix

    • Optimize the problem that the comments before and after the ALTER statement when using the pt tool may cause its parsing failure

    New Features

    • Add version number information to system variables show variables like'version' (#164)

    Update

    • When opening the parameter for obtaining the actual number of affected rows, ignore the sql fingerprint function (accuracy first)
    • Automatically remove the special spaces at the beginning and end of each SQL line (ASCII code 160)
    • Optimized bit type default value audit, now supports audit like b'1'
    • Optimize the error message when the data source is not configured correctly to make it more friendly
    • Cache the setting of the unique key when creating a table
    • Improve the display width review of numeric types (#162)
    Open source →
  57. v1.2.0 20 Jan 2020
    Release notes

    Fix

    • 修复change column修改列名并立即引用旧列名时未正确审核的bug (#150)
    • 修复使用year类型错误长度时未正确审核的问题
    • 修复join语法ON子句审核逻辑不正确的问题

    New Features

    • 表名和索引名前缀自定义 (#149)
      • 表名前缀 table_prefix, 默认为空,即不限制
      • 索引前缀 index_prefix ,默认为idx_,和之前版本保持一致,可自定义
      • 唯一索引前缀 uniq_index_prefix ,默认为uniq_,和之前版本保持一致,可自定义

    Update

    • 优化使用pt工具时的alter子句解析
    • 优化gh-ost和备份功能的日志输出,调整为统一格式
    • 优化默认数据库的参数设置,由默认mysql库调整为默认为空,以避免特殊情况下影响主从同步
    Open source →
    Release notes

    v1.2.0

    Compare

    Choose a tag to compare

    Open source →
    Release notes

    Fix

    • Fix the bug that the change column was not properly reviewed when the column name was modified and the old column name was quoted immediately (#150)
    • Fixed the problem of incorrect review when using the wrong length of the year type
    • Fix the problem that the audit logic of ON clause of join grammar is incorrect

    New Features

    • Table name and index name prefix customization (#149)
      • Table name prefix table_prefix, the default is empty, that is, unlimited
      • Index prefix index_prefix, the default is idx_, which is consistent with the previous version and can be customized
      • Unique index prefix uniq_index_prefix, the default is uniq_, which is consistent with the previous version and can be customized

    Update

    • Optimize the alter clause parsing when using the pt tool
    • Optimize the log output of gh-ost and backup functions and adjust to a unified format
    • Optimize the parameter settings of the default database, adjust the default mysql library to be empty by default to avoid affecting the master-slave synchronization under special circumstances
    Open source →
  58. v1.1.7-0.20200106092012-99f5c7e4da8e 06 Jan 2020 pre-release

    Nothing published for this version

  59. v1.1.6 02 Jan 2020
    Release notes

    Fix

    • 修复timestamp类型开关审核不正确的问题
    • 修复实例未开启autocommit时DML操作未正确提交的bug (#146)

    New Features

    • 添加用户鉴权模块,实现用户管理,安全连接功能 (#132)
    • 添加事务支持(批量执行) (#135)

    Update

    • 优化列类型变更审核 (#121)
    • 实现update set多表时的回滚支持 (#112,#136)
    • 优化区分大小写时的审核规则 (#123)
    • 优化使用pt-osc工具时的alter子句拆分逻辑 (#142)
    Open source →
    Release notes

    v1.1.6

    Compare

    Choose a tag to compare

    Open source →
    Release notes

    Fix

    • Fix the issue of incorrect audit of timestamp type switch
    • Fix the bug that the DML operation is not submitted correctly when the instance is not turned on autocommit (#146)

    New Features

    • Add user authentication module to realize user management and secure connection function (#132)
    • Add transaction support(batch execution) (#135)

    Update

    • Optimize column type change review (#121)
    • Implement rollback support when update set with multiple tables (#112,#136)
    • Optimize audit rules when case-sensitive (#123)
    • Optimize the alter clause split logic when using the pt-osc tool (#142)
    Open source →
  60. v1.1.5 09 Dec 2019
    Release notes

    Update

    • 优化对象名大小写审核逻辑
    • 优化索引长度审核准确性
    • 支持update多表更新语法(暂不支持多表回滚) (#112)
    • 优化sql语法解析失败时的错误信息
    Open source →
    Release notes

    v1.1.5

    Compare

    Choose a tag to compare

    Open source →
    Release notes

    Update

    • Optimize the case review logic of object names
    • Optimize the accuracy of index length audit
    • Support update multi-table update syntax (multi-table rollback is not supported temporarily) (#112)
    • Optimize the error message when the sql syntax analysis fails
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive