Closed ojvribeiro closed 1 year ago
Hi. What browser/version/extension are you using? I don't have this issue with chrome 112 on macos
Weird... With no change from my side, it's showing the package name just fine now.
From what I searched it has something to do with Cloudfare's Email Address Obfuscation, but I do not use any Cloudfare extension.
Ok, I just noticed it only happens when I navigate between routes. When I load the URL from a link or when I do a page reload the [email protected]
don't show.
I'll put my OS info on the first post.
Here's what I get when I click the message:
JavaScript is enabled
uBlock Origin is disabled
Hello!
Thanks for your issue. This happens since we write changelogen@latest
and the @
is used by Cloudflare to know if it's an email or not. When going to /changelogen
, Cloudflare add a script to hide emails when HTML is injected (<script data-cfasync=\"false\" src=\"/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js\"></script>
) and because we use a v-html
in order to inject the content, script is executed.
We are currently building a new website where this won't happens (normally). I'm also closing this issue since the new website is coming soon!
Generate Beautiful Changelogs using Conventional Commits
\nGenerate a changelog in Markdown format and display in the console:
\n\nGenerate a changelog, bump the version in package.json
and update CHANGELOG.md
(without commit):
npx [email protected] --bump
Bump the version, update CHANGELOG.md
and make a git commit and tag:
npx [email protected] --release
npx [email protected] [...args] [--dir <dir>]
Arguments:
\n--from
: Start commit reference. When not provided, latest git tag will be used as default.--to
: End commit reference. When not provided, latest commit in HEAD will be used as default.--dir
: Path to git repository. When not provided, current working directory will be used as as default.--output
: Changelog file name to create or update. Defaults to CHANGELOG.md
and resolved relative to dir. Use --no-output
to write to console only.--bump
: Determine semver change and update version in package.json
.--release
. Bumps version in package.json
and creates commit and git tags using local git
. You can disable commit using --no-commit
and tag using --no-tag
. You can enable the automatic push of the new tag and release commit to your git repository by adding --push
.--publish
. Publishes package as a new version on npm
. You will need to set authorisation tokens separately via .npmrc
or environment variables.--publishTag
Use custom npm tag for publishing (Default is latest
)--nameSuffix
: Adds suffix to package name (Example: --nameSuffix canary
renames foo
to foo-canary
)--versionSuffix
: Adds suffix to package version. When set without value or to true
, uses date + commit hash as commit--canary
. Shortcut to --bump --versionSuffix
(--nameSuffix
will be also added if arg has a string value).-r
: Release as specific version.--major
: Bump as a semver-major version--minor
: Bump as a semver-minor version--patch
: Bump as a semver-patch version--premajor
: Bump as a semver-premajor version, can set id with string.--preminor
: Bump as a semver-preminor version, can set id with string.--prepatch
: Bump as a semver-prepatch version, can set id with string.--prerelease
: Bump as a semver-prerelease version, can set id with string.changelogen gh release
Changelogen has built-in functionality to sync with with Github releases.
\nIn order to manually sync a release, you can use changelogen gh release
. It will parse current CHANGELOG.md
from current repository (local, then remote) and create or update releases.
Usage:
\nnpx [email protected] gh release [all|versions...] [--dir] [--token]
To enable this integration, make sure there is a valid repository
field in package.json
or repo
is set in .changelogenrc
.
By default in unauthenticated mode, changelogen will open a browser link to make manual release. By providing github token, it can be automated.
\n.env
, use CHANGELOGEN_TOKENS_GITHUB
or GITHUB_TOKEN
or GH_TOKEN
\n--token <token>
\ntokens.github=<token>
inside ~/.changlogenrc
\ngh auth login
\nConfiguration is loaded by unjs/c12 from cwd. You can use either changelog.config.json
, changelog.config.{ts,js,mjs,cjs}
, .changelogrc
or use the changelog
field in package.json
.
See ./src/config.ts for available options and defaults.
\ncorepack enable
(use npm i -g corepack
for Node.js < 16.10)pnpm install
\npnpm dev
\nMade with
Published under MIT License.
\n\n" "markdown": "# changelogen\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Codecov][codecov-src]][codecov-href]\n[![License][license-src]][license-href]\n\nGenerate Beautiful Changelogs using [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)\n\n## Quick Start\n\nGenerate a changelog in Markdown format and display in the console:\n\n```sh\nnpx changelogen@latest\n```\n\nGenerate a changelog, bump the version in `package.json` and update `CHANGELOG.md` (without commit):\n\n```sh\nnpx changelogen@latest --bump\n```\n\nBump the version, update `CHANGELOG.md` and make a git commit and tag:\n\n```sh\nnpx changelogen@latest --release\n```\n\n## CLI Usage\n\n```sh\nnpx changelogen@latest [...args] [--dir
Environment
Chrome: Version 112.0.5615.138 (Official Build) (64-bit) Operating System: Windows 10 Pro 22H2 19045.2846
Reproduction
https://unjs.io/changelogen
Describe the bug
Every section which mentions the changelogen package is hidden under a
[email protected]
message:Additional context
No response
Logs
No response