diff --git a/CHANGELOG.md b/CHANGELOG.md index a2855928f8..c1705169aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Releases +## v1.5.0 (November 4, 2019) + +### Enhancements + +- **Deep Dependency Graph:** Implement Service-Oriented Deep Dependency Graph (DDG) ([@tiffon](https://github.com/tiffon) and [@everett980](https://github.com/everett980) in [#481](https://github.com/jaegertracing/jaeger-ui/issues/481)) + +- **Deep Dependency Graph:** Derive DDG from search results ([@rubenvp8510](https://github.com/rubenvp8510) in [#445](https://github.com/jaegertracing/jaeger-ui/pull/445)) + +- **Configuration:** Allow ui-config.json to specify script tags which are added to UI body ([@everett980](https://github.com/everett980) in [#455](https://github.com/jaegertracing/jaeger-ui/pull/455)) + +- **Plexus:** Sequester zoom concerns to ZoomManager ([@tiffon](https://github.com/tiffon) in [#409](https://github.com/jaegertracing/jaeger-ui/pull/409)) + +- **Plexus:** Support multiple layers of nodes and edges ([@tiffon](https://github.com/tiffon) in [#482](https://github.com/jaegertracing/jaeger-ui/issues/482)) + +- **Google Analytics:** Track filter interactions on trace detail page ([@everett980](https://github.com/everett980) in [#470](https://github.com/jaegertracing/jaeger-ui/pull/470)) + +### Fixes + +- **Google Analytics:** Fix tracking of clear filter & view keyboard shortcut modal ([@everett980](https://github.com/everett980) in [#470](https://github.com/jaegertracing/jaeger-ui/pull/470)) + +- **Codebase:** Fix codecov reporting ([@tiffon](https://github.com/tiffon) in [#418](https://github.com/jaegertracing/jaeger-ui/pull/418), [#417](https://github.com/jaegertracing/jaeger-ui/pull/417), and[#415](https://github.com/jaegertracing/jaeger-ui/pull/415)) + ## v1.4.0 (August 31, 2019) ### Enhancements diff --git a/README.md b/README.md index dcd5ec249f..265b627a8d 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ yarn build ## UI Configuration -See the [deployment guide](https://www.jaegertracing.io/docs/latest/deployment/#ui-configuration) for details on configuring Google Analytics tracking and menu customizations. +See the [configuration guide](https://www.jaegertracing.io/docs/latest/frontend-ui/) for details on configuring Google Analytics tracking, menu customizations, and other aspects of UI behavior. ## License diff --git a/packages/jaeger-ui/package.json b/packages/jaeger-ui/package.json index da1759c3ac..52fd48c64d 100644 --- a/packages/jaeger-ui/package.json +++ b/packages/jaeger-ui/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "jaeger-ui", - "version": "1.4.0", + "version": "1.5.0", "main": "src/index.js", "license": "Apache-2.0", "homepage": ".", diff --git a/scripts/get-changelog.js b/scripts/get-changelog.js index 8fe74476ad..8372ea25cd 100755 --- a/scripts/get-changelog.js +++ b/scripts/get-changelog.js @@ -15,10 +15,15 @@ // limitations under the License. // This code will generate changelog entries + +const { readFile } = require('fs'); // eslint-disable-next-line import/no-extraneous-dependencies const fetch = require('isomorphic-fetch'); // eslint-disable-next-line import/no-extraneous-dependencies const jsdom = require('jsdom'); +const { promisify } = require('util'); + +const readFilePromise = promisify(readFile); const DOMAIN = 'https://github.com/'; @@ -28,7 +33,7 @@ function getData(elm) { const title = elm.querySelector('[data-hovercard-type="pull_request"]').textContent; const url = elm.querySelector('[data-hovercard-type="pull_request"]').href; const pid = /#\d+/g.exec(elm.querySelector('.opened-by').textContent)[0]; - const user = elm.querySelector('[data-hovercard-type="user"]').textContent; + const user = elm.querySelector('a.muted-link').textContent; const dateMerged = new Date(elm.querySelector('[datetime]').getAttribute('datetime')); return { title, url, pid, user, dateMerged }; } @@ -84,9 +89,16 @@ function getChangelog(pages) { } if (require.main === module) { - getChangelog(process.argv[2] || 1) - // eslint-disable-next-line no-console - .then(items => console.log(items.map(fmtPr).join('\n\n'))) + Promise.all([getChangelog(process.argv[2] || 1), readFilePromise('./CHANGELOG.md', 'utf8')]) + .then(([items, changelog]) => + // eslint-disable-next-line no-console + console.log( + items + .filter(({ pid, url }) => changelog.indexOf(`[${pid}](${url})`) === -1) + .map(fmtPr) + .join('\n\n') + ) + ) // eslint-disable-next-line no-console .catch(error => console.error(error)); } else {