Skip to content

Latest commit

 

History

History
304 lines (146 loc) · 13.6 KB

CHANGELOG.md

File metadata and controls

304 lines (146 loc) · 13.6 KB

Changelog

8.0.0 (2024-09-03)

⚠️ BREAKING CHANGES

  • hosted-git-info now supports node ^18.17.0 || >=20.5.0

Bug Fixes

  • 967d930 #268 align to npm 10 node engine range (@hashtagchris)

Chores

  • 20551b0 #268 run template-oss-apply (@hashtagchris)
  • 9a3c062 #265 bump @npmcli/eslint-config from 4.0.5 to 5.0.0 (@dependabot[bot])
  • 8f0fa04 #266 postinstall for dependabot template-oss PR (@hashtagchris)
  • e0fe523 #266 bump @npmcli/template-oss from 4.23.1 to 4.23.3 (@dependabot[bot])

7.0.2 (2024-05-04)

Bug Fixes

Chores

  • f33287c #249 bump @npmcli/template-oss to 4.22.0 (@lukekarrys)
  • 7bbdfd8 #248 chore: postinstall for dependabot template-oss PR (@lukekarrys)
  • 0d4310e #249 postinstall for dependabot template-oss PR (@lukekarrys)
  • 2efc69b #248 bump @npmcli/template-oss from 4.21.3 to 4.21.4 (@dependabot[bot])

7.0.1 (2023-09-13)

Bug Fixes

  • d7bac33 #213 remove sourcehut bugstemplate (#213) (@vladh)

7.0.0 (2023-08-14)

⚠️ BREAKING CHANGES

  • support for node 14 has been removed

Bug Fixes

Dependencies

6.1.1 (2022-10-27)

Bug Fixes

  • f03bfbd #176 only correct protocols when called from githost (@lukekarrys)

6.1.0 (2022-10-26)

Features

  • a44bd35 #172 add separate static method for just parsing urls (@lukekarrys)

6.0.0 (2022-10-12)

⚠️ BREAKING CHANGES

  • GitHost now has a static addHost method to use instead of manually editing the object from lib/git-host-info.js.
  • set default git ref to HEAD
  • hosted-git-info is now compatible with the following semver range for node: ^14.17.0 || ^16.13.0 || >=18.0.0

Features

  • 9e0ce62 #142 refactor (@lukekarrys)
  • 89155e8 set default git ref to HEAD (@darcyclarke)
  • 9ed9c38 #162 postinstall for dependabot template-oss PR (@lukekarrys)

Bug Fixes

  • 61ca7fb #152 parse branch names containing @ (@lukekarrys)
  • 3cd4a98 ignore colons after hash when correcting scp urls (@lukekarrys)

5.1.0 (2022-08-09)

Features

  • add method to get an edit link to a file (ad02952)

Bug Fixes

  • add comments to empty catch blocks for linting (70a770d)

5.0.0 (2022-03-14)

⚠ BREAKING CHANGES

  • this drops support for node 10 and non-LTS versions of node 12 and node 14

Bug Fixes

Dependencies

4.0.0 (2021-03-09)

Features

  • rewrite the entire module: all internals have been rewritten to maintain a similar contract but to remove excessive use of regular expressions, unnecessary loops, the custom string templating engine, and various other bits of complexity (c218b9)

BREAKING CHANGES

  • extending with custom providers has changed (c218b9)

3.0.8 (2021-01-28)

Bug Fixes

  • simplify the regular expression for shortcut matching (bede0dc), closes #76

3.0.7 (2020-10-15)

Bug Fixes

  • correctly filter out urls for tarballs in gitlab (eb5bd5a), closes #69

3.0.6 (2020-10-12)

Bug Fixes

  • support to github gist legacy hash length (c067102), closes #68

3.0.5 (2020-07-11)

3.0.4 (2020-02-26)

Bug Fixes

  • Do not pass scp-style URLs to the WhatWG url.URL (0835306), closes #60 #63

3.0.3 (2020-02-25)

3.0.2 (2019-10-08)

Bug Fixes

  • do not encodeURIComponent the domain (3e5fbec), closes #53

3.0.1 (2019-10-07)

Bug Fixes

  • update pathmatch for gitlab (e3e3054), closes #52
  • updated pathmatch for gitlab (fa87af7)

3.0.0 (2019-08-12)

Bug Fixes

  • cache: Switch to lru-cache to save ourselves from unlimited memory consumption (37c2891), closes #38

BREAKING CHANGES

  • cache: Drop support for node 0.x

2.8.3 (2019-08-12)

2.8.2 (2019-08-05)

Bug Fixes

  • http protocol use sshurl by default (3b1d629), closes #48

2.8.1 (2019-08-05)

Bug Fixes

  • ignore noCommittish on tarball url generation (5d4a8d7)
  • use gist tarball url that works for anonymous gists (1692435)

2.8.0 (2019-08-05)

Bug Fixes

  • Allow slashes in gitlab project section (bbcf7b2), closes #46 #43
  • git-host: disallow URI-encoded slash (%2F) in path (3776fa5), closes #44
  • gitlab: Do not URL encode slashes in project name for GitLab https URL (cbf04f9), closes #47
  • do not allow invalid gist urls (d5cf830)
  • cache: Switch to lru-cache to save ourselves from unlimited memory consumption (e518222), closes #38

Features

  • give these objects a name (60abaea)

2.7.1 (2018-07-07)

Bug Fixes

  • index: Guard against non-string types (5bc580d)
  • parse: Crash on strings that parse to having no host (c931482), closes #35

2.7.0 (2018-07-06)

Bug Fixes

  • github tarball: update github tarballtemplate (6efd582), closes #34
  • gitlab docs: switched to lowercase anchors for readmes (701bcd1)

Features

2.6.1 (2018-06-25)

Bug Fixes

  • Revert: "compat: remove Object.assign fallback (#25)" (cce5a62)
  • Revert: "git-host: fix forgotten extend()" (a815ec9)

2.6.0 (2018-03-07)

Bug Fixes

  • compat: remove Object.assign fallback (#25) (627ab55)
  • git-host: fix forgotten extend() (eba1f7b)

Features

  • browse: fragment support for browse() (#28) (cd5e5bb)