1 Star 0 Fork 510

李浩吉 / lock4j

forked from baomidou / lock4j 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CHANGELOG.md 1.26 KB
一键复制 编辑 原始数据 按行查看 历史
zengzhihong 提交于 2021-01-27 15:46 . feat: CHANGELOG.md v2.2.0

v2.2.0

  • refactor: 项目结构重大调整
  • fix: ZookeeperLockExecutor acquireTimeout时间单位错误
  • update: 支持yml配置文件使用 - 替代驼峰字段识别 example: zkServers、zk-servers都可以识别
  • update: Executor实现代码优化

v2.1.0

  • feat: 新增Lock4jProperties支持全局配置锁过期、获取锁超时时间、默认锁执行器等
  • update: 修改Lock4j注解里的lockClient参数名为executor
  • update: 新增锁执行器支持自定义扩展,支持方法级别配置executor
  • update: 修改锁执行器为单例
  • remove: 移除Lock4j注解里的lockType参数
  • remove: 移除Lock4j注解里的keyBuilder参数(扩展keyBuilder需要自行实现LockKeyBuilder接口并声明为spring bean)
  • fix: 修复lockExecutor没有引入相关class的情况下抛class no found
  • feat: 新增不指定executor前提下,默认优先级redisson>redisTemplate>zookeeper
  • remove: 移除Lock4j注解里的LockFailureStrategy参数(自定义lock失败处理需要自行实现LockFailureStrategy接口并声明为spring bean)
  • feat: 支持声明式@Lock4j、编程式@Autowired LockTemplate

v2.0.1

  • feat: 添加copyright
  • feat: 切面优先级设置为最高

v2.0.0

  • feat: 支持redission 和zookeeper

v1.0.0

  • feat: 初始化支持redisTemplate
Java
1
https://gitee.com/lihaoji1994/lock4j.git
git@gitee.com:lihaoji1994/lock4j.git
lihaoji1994
lock4j
lock4j
master

搜索帮助