All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
4.0.2 - 2024-09-21
- Upgraded dev dependencies
- Attachment regex to allow more formats to be matched #260
4.0.1 - 2024-08-14
- Upgraded dev dependencies
- Issue where package couldn't be installed in some circumstances due to bad metadata present on npm's servers #256
4.0.0 - 2023-02-18
- Exported types that the end user may need
-
BREAKING Renamed
parseStringSync
intoparseString
. The old asyncparseString
has been removed -
BREAKING In case of a system message the
author
property will be now set tonull
as opposed to the string"System"
-
Ship ESM and CJS versions, as well as a version for browsers. All files are minified. The new structure is the following:
dist/ ├── index.cjs # CommonJS ├── index.d.ts # Types ├── index.global.js # Browser without ESM └── index.js # ESM
-
Replaced jest with vitest
-
Replaced rollup with tsup
3.2.3 - 2023-02-17
- Upgraded dev dependencies
- Issue where a special character between the time and PM / AM would prevent the parser to work correctly #248
3.2.2 - 2023-01-03
- Upgraded dev dependencies
- Updated some examples in readme
- Support old attachment format where angle brakets were used after the file name
3.2.1 - 2021-07-29
- Upgraded dev dependencies
- Issue where date digits whould sometimes get sorted wrong #237
3.2.0 - 2021-07-08
parseStringSync
method #236
- Upgraded dev dependencies
- Renovate bot
3.1.3 - 2021-06-01
- Support for new attachment format #231
- Upgraded dev dependencies
3.1.2 - 2021-05-28
- Some issue links in the changelog
- Upgraded dev dependencies
- Issue in parsing the message when there would be a non breaking space in the
AM/PM
portion of the date #224
3.1.1 - 2021-04-02
- Complete rewrite of the package in TypeScript
- Migrated from CircleCI to GitHub Actions
- Upgraded dev dependencies
3.1.0 - 2021-01-12
parseAttachments
option #198
- Improved TypeScript types
- Updated readme with info on new
parseAttachments
option - Upgraded dev dependencies
- Handle carriage return (
\r
) characters when splitting lines
3.0.2 - 2020-09-07
- Funding links
- Upgraded dev dependencies
- Outdated username in changelog
3.0.1 - 2020-09-01
- Codecov badge in readme (collect coverage info in CircleCI)
- Updated package description
- Upgraded dev dependencies
3.0.0 - 2020-08-13
- POTENTIALLY BREAKING: Removed ES6 to ES5 transpilation.
This should in theory not be a problem since the transpiled version still contained some newer methods that were not polyfilled, such as.padStart()
and every browser that supports that also supports all the other ES6 stuff.
So in short, transpiling to ES5 was probably never even needed.
Having said that I will still tag this as a major release just to be safe.
- Minor readme improvements
- Upgraded dev dependencies
- Renovate config
2.0.8 - 2020-01-27
- Ability to parse date formats where the year is not the last number (e.g.
2020/01/27
)
2.0.7 - 2019-09-16
- Edge case where a message starting with a left-to-right or right-to-left mark would get parsed incorrectly
2.0.6 - 2019-08-22
- Edge case where a multiline message that contained a datetime would get parsed incorrectly
2.0.5 - 2019-08-18
- TypeScript types definition file #60
- Node.js requirement from
8.3.0
to8.0.0
- Minor readme improvements
2.0.4 - 2019-07-31
- Improve regex to allow spaces between AM/PM portion (example: "p. m.")
2.0.3 - 2019-06-17
- Test both
src
anddist
files #28 (Thanks @TiredFalcon) - Replaced Greenkeeper with Renovate
- Readme badges (npm version, package size)
- Improved changelog
2.0.2 - 2019-06-09
- Ability to parse more date formats, including Finnish, that look something like this:
31.5.2019 klo 16.58 - <author>: <message>
2.0.1 - 2019-05-31
- Massive performance improvements on parsing times #12
2.0.0 - 2019-05-29
parseFile
method (Node users can still read the file in their code and pass the file contents to theparseString
function)
1.2.4 - 2019-04-25
- Unsupported regex flag 's' in node 8
1.2.3 - 2019-04-25
- Upgraded dev dependencies
1.2.2 - 2018-11-13
- Upgraded dev dependencies
1.2.1 - 2018-10-10
- Disable prettier for table in readme
- Wrong changelog's link in readme
1.2.0 - 2018-10-10
- New
parseString
method to parse a string directly
- Improved readme and added changelog section
1.1.0 - 2018-08-10
- Options argument with the possibility to manually tell the program if the days or the months come first
- Updated changelog
1.0.1 - 2018-08-10
- CircleCI for continuous integration
- Install instructions in readme
- Removed jest config from npm package
1.0.0 - 2018-08-09
- Initial release