{"id":20738819,"url":"https://github.com/ebean-orm/ebean-uuidv7","last_synced_at":"2025-09-27T17:31:20.790Z","repository":{"id":225986561,"uuid":"767399991","full_name":"ebean-orm/ebean-uuidv7","owner":"ebean-orm","description":"Version 7 UUID generator","archived":false,"fork":false,"pushed_at":"2024-03-07T07:18:01.000Z","size":11,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-17T06:22:31.345Z","etag":null,"topics":["java","uuid","uuid-generator","uuid-v7"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ebean-orm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-05T08:24:07.000Z","updated_at":"2024-11-01T02:48:40.000Z","dependencies_parsed_at":"2024-11-17T06:20:59.326Z","dependency_job_id":"a605f4f4-0642-45d7-abbc-bc723aa002a6","html_url":"https://github.com/ebean-orm/ebean-uuidv7","commit_stats":null,"previous_names":["ebean-orm/ebean-uuidv7"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebean-orm%2Febean-uuidv7","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebean-orm%2Febean-uuidv7/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebean-orm%2Febean-uuidv7/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebean-orm%2Febean-uuidv7/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebean-orm","download_url":"https://codeload.github.com/ebean-orm/ebean-uuidv7/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234450281,"owners_count":18834511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","uuid","uuid-generator","uuid-v7"],"created_at":"2024-11-17T06:20:48.784Z","updated_at":"2025-09-27T17:31:15.512Z","avatar_url":"https://github.com/ebean-orm.png","language":"Java","readme":"## ebean-uuidv7\n\nA Version 7 UUID generator\n\nRefer: https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-04.html#v7\n\nThis is a derived work of the UUID v7 generator from https://github.com/cowtowncoder/java-uuid-generator\n. This implementation removes the support for monotonic ordering (see https://github.com/cowtowncoder/java-uuid-generator/issues/69)\nremoving the associated lock and state associated with that (making this implementation stateless and lock free).\n\nThat is, UUID v7 only requires the first 48 bits to be continually increasing, just like the ULID specification.\n\nSome implementations use an optional counter to provide additional monotonicity for identifiers created by the same generator\nbut monotonicity is not required. As such this implementation prefers not to support monotonicity and thus provide\na stateless and lock free V7 implementation.\n\n\n## Using defaults for Clock and Random provider\n```java\n\nUUID uuid = UUIDv7.generate();\n\n```\n\n## Using Builder to specify Clock and Random provider\n```java\n\nClock mySillyClock = Clock.fixed(Instant.EPOCH, ZoneId.of(\"UTC\"));\nRandom myRandom = SecureRandom.getInstanceStrong();\n\nUUIDv7 uuidV7 = UUIDv7.builder()\n        .clock(mySillyClock)\n        .random(myRandom)\n        .build();\n\nUUID uuid = uuidV7.next();\n\n```\n\n## Examples\n```\n018e0dd3-0b7f-707c-925f-fa706a66e90a\n018e0dd3-0b7f-77ef-b588-eeea489712ec\n018e0dd3-0b7f-76a5-8221-3a8efe40ab3f\n018e0dd3-0b7f-7817-b455-500a669b5bfb\n018e0dd3-0b7f-7018-9082-c5aeb131cdbe\n018e0dd3-0b7f-7d70-9ba5-08f2d5ca66b0\n018e0dd3-0b7f-7abc-8f19-247dae93c98a\n018e0dd3-0b7f-7ade-b287-64c5f7dff1e4\n018e0dd3-0b7f-7448-a77c-94cfc26f63a3\n018e0dd3-0b7f-7b5a-a6d4-be23fe1a1d7b\n```\n\n## Maven dependency\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.ebean\u003c/groupId\u003e\n  \u003cartifactId\u003eebean-uuidv7\u003c/artifactId\u003e\n  \u003cversion\u003e0.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febean-orm%2Febean-uuidv7","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febean-orm%2Febean-uuidv7","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febean-orm%2Febean-uuidv7/lists"}