Skip to content

Releases: Ahoo-Wang/CosId

v1.14.1

11 Aug 15:27
Compare
Choose a tag to compare

What's Changed

  • add Radix36CosIdGenerator to support case-insensitive storage.
  • fix #135

Radix62CosIdGenerator

        //0TEXPEbg0001001
        String id = radix62CosIdGenerator.generateAsString(); 
        //CosIdState{timestamp=1660526325024, machineId=1, sequence=1}
        CosIdState cosIdState = radix62CosIdGenerator.getStateParser().asState(id);

Radix36CosIdGenerator

        //0L6U2PAD600010001
        String id = radix36CosIdGenerator.generateAsString(); 
        //CosIdState{timestamp=1660526664378, machineId=1, sequence=1}
        CosIdState cosIdState = radix36CosIdGenerator.getStateParser().asState(id);

Full Changelog: v1.14.0...v1.14.1

v1.14.0

11 Aug 07:41
Compare
Choose a tag to compare

What's Changed

  • New distributed ID algorithm: CosIdGenerator by @Ahoo-Wang in #136
    • Global trend increasing.
    • Local monotonically increasing.
    • High performance: 15,570,085 ops/s (generateAsString), three times that of UUID.randomUUID().
    • Reverse parsing ID State (timestamp,machineId,sequence)
    • Easy to expand.
    • Small footprint: 15 Chars.

CosIdGenerator

  • Refactor : Add sequenceResetThreshold to optimize the problem of uneven sharding of snowflake algorithm in the case of low system throughput.

Full Changelog: v1.13.1...v1.14.0

v1.13.1

04 Aug 16:36
Compare
Choose a tag to compare

What's Changed

  • Update dependency me.ahoo.cosid:cosid-jdbc to v1.13.0 by @renovate in #124
  • Update dependency me.ahoo.cosid:cosid-test to v1.13.0 by @renovate in #125
  • Update dependency gradle to v7.5 by @renovate in #126
  • Update junit5 monorepo to v5.9.0 by @renovate in #128
  • Update dependency mysql:mysql-connector-java to v8.0.30 by @renovate in #127
  • Fix #129

Full Changelog: v1.13.0...v1.13.1

v1.13.0

12 Jul 15:19
5eacb07
Compare
Choose a tag to compare

What's Changed

  • Update dependency me.ahoo.cosid:cosid-test to v1.12.1 by @renovate in #119
  • Update dependency me.ahoo.cosid:cosid-jdbc to v1.12.1 by @renovate in #118
  • Support CI for CosId-Proxy by @Ahoo-Wang in #121
  • Move the MachineIdDistributor to the top-level namespace by @Ahoo-Wang in #123

Backward Incompatible Changes

cosid:
  namespace: ${spring.application.name}
  machine:
    enabled: true
    distributor:
      type: redis
  snowflake:
    enabled: true

Full Changelog: v1.12.1...v1.13.0

v1.12.1

14 Jun 14:34
c1a73f1
Compare
Choose a tag to compare

What's Changed

  • Update dependency me.ahoo.cosid:cosid-jdbc to v1.12.0 by @renovate in #98
  • Update dependency me.ahoo.cosid:cosid-test to v1.12.0 by @renovate in #99
  • add UncertaintyIdGenerator by @Ahoo-Wang in #117 , For the following usage scenarios:
    • The problem of uneven sharding of snowflake IDs.
    • Don’t want the generated ID to be predictable, such as preventing crawler by ID number, predicting transaction volume.

Full Changelog: v1.12.0...v1.12.1

v1.12.0

25 May 10:50
97cf217
Compare
Choose a tag to compare

What's Changed

  • Upgrade to Spring-Boot 2.6.8
  • Upgrade to Spring-Cloud 2021.0.2

Full Changelog: v1.11.0...v1.12.0

v1.11.0

25 May 06:22
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.10.4...v1.11.0

v1.10.4

22 May 06:26
Compare
Choose a tag to compare

What's Changed

  • enhance: add SuffixIdConverter .
  • enhance: support config IdConverterDefinition#suffix .
  • refactor: remove unnecessary dependencies .
  • refactor: enhance code robustness for cosid-proxy .

Full Changelog: v1.10.3...v1.10.4

v1.10.3

20 May 02:44
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.10.2...v1.10.3

v1.10.2

18 May 03:42
Compare
Choose a tag to compare

What's Changed

  • Update dependency me.ahoo.cosid:cosid-jdbc to v1.10.0 by @renovate in #89
  • Update dependency me.ahoo.cosid:cosid-test to v1.10.0 by @renovate in #90
  • make machineId guarder enabled default true by @RocherKong in #93
  • fix segmentAutoConfiguration bug #94

Full Changelog: v1.10.0...v1.10.2