{"id":15805286,"url":"https://github.com/mob-sakai/unity-changeset","last_synced_at":"2025-05-05T19:57:03.017Z","repository":{"id":40267128,"uuid":"316373480","full_name":"mob-sakai/unity-changeset","owner":"mob-sakai","description":"Get/List Unity editor changeset","archived":false,"fork":false,"pushed_at":"2023-08-30T18:11:11.000Z","size":167,"stargazers_count":31,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-24T15:54:57.841Z","etag":null,"topics":["changeset","changesets","npm-package","unity","unity3d","version","versions"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mob-sakai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"mob-sakai","patreon":"mob-sakai","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-11-27T01:39:29.000Z","updated_at":"2024-08-09T10:08:05.000Z","dependencies_parsed_at":"2024-10-19T00:57:15.245Z","dependency_job_id":"9777b41a-4047-461f-894a-2f89c71cc936","html_url":"https://github.com/mob-sakai/unity-changeset","commit_stats":{"total_commits":96,"total_committers":3,"mean_commits":32.0,"dds":"0.26041666666666663","last_synced_commit":"03d4c2e9bdd3d40ff047e5806e6c3aa7821b2690"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mob-sakai%2Funity-changeset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mob-sakai%2Funity-changeset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mob-sakai%2Funity-changeset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mob-sakai%2Funity-changeset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mob-sakai","download_url":"https://codeload.github.com/mob-sakai/unity-changeset/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222675015,"owners_count":17021191,"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":["changeset","changesets","npm-package","unity","unity3d","version","versions"],"created_at":"2024-10-05T02:07:15.674Z","updated_at":"2025-03-31T19:30:32.588Z","avatar_url":"https://github.com/mob-sakai.png","language":"TypeScript","readme":"unity-changeset\n===\n\nGet/List Unity editor changeset\n\n[![](https://shields.io/badge/deno.land-unity__changeset-green?logo=deno\u0026style=flat)](https://deno.land/x/unity_changeset)\n[![npm](https://img.shields.io/npm/v/unity-changeset)](https://www.npmjs.com/package/unity-changeset)\n![license](https://img.shields.io/npm/l/unity-changeset)\n![downloads](https://img.shields.io/npm/dy/unity-changeset)\n![release](https://github.com/mob-sakai/unity-changeset/workflows/release/badge.svg)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Usage as a node module\n\nRequirement: NodeJs 14 or later\n\n### Install\n\n```sh\nnpm install unity-changeset\n```\n\n### Import\n\n```js\n// javascript\nconst { getUnityChangeset, scrapeArchivedChangesets, scrapeBetaChangesets } = require('unity-changeset');\n// or, typescript\nconst { getUnityChangeset, scrapeArchivedChangesets, scrapeBetaChangesets } = from 'unity-changeset';\n```\n\n### Example\n\n```js\nconst { getUnityChangeset, scrapeArchivedChangesets, scrapeBetaChangesets } = require('unity-changeset');\n\n(async () =\u003e {\n    const changeset = await getUnityChangeset('2020.1.14f1');\n    console.log(changeset);\n    //=\u003e UnityChangeset {version: '2020.1.14f1', changeset: 'd81f64f5201d'}\n    console.log(changeset.toString());\n    //=\u003e 2020.1.14f1     d81f64f5201d\n    const changesets = await scrapeArchivedChangesets();\n    console.dir(changesets);\n    //=\u003e [\n    //     UnityChangeset { version: '2020.1.15f1', changeset: '97d0ae02d19d' },\n    //     UnityChangeset { version: '2020.1.14f1', changeset: 'd81f64f5201d' },\n    //     UnityChangeset { version: '2020.1.13f1', changeset: '5e24f28bfbc0' },\n    //     ...\n    //   ]\n    const betaChangesets = await scrapeBetaChangesets();\n    console.log(betaChangesets);\n    //=\u003e [\n    //     UnityChangeset { version: '2020.2.0b13', changeset: '655e1a328b90' },\n    //     UnityChangeset { version: '2020.2.0b12', changeset: '92852ae685d8' },\n    //     UnityChangeset { version: '2020.2.0b11', changeset: 'c499c2bf2e80' },\n    //     ...\n    //   ]\n})();\n```\n\n\n## Usage as a deno module\n\n```js\nconst { getUnityChangeset, scrapeArchivedChangesets, scrapeBetaChangesets } = from 'https://deno.land/x/unity_changeset/src/index.ts';\n\n// or, specific version\nconst { getUnityChangeset, scrapeArchivedChangesets, scrapeBetaChangesets } = from 'https://deno.land/x/unity_changeset@2.0.0/src/index.ts';\n```\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Usage as a command-line utility\n\n### Install\n\n```sh\n# Requirement: NodeJs 14 or later\nnpm install -g unity-changeset\n\n# Use without installation\nnpx unity-changeset ...\n```\n\nor\n\n```\ndeno install -A -f -n unity-changeset https://deno.land/x/unity_changeset/src/cli.ts\n```\n\n\n### Help\n\n```\n  Usage:   unity-changeset \u003cversion\u003e\n\n  Description:\n\n    Find Unity changesets.\n\n  Options:\n\n    -h, --help     - Show this help.\n    -V, --version  - Show the version number for this program.\n```\n\n```\n  Usage:   unity-changeset list\n\n  Description:\n\n    List Unity changesets.\n\n  Options:\n\n    -h, --help  - Show this help.\n\n  Search options:\n\n    --all                  - Search all changesets (alpha/beta included)\n    --pre-release, --beta  - Search only pre-release (alpha/beta) changesets\n    --lts                  - Only the LTS versions\n    --xlts                 - Only the LTS/XLTS versions (require 'Enterprise' or 'Industry' license to install XLTS version)\n\n  Filter options:\n\n    --min               \u003cversion\u003e  - Minimum version (included)\n    --max               \u003cversion\u003e  - Maximum version (included)\n    --grep              \u003cregex\u003e    - Regular expression (e.g. '20(18|19).4.*')\n    --latest-lifecycle             - Only the latest lifecycle (default)\n    --all-lifecycles               - All lifecycles\n\n  Group options:\n\n    --latest-patch  - The latest patch versions only\n    --oldest-patch  - The oldest patch versions in lateat lifecycle only  (Conflicts: --latest-patch)\n\n  Output options:\n\n    --version-only, --versions              - Outputs only the version (no changesets)\n    --minor-version-only, --minor-versions  - Outputs only the minor version (no changesets)\n    --json                                  - Output in json format\n    --pretty-json                           - Output in pretty json format\n```\n\n\n### Get a changeset for specific version:\n\n```sh\n$ unity-changeset 2020.2.14f1\nd81f64f5201d\n```\n\n\n### Get a changeset for specific version\n\n```sh\n$ unity-changeset list\n2020.1.14f1     d81f64f5201d\n2020.1.13f1     5e24f28bfbc0\n2020.1.12f1     55b56f0a86e3\n...\n\n# List changesets in json format:\n$ unity-changeset list --json\n[{\"version\":\"2020.1.15f1\",\"changeset\":\"97d0ae02d19d\"},{\"version\":\"2020.1.14f1\",\"changeset\":\"d81f64f5201d\"},...]\n\n# List changesets in pretty json format:\n$ unity-changeset list --pretty-json\n[\n  {\n    \"version\": \"2020.1.15f1\",\n    \"changeset\": \"97d0ae02d19d\"\n  },\n  {\n    \"version\": \"2020.1.14f1\",\n    \"changeset\": \"d81f64f5201d\"\n  },\n  ...\n]\n\n# List changesets (alpha/beta):\n$ unity-changeset list --beta\n2020.2.0b13     655e1a328b90\n2020.2.0b12     92852ae685d8\n2020.2.0b11     c499c2bf2e80\n...\n\n# List changesets (all):\n$ unity-changeset list --all\n2020.2.0b13     655e1a328b90\n2020.2.0b12     92852ae685d8\n...\n2020.1.14f1     d81f64f5201d\n2020.1.13f1     5e24f28bfbc0\n...\n\n# List the available Unity versions:\n$ unity-changeset list --versions\n2020.1.14f1\n2020.1.13f1\n2020.1.12f1\n...\n\n# List the available Unity versions (alpha/beta):\n$ unity-changeset list --beta --versions\n2020.2.0b13\n2020.2.0b12\n2020.2.0b11\n...\n\n# List Unity 2018.3 or later, and 2019.1 or earlier:\n$ unity-changeset list --min 2018.3 --max 2019.1\n2019.1.14f1     148b5891095a\n...\n2018.3.1f1\t    bb579dc42f1d\n2018.3.0f2\t    6e9a27477296\n\n# List all Unity 2018.3 versions:\n$ unity-changeset list --grep 2018.3\n2018.3.14f1     d0e9f15437b1\n2018.3.13f1     06548a9e9582\n...\n2018.3.1f1\t    bb579dc42f1d\n2018.3.0f2\t    6e9a27477296\n\n# List the available Unity minor versions:\n$ unity-changeset list --minor-versions\n2020.1\n...\n2017.2\n2017.1\n\n# List the latest Unity patch versions:\n$ unity-changeset list --latest-patch\n2020.1.14f1     d81f64f5201d\n...\n2017.2.5f1      588dc79c95ed\n2017.1.5f1      9758a36cfaa6\n```\n\n### Install a specific version of Unity via UnityHub\n\n```sh\n# /path/to/unity/hub:\n#   Windows: C:\\\\Program\\ Files\\\\Unity\\ Hub\\\\Unity\\ Hub.exe\n#   MacOS: /Applications/Unity\\ Hub.app/Contents/MacOS/Unity\\ Hub\n\n# Show UnityHub help:\n$ /path/to/unity/hub -- --headless help\n\n# Install Unity 2020.1.15f1 with modules for iOS and Android:\n$ /path/to/unity/hub -- --headless install \\\n  --version 2020.1.15f1 \\\n  --changeset `unity-changeset 2020.1.15f1` \\\n  --module ios,android\n```\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Contributing\n\n### Issues\n\nIssues are very valuable to this project.\n\n- Ideas are a valuable source of contributions others can make\n- Problems show where this project is lacking\n- With a question you show where contributors can improve the user experience\n\n### Pull Requests\n\nPull requests are, a great way to get your ideas into this repository.  \n\n### Support\n\nThis is an open source project that I am developing in my spare time.  \nIf you like it, please support me.  \nWith your support, I can spend more time on development. :)\n\n[![](https://user-images.githubusercontent.com/12690315/66942881-03686280-f085-11e9-9586-fc0b6011029f.png)](https://github.com/users/mob-sakai/sponsorship)\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## License\n\n* MIT\n\n## Author\n\n* ![](https://user-images.githubusercontent.com/12690315/96986908-434a0b80-155d-11eb-8275-85138ab90afa.png) [mob-sakai](https://github.com/mob-sakai) [![](https://img.shields.io/twitter/follow/mob_sakai.svg?label=Follow\u0026style=social)](https://twitter.com/intent/follow?screen_name=mob_sakai) ![GitHub followers](https://img.shields.io/github/followers/mob-sakai?style=social)\n\n## See Also\n\n* GitHub page : https://github.com/mob-sakai/unity-changeset\n* Releases : https://github.com/mob-sakai/unity-changeset/releases\n* Issue tracker : https://github.com/mob-sakai/unity-changeset/issues\n* Change log : https://github.com/mob-sakai/unity-changeset/blob/main/CHANGELOG.md\n","funding_links":["https://github.com/sponsors/mob-sakai","https://patreon.com/mob-sakai"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmob-sakai%2Funity-changeset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmob-sakai%2Funity-changeset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmob-sakai%2Funity-changeset/lists"}