{"id":17147849,"url":"https://github.com/alexanderwe/semanticversioningkit","last_synced_at":"2026-02-28T17:32:14.734Z","repository":{"id":45972917,"uuid":"325042783","full_name":"alexanderwe/SemanticVersioningKit","owner":"alexanderwe","description":"Small library to create and parse Semantic Versioning conforming representations.","archived":false,"fork":false,"pushed_at":"2024-10-06T12:52:48.000Z","size":864,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T09:37:01.500Z","etag":null,"topics":["parser","semantic-versioning","swift","swift-package-manager","swift5"],"latest_commit_sha":null,"homepage":"https://alexanderwe.github.io/SemanticVersioningKit/documentation/semanticversioningkit/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexanderwe.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":"2020-12-28T15:07:03.000Z","updated_at":"2025-02-19T18:27:30.000Z","dependencies_parsed_at":"2024-02-07T18:48:39.932Z","dependency_job_id":null,"html_url":"https://github.com/alexanderwe/SemanticVersioningKit","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":0.4666666666666667,"last_synced_commit":"b88063c9acb3298bd2d34e346ca0ee044302aa37"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderwe%2FSemanticVersioningKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderwe%2FSemanticVersioningKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderwe%2FSemanticVersioningKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderwe%2FSemanticVersioningKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexanderwe","download_url":"https://codeload.github.com/alexanderwe/SemanticVersioningKit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248706402,"owners_count":21148698,"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":["parser","semantic-versioning","swift","swift-package-manager","swift5"],"created_at":"2024-10-14T21:26:16.220Z","updated_at":"2026-02-28T17:32:14.673Z","avatar_url":"https://github.com/alexanderwe.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SemanticVersioningKit\n\n\n\u003cp align=\"center\"\u003e\n\n   \u003ca href=\"https://swiftpackageindex.com/alexanderwe/SemanticVersioningKit\"\u003e\n      \u003cimg src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Falexanderwe%2FSemanticVersioningKit%2Fbadge%3Ftype%3Dswift-versions\" /\u003e\n   \u003c/a\u003e\n\n   \u003ca href=\"https://swiftpackageindex.com/alexanderwe/SemanticVersioningKit\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Falexanderwe%2FSemanticVersioningKit%2Fbadge%3Ftype%3Dplatforms\" /\u003e\n   \u003c/a\u003e\n\n   \u003ca href=\"https://github.com/alexanderwe/SemanticVersioningKit\"\u003e\n      \u003cimg src=\"https://github.com/alexanderwe/SemanticVersioningKit/workflows/Main%20Branch%20CI/badge.svg\" alt=\"CI\"\u003e\n   \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    SemanticVersioningKit is a small library to create and parse \u003ca href=\"https://semver.org\"\u003eSemantic Versioning\u003c/a\u003e conforming representations.\n\u003c/p\u003e\n\n## Installation\n\n### Swift Package Manager\n\nTo integrate using Apple's [Swift Package Manager](https://swift.org/package-manager/), add the following as a dependency to your `Package.swift`:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/alexanderwe/SemanticVersioningKit.git\", from: \"2.1.2\")\n]\n```\n\nAlternatively navigate to your Xcode project, select `Swift Packages` and click the `+` icon to search for `SemanticVersioningKit`.\n\n### Manually\n\nIf you prefer not to use any of the aforementioned dependency managers, you can integrate `SemanticVersioningKit` into your project manually. Simply drag the `Sources` Folder into your Xcode project.\n\n## Usage\n\nAt first import `SemanticVersioningKit`\n\n```swift\nimport SemanticVersioningKit\n```\n\nDefine a `SemanticVersion` instance\n\n```swift\nlet version = SemanticVersion(major: 1, minor: 0, patch: 0) // \"1.0.0\"\nlet versionWithAdditions = SemanticVersion(major: 1, minor: 0, patch: 0, preReleaseIdentifiers: [\"alpha\", \"1\"], buildIdentifiers: [\"exp\",\"sha\",\"5114f85\"]) // \"1.0.0-alpha.1+exp.sha.5114f85\"\n```\n\nIt is also possible to create a `SemanticVersion` from a `String` representation. Just be aware that the initialization can fail due to the used `String` not conforming to the Semantic Versioning format.\n\n```swift\nlet version = try SemanticVersion(input: \"1.0.0\")\nlet failed = try SemanticVersion(input: \".0.0\")\n```\n\n## Contributing\n\nContributions are very welcome 🙌\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexanderwe%2Fsemanticversioningkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexanderwe%2Fsemanticversioningkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexanderwe%2Fsemanticversioningkit/lists"}