Skip to content

Commit

Permalink
chore: add changelog (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jollyjerr authored Oct 16, 2021
1 parent dc31beb commit d65a0ac
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 2 deletions.
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.0] - 10-16-21

### Added

- Linting and format checking.

### Changed

- Hook and component both fire on unmount with current, not debounced, value.

## [0.2.2] - 5-18-21

### Added

- Test coverage report.

### Removed

- lodash dependency.

## [0.2.0] - 5-16-21

### Added

- `useAutosave` hook.

## [0.1.5] - 10-10-20

### Added

- `<Autosave>` component.
- Readme.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,21 @@ const EditBlogFormWithHook = () => {
};
```

## Installation

```sh
yarn add react-autosave
# or with npm...
npm i react-autosave
```

## Features

1. Written in typescript.

2. Lightweight and simple.

3. No external libraries.
3. No dependencies.

## API

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-autosave",
"version": "0.2.2",
"version": "0.3.0",
"description": "A super simple debouncing component/hook to auto save controlled form values as they are updated",
"repository": "https://github.com/jollyjerr/react-autosave",
"author": "jollyjerr <[email protected]>",
Expand Down

0 comments on commit d65a0ac

Please sign in to comment.