{"id":13658694,"url":"https://github.com/bahmutov/changed-log","last_synced_at":"2025-09-28T20:31:01.852Z","repository":{"id":57196905,"uuid":"38404777","full_name":"bahmutov/changed-log","owner":"bahmutov","description":"Returns all commit messages between 2 versions of an NPM module","archived":false,"fork":false,"pushed_at":"2020-07-15T20:15:23.000Z","size":431,"stargazers_count":59,"open_issues_count":8,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-27T20:44:36.792Z","etag":null,"topics":["cli","commits","git","history","npm","util"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bahmutov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-02T01:41:54.000Z","updated_at":"2024-11-30T05:55:39.000Z","dependencies_parsed_at":"2022-09-15T23:40:11.332Z","dependency_job_id":null,"html_url":"https://github.com/bahmutov/changed-log","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fchanged-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fchanged-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fchanged-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fchanged-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahmutov","download_url":"https://codeload.github.com/bahmutov/changed-log/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234558807,"owners_count":18852283,"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":["cli","commits","git","history","npm","util"],"created_at":"2024-08-02T05:01:01.774Z","updated_at":"2025-09-28T20:31:01.409Z","avatar_url":"https://github.com/bahmutov.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# changed-log\n\n\u003e Returns all commit messages between 2 versions of an NPM module\n\n[![NPM][npm-icon] ][npm-url]\n\n[![Circle CI][circle-ci-icon] ][circle-ci-url]\n[![Travis CI][travis-ci-image] ][travis-ci-url]\n[![semantic-release][semantic-image] ][semantic-url]\n[![manpm](https://img.shields.io/badge/manpm-%E2%9C%93-3399ff.svg)](https://github.com/bahmutov/manpm)\n\n## Install\n\n    npm install -g changed-log\n\n## How to use\n\n\u003e What has changed for module 'chalk' between version 0.3.0 and 0.5.1?\n\n    $ changed-log chalk 0.3.0 0.5.1\n    found 30 commits finishing with the latest commit 994758f\n    Changelog for module chalk repo chalk/chalk from 0.3.0 to 0.5.1\n\n    0.5.1\n      994758f: 0.5.1\n      ca250ab: Merge pull request #33 from seanmonstar/_styles\n      7ef6f4c: dont use slice on arguments\n      4291833: return a new function for each getter\n\n    0.5.0\n      3073fa3: 0.5.0\n      af17529: use rawgithub to workaround npm website bug with relative image paths\n      3ab833d: bench - increase iterations for more reliable results\n      ...\n\n    0.4.0\n      0a33a27: 0.4.0\n      ...\n      15f928f: Update readme\n\nThe information is fetched from the github repo corresponding to the NPM package.\nAlternatively you can provide github username / repo instead of NPM package name\n\n    $ changed-log kensho/ng-describe 0.3.0 0.5.0\n\nFor private repos, you can authenticate one time (including 2Factor) by passing commandline\noption `--auth` with the command\n\n## Edge cases\n\nTo find all changes between a module and the latest release use the command\n\n    $ changed-log \u003cname\u003e \u003cfrom\u003e latest\n    $ changed-log pre-git 1.2.0 latest\n\nYou can omit \"latest\" and just specify name and \"from\" version\n\n    $ changed-log \u003cname\u003e \u003cfrom\u003e\n\nIf you only provide a single version from a folder that contains `package.json`\nit will read the 'from' version from the the `package.json`, assuming you have only\nprovided the 'to' version\n\n    $ changed-log \u003cname\u003e \u003cto\u003e\n    # reads name \"from\" version in the package.json\n\nIf you do not provide any version information, it tries to read 'from' version\nin the `package.json` and uses `latest` for 'to' version\n\n    $ changed-log \u003cname\u003e\n    # shows list of commits between the current version in package.json and latest\n\n## Using as a module\n\nYou can use `changed-log` as a module from your application.\n\n```js\nvar changedLog = require('changed-log');\n// exports single function\nchangedLog(options, reportingOptions);\n/*\n  options = {\n    auth: true | false - ask user to authenticate, optional\n    name: \u003cstring\u003e - package name OR \u003cgithub username/repo name\u003e to go directly to Github\n    from: \u003cstring\u003e - first tag\n    to: \u003cstring\u003e - second tag\n  },\n  reportingOptions = {\n    details: true | false - prints the full commit message if true, otherwise just first line\n  }\n*/\n```\n\nThe `changedLog` function returns a promise, resolved after report printing is complete.\nThe promise is resolved with an instance of `Report`, see [src/report.js](src/report.js)\n\n## Debug\n\nIf something is not working, you can see verbose log output, just run the program\nwith `DEBUG=changed` environment variable set\n\n    DEBUG=changed changed-log ...\n\n### Small print\n\nAuthor: Gleb Bahmutov \u0026copy; 2015\n\n* [@bahmutov](https://twitter.com/bahmutov)\n* [glebbahmutov.com](http://glebbahmutov.com)\n* [blog](http://glebbahmutov.com/blog/)\n\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\n\nSpread the word: tweet, star on github, etc.\n\nSupport: if you find any problems with this module, email / tweet /\n[open issue](https://github.com/bahmutov/changed-log/issues) on Github\n\n## MIT License\n\nCopyright (c) 2015 Gleb Bahmutov\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\n[npm-icon]: https://nodei.co/npm/changed-log.svg?downloads=true\n[npm-url]: https://npmjs.org/package/changed-log\n[circle-ci-icon]: https://circleci.com/gh/bahmutov/changed-log.svg?style=svg\n[circle-ci-url]: https://circleci.com/gh/bahmutov/changed-log\n[travis-ci-image]: https://travis-ci.org/bahmutov/changed-log.svg?branch=master\n[travis-ci-url]: https://travis-ci.org/bahmutov/changed-log\n[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n[semantic-url]: https://github.com/semantic-release/semantic-release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fchanged-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahmutov%2Fchanged-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fchanged-log/lists"}