tag:github.com,2008:https://github.com/signal-noise/index-core/releasesRelease notes from index-core2023-05-31T13:57:43Ztag:github.com,2008:Repository/409625626/v1.7.12023-05-31T13:57:43Zv1.7.1<p>fix: patch the latest version (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1734274672" data-permission-text="Title is private" data-url="https://github.com/signal-noise/index-core/issues/38" data-hovercard-type="pull_request" data-hovercard-url="/signal-noise/index-core/pull/38/hovercard" href="https://github.com/signal-noise/index-core/pull/38">#38</a>)</p>celltowertreestag:github.com,2008:Repository/409625626/v1.7.02023-05-30T11:44:23Zv1.7.0: Integrate Typescript (#25)<ul>
<li>
<p>Welcome to Typescript</p>
</li>
<li>
<p>more ts config / add some types</p>
</li>
<li>
<p>jest for typescript</p>
</li>
<li>
<p>Fix some config / import stuff</p>
</li>
<li>
<p>move types to own file</p>
</li>
<li>
<p>Module imports work now for jest</p>
</li>
<li>
<p>Get the types to get along with d3 types</p>
</li>
<li>
<p>commit package.lock</p>
</li>
<li>
<p>fixing noImplicitAny errors</p>
</li>
<li>
<p>more types were added</p>
</li>
<li>
<p>update node versions in ci workflow</p>
</li>
<li>
<p>The boolean coercion bug was making tests fail</p>
</li>
<li>
<p>exclude some stuff from ts compiler</p>
</li>
<li>
<p>incorporate typescript-eslint and then also do some linting</p>
</li>
<li>
<p>Boolean coercion now happens on csv load</p>
</li>
<li>
<p>some fixes</p>
</li>
<li>
<p>add back indicatorsData fn signature</p>
</li>
<li>
<p>add toLowerCase to boolean coercion fn</p>
</li>
<li>
<p>use formatters in indexcore instead of tests. Also the pre-formatted indicator doesn't even need a value field</p>
</li>
<li>
<p>cleanup</p>
</li>
<li>
<p>Adding linting rules</p>
</li>
<li>
<p>feat: added husky config</p>
</li>
<li>
<p>"progress"</p>
</li>
<li>
<p>Top level value is now stored as '0' in entity scores list</p>
</li>
<li>
<p>fix: Add back code I removed that normalised diverging indicators</p>
</li>
<li>
<p>fix: add back some code</p>
</li>
<li>
<p>fix: icicle</p>
</li>
<li>
<p>fix: remove some comments and no loops</p>
</li>
<li>
<p>fix: remove a few more comments</p>
</li>
<li>
<p>fix: <code>data</code> just keeps scores without copying whole entity</p>
</li>
<li>
<p>style: cleanup</p>
</li>
<li>
<p>style: remove unneeded comments</p>
</li>
</ul>
<hr>
<p>Co-authored-by: Manish Nautiyal <a href="mailto:manishnautiyal@economist.com">manishnautiyal@economist.com</a></p>celltowertreestag:github.com,2008:Repository/409625626/v1.6.12022-03-31T12:14:15Z1.6.1<p>fixes a bug where indicators would be ignores if they had id's greater than "10" i.e. 1.2.10 would have been excluded</p>tomgptag:github.com,2008:Repository/409625626/v1.6.02022-03-31T08:06:14Z1.6.0<p>This release adds the ability to "clamp" indicators forcing them to remain within the min/max range</p>tomgptag:github.com,2008:Repository/409625626/v1.5.32022-03-11T12:25:12Zv1.5.3<p>Fixes a bug in the way that inverted indicators are handled<br>
Adds linting to the CI process to catch these things in future</p>tomgptag:github.com,2008:Repository/409625626/v1.5.22022-03-09T13:19:06Zv1.5.2<p>Adjusted value return (<a class="issue-link js-issue-link" href="https://github.com/signal-noise/index-core/pull/19">#19</a>)</p>
<p>* improve return object from adjustValue</p>tomgptag:github.com,2008:Repository/409625626/v1.5.02022-03-08T14:51:39Zv1.5.0<p>Adds an API method for getting the user edited/ calculated version of an indicator score which falls back to the initial value</p>tomgptag:github.com,2008:Repository/409625626/v1.4.22022-03-02T14:27:44Zv1.4.2<p>This release adds a repository field to package.json and marks the package UNLICENSED as per npm docs...<br>
<a href="https://docs.npmjs.com/cli/v8/configuring-npm/package-json" rel="nofollow">https://docs.npmjs.com/cli/v8/configuring-npm/package-json</a></p>tomgptag:github.com,2008:Repository/409625626/v1.4.12022-02-28T17:07:29Zv1.4.1<p>Fixes problems with the <em>adjustValue</em> function</p>
<p>by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tomgp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomgp">@tomgp</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1154302520" data-permission-text="Title is private" data-url="https://github.com/signal-noise/index-core/issues/16" data-hovercard-type="pull_request" data-hovercard-url="/signal-noise/index-core/pull/16/hovercard" href="https://github.com/signal-noise/index-core/pull/16">#16</a><br>
<strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/signal-noise/index-core/compare/v1.4.0...v1.4.1"><tt>v1.4.0...v1.4.1</tt></a></p>tomgptag:github.com,2008:Repository/409625626/v1.4.02022-02-04T12:40:01Zv1.4.0 - prevent overwrite<h2>API addition:</h2>
<ul>
<li>On creating an indexCore the you now can specify whether hardcoded indicator values may be used in preference to calculated values</li>
</ul>
<h2>What else has Changed</h2>
<ul>
<li>Diverging indicators by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tomgp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomgp">@tomgp</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1109199937" data-permission-text="Title is private" data-url="https://github.com/signal-noise/index-core/issues/12" data-hovercard-type="pull_request" data-hovercard-url="/signal-noise/index-core/pull/12/hovercard" href="https://github.com/signal-noise/index-core/pull/12">#12</a></li>
<li>Remove date object by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tomgp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomgp">@tomgp</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1112669143" data-permission-text="Title is private" data-url="https://github.com/signal-noise/index-core/issues/13" data-hovercard-type="pull_request" data-hovercard-url="/signal-noise/index-core/pull/13/hovercard" href="https://github.com/signal-noise/index-core/pull/13">#13</a></li>
<li>Publish to npm via release triggered action by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tomgp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomgp">@tomgp</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1121711812" data-permission-text="Title is private" data-url="https://github.com/signal-noise/index-core/issues/14" data-hovercard-type="pull_request" data-hovercard-url="/signal-noise/index-core/pull/14/hovercard" href="https://github.com/signal-noise/index-core/pull/14">#14</a></li>
<li>Indicator value override by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tomgp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomgp">@tomgp</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1124087687" data-permission-text="Title is private" data-url="https://github.com/signal-noise/index-core/issues/15" data-hovercard-type="pull_request" data-hovercard-url="/signal-noise/index-core/pull/15/hovercard" href="https://github.com/signal-noise/index-core/pull/15">#15</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/signal-noise/index-core/compare/v1.2.0...v1.4.0"><tt>v1.2.0...v1.4.0</tt></a></p>tomgp