hardtack
Version:
An ultra-light (373 bytes) library for working with cookies in JavaScript
70 lines (46 loc) • 3.82 kB
Markdown
# Changelog
## [5.0.1](https://github.com/alik0211/hardtack/compare/v5.0.0...v5.0.1) - 2021-01-02
- The library size is reduced by 2 bytes
- Fix default export in ES modules
## [5.0.0](https://github.com/alik0211/hardtack/compare/v4.1.2...v5.0.0) - 2021-01-02
- The library size is reduced by 31 bytes
- Add the ability to load only the necessary method
- Use dual-publish instead rollup
- Use GitHub Actions instead Travis CI
- Remove git hooks
## [4.1.2](https://github.com/alik0211/hardtack/compare/v4.1.1...v4.1.2) - 2019-10-01
- Add prepublishOnly script ([ae1c00](https://github.com/alik0211/hardtack/commit/ae1c00f6f25fb5aaf8ba6ffce6334485805ecb55))
- Fix package size ([e18178](https://github.com/alik0211/hardtack/commit/e181780628fc78f78f1dc29017230eae7640151f))
## [4.1.1](https://github.com/alik0211/hardtack/compare/v4.1.0...v4.1.1) - 2019-08-26
- Update examples ([4c334d](https://github.com/alik0211/hardtack/commit/4c334d087901b8ac2dbeabbe48ad4f45edaf2e99))
## [4.1.0](https://github.com/alik0211/hardtack/compare/v4.0.1...v4.1.0) - 2019-02-13
In this release, the library size is reduced by 6 bytes. No new features.
- Take out the document.cookie to variable ([#46](https://github.com/alik0211/hardtack/pull/46))
- Replace the string constructor with a concatenation ([#44](https://github.com/alik0211/hardtack/pull/44))
- Remove features from TOC ([5139eb](https://github.com/alik0211/hardtack/commit/5139ebb9d14c4c299b023d7d034ea032ce6a44b8))
## [4.0.1](https://github.com/alik0211/hardtack/compare/v4.0.0...v4.0.1) - 2019-02-09
- Add features and example before TOC ([9698c3](https://github.com/alik0211/hardtack/commit/9698c3c0d743b0145ec50761336dddfe8937f9f6))
## [4.0.0](https://github.com/alik0211/hardtack/compare/v3.0.0...v4.0.0) - 2019-01-13
- Delete processing to false in the option value ([#41](https://github.com/alik0211/hardtack/pull/41))
- Change the processing method of the parameter maxAge ([#38](https://github.com/alik0211/hardtack/pull/38))
- Add ES module ([#36](https://github.com/alik0211/hardtack/pull/36))
- Get rid of Object.assign ([#34](https://github.com/alik0211/hardtack/pull/34))
- Add iife build ([#32](https://github.com/alik0211/hardtack/pull/32))
- Update rollup ([#30](https://github.com/alik0211/hardtack/pull/30))
## [3.0.0](https://github.com/alik0211/hardtack/compare/v2.1.0...v3.0.0) - 2018-12-29
- Do not change the original options object. Example problem in [#26](https://github.com/alik0211/hardtack/issues/26) ([#27](https://github.com/alik0211/hardtack/pull/27))
- Do not use semicolons in option values ([#23](https://github.com/alik0211/hardtack/pull/23))
- Add size-limit ([#29](https://github.com/alik0211/hardtack/pull/29))
- Add table of contents ([#25](https://github.com/alik0211/hardtack/pull/25))
- Use the files field instead of npmignore ([#24](https://github.com/alik0211/hardtack/pull/24))
- Add tests for brackets ([#21](https://github.com/alik0211/hardtack/pull/21))
## [2.1.0](https://github.com/alik0211/hardtack/compare/v2.0.1...v2.1.0) - 2018-11-26
- Replace the `max-age` with a `maxAge` ([#17](https://github.com/alik0211/hardtack/pull/17))
- Fix typos in README ([#15](https://github.com/alik0211/hardtack/pull/15))
## [2.0.1](https://github.com/alik0211/hardtack/compare/v2.0.0...v2.0.1) - 2018-11-24
- Fix remove example ([#14](https://github.com/alik0211/hardtack/pull/14))
## [2.0.0](https://github.com/alik0211/hardtack/compare/v1.0.0...v2.0.0) - 2018-11-23
- Add declaration file on TypeScript ([#5](https://github.com/alik0211/hardtack/pull/5))
- Encode forbidden characters ([#8](https://github.com/alik0211/hardtack/pull/8))
- Return `{}` if there is no cookie ([#10](https://github.com/alik0211/hardtack/pull/10))
- Add module into package.json ([#12](https://github.com/alik0211/hardtack/pull/12))