From 91af0dd5c81abf245c74cd8e31c2f3b691245669 Mon Sep 17 00:00:00 2001 From: Leonardo Zizzamia Date: Fri, 29 Dec 2017 18:11:48 -0800 Subject: [PATCH] chore: release v0.2.2 --- CHANGELOG.md | 8 ++++++++ README.md | 4 ++-- package.json | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87934a4..66e0da1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.2.2 (2017-12-29) + +### Bug Fixes + +* **end:** fixed end() and getDurationByMetric() methods [#9](https://github.com/Zizzamia/perfume.js/issues/9) +* **docs:** Annotate metrics in the DevTools [#10](https://github.com/Zizzamia/perfume.js/issues/10) + + ## 0.2.1 (2017-12-28) ### Bug Fixes diff --git a/README.md b/README.md index 9fd90c9..3edfc4f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Perfume.js v0.2.1 +# Perfume.js v0.2.2 [![NPM version](https://badge.fury.io/js/perfume.js.svg)](https://www.npmjs.org/package/perfume.js) [![Build Status](https://travis-ci.org/Zizzamia/perfume.js.svg?branch=master)](https://travis-ci.org/Zizzamia/perfume.js) [![NPM Downloads](http://img.shields.io/npm/dm/perfume.js.svg)](https://www.npmjs.org/package/perfume.js) > Perfume is a tiny JavaScript library for measuring Short/Long Script, First Meaningful Paint, TTI (Time to Interactivity), annotating them to the DevTools timeline and reporting the results to Google Analytics. @@ -60,7 +60,7 @@ Save the duration and print it out when/how you best desire. perfume.start('fibonacci'); fibonacci(400); const duration = this.perfume.end('fibonacci'); -perfume.log('Custom logging', duration); +perfume.log('Custom logging', duration); // ⚡️ Perfume.js: Custom logging 0.14 ms ``` diff --git a/package.json b/package.json index 9dd857c..9e1cbd6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "perfume.js", - "version": "0.2.1", + "version": "0.2.2", "description": "", "keywords": [], "main": "dist/perfume.umd.js",