Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency me.ahoo.cosid:cosid-bom to v2.8.1 #422

Merged
merged 1 commit into from
May 17, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 17, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
me.ahoo.cosid:cosid-bom 2.8.0 -> 2.8.1 age adoption passing confidence

Release Notes

Ahoo-Wang/CosId (me.ahoo.cosid:cosid-bom)

v2.8.1

What's Changed

YearMonthDayGroupBySupplier

使用 SegmentId 算法,要求输出的ID字符串:

  • 起始序号:0
  • 格式:<prefix><year_month_day><sequence>
  • 分组:按日期分组,序号从0开始。即明天序号需要重置为0.
  • 序号位:8位数值,不足8位前补0
  • 例如:BIZ-240516-00000001
cosid:
  segment:
    enabled: true
    distributor:
      type: redis
    provider:
      group_year_month_day_biz:
        group:
          by: year_month_day
          pattern: yyMMdd
        converter:
          type: to_string
          to-string:
            pad-start: true
            char-size: 8
          prefix: BIZ-
          group-prefix:
            enabled: true

配置信息:

{
  "group_year_month_day_biz": {
    "kind": "StringSegmentId",
    "actual": {
      "kind": "SegmentChainId",
      "fetchTime": 1715911765,
      "maxId": 280,
      "offset": 260,
      "sequence": 260,
      "step": 20,
      "isExpired": false,
      "isOverflow": false,
      "isAvailable": true,
      "groupedKey": {
        "key": "240517",
        "ttlAt": 1715961599
      },
      "converter": {
        "kind": "Radix62IdConverter",
        "radix": 62,
        "charSize": 11,
        "padStart": true,
        "maxId": 9223372036854776000
      }
    },
    "converter": {
      "kind": "PrefixIdConverter",
      "prefix": "BIZ-",
      "actual": {
        "kind": "GroupedPrefixIdConverter",
        "delimiter": "-",
        "actual": {
          "kind": "ToStringIdConverter",
          "padStart": true,
          "charSize": 8
        }
      }
    }
  }
}

Full Changelog: Ahoo-Wang/CosId@v2.8.0...v2.8.1


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

codecov bot commented May 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.74%. Comparing base (8ec2854) to head (7b4d6bd).

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #422      +/-   ##
============================================
- Coverage     74.90%   74.74%   -0.16%     
+ Complexity      306      305       -1     
============================================
  Files            69       69              
  Lines          1287     1287              
  Branches        154      154              
============================================
- Hits            964      962       -2     
- Misses          185      188       +3     
+ Partials        138      137       -1     
Flag Coverage Δ
unittests 74.74% <ø> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Ahoo-Wang Ahoo-Wang merged commit 208a339 into main May 17, 2024
12 checks passed
@Ahoo-Wang Ahoo-Wang deleted the renovate/cosid branch May 17, 2024 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant