Skip to content

v3.0.6

Choose a tag to compare

@Ahoo-Wang Ahoo-Wang released this 21 Jun 14:43

BREAKING CHANGE

  • cosid-mongo SPI: IdSegmentCollection.incrementAndGet(String namespacedName, long step) is now incrementAndGet(String namespacedName, long offset, long step). Custom implementations or direct callers must pass the configured offset and initialize storage consistently before incrementing.

Compatibility Notes

  • RadixIdConverter.asLong() now rejects digits outside the configured radix and numeric overflow instead of accepting invalid values.
  • MachineIdDistributor.maxMachineId() now rejects invalid machineBit values (<= 0 or >= 32).
  • LocalMachineStateStorage now matches namespaces exactly when clearing or sizing local state files.

What's Changed

🎉 New Features

  • docs(core): enhance documentation and add core interfaces by @Ahoo-Wang in #1011

🐛 Bug Fixes

  • fix(machine): harden machine ID timestamp handling by @Ahoo-Wang in #1025

📚 Documentation Updates

  • docs(guide): add comprehensive documentation for CosId features and best practices by @Ahoo-Wang in #1012
  • chore(build): update npm configuration for cross-platform compatibility by @Ahoo-Wang in #1013
  • docs: optimize CosId skills by @Ahoo-Wang in #1017

🤖 Dependency Updates

  • fix(deps): update dependency org.mongodb:mongodb-driver-bom to v5.6.5 by @renovate[bot] in #1005
  • fix(deps): update dependency org.springdoc:springdoc-openapi-starter-webflux-ui to v3.0.3 by @renovate[bot] in #1008
  • chore(deps): update dependency com.github.spotbugs to v6.5.0 by @renovate[bot] in #1010
  • chore(deps): update actions/upload-pages-artifact action to v5 by @renovate[bot] in #1015

Other Changes

  • fix(deps): update dependency me.ahoo.cosid:cosid-bom to v3.0.5 by @renovate[bot] in #1004
  • chore(deps): update pnpm/action-setup action to v6 by @renovate[bot] in #1006
  • chore(deps): update dependency com.github.spotbugs to v6.4.11 by @renovate[bot] in #1007
  • chore(deps): update dependency com.github.spotbugs to v6.4.12 by @renovate[bot] in #1009
  • fix(deps) Update axon to v4.13.1 by @Ahoo-Wang in #1018
  • fix(deps) Update spotbugs to v6.5.6 by @Ahoo-Wang in #1019

Full Changelog: v3.0.5...v3.0.6