Skip to content

Commit

Permalink
chore(release): 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
maritz committed Jul 14, 2018
1 parent 1069059 commit 3179117
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="2.1.0"></a>
# [2.1.0](https://github.com/maritz/nohm/compare/v2.0.1...v2.1.0) (2018-07-14)


### Features

* add typings for subscribe callback payloads ([1069059](https://github.com/maritz/nohm/commit/1069059))



<a name="2.0.1"></a>
## [2.0.1](https://github.com/maritz/nohm/compare/v2.0.0...v2.0.1) (2018-06-21)

Expand Down
6 changes: 1 addition & 5 deletions docs/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,7 @@ <h2>Developing nohm</h2><p>If you want to make changes to nohm, you can fork or
You can prevent this by passing --no-cleanup (which will leave hundreds or thousands of test keys in your database).
You may also change the prefix (&quot;nohmtests&quot;) part doing something like</p>
<pre class="prettyprint source"><code>node test/tests.js --nohm-prefix YourNewPrefix</code></pre><p>Now the keys will look like this:</p>
<pre class="prettyprint source"><code>YourNewPrefix:something:something</code></pre><p>Do note that the tests intentionally log out some warnings and errors. However these have (blue) log lines before them, announcing them. Any warnings/errors that do not have these announcements are actual problems.</p>
<h2>Note about npm audit warnings</h2><p>Currently npm audit detects 5 minor vulnerabilities in nohm, all of which are under nodeunit -&gt; tap.</p>
<p>nodeunit is only installed when you install the dev dependencies (aka. <code>npm install</code> in a checked out version of this repo for example).</p>
<p>In addition to that the tap reporter of nodeunit is not used at all.</p>
<p>Thus these vulnerabilities do not affect nohm. There is however an <a href="https://github.com/maritz/nohm/issues/116">open task</a> to switch away from nodeunit anyways, so these warnings will hopefully go away soon™.</p></article>
<pre class="prettyprint source"><code>YourNewPrefix:something:something</code></pre><p>Do note that the tests intentionally log out some warnings and errors. However these have (blue) log lines before them, announcing them. Any warnings/errors that do not have these announcements are actual problems.</p></article>
</section>


Expand Down
2 changes: 1 addition & 1 deletion docs/api/tsOut_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ <h1 class="page-title">tsOut/index.js</h1>
return this.initPubSub();
}
async initPubSub() {
if (!this.getPubSubClient) {
if (!this.getPubSubClient()) {
throw new Error('A second redis client must set via nohm.setPubSubClient before using pub/sub methods.');
}
else if (this.isPublishSubscribed === true) {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nohm",
"version": "2.0.1",
"version": "2.1.0",
"description": "redis ORM (Object relational mapper)",
"lisense": "MIT",
"engines": {
Expand Down

0 comments on commit 3179117

Please sign in to comment.