Support for properties on events and event groups and restructuring of the parser output.
This is a significant and breaking change. Whereas previously the parser would output Node
s with .value
s, now EventGroup
s have .children
and those children and either Event
s or EventGroup
s directly; there is no intermediate Node
.
The structure of an Event
has also changed significantly - it has been flattened with some duplicate fields removed.
- export dateRangeToString
- additional export
- Manually bump version in parse.ts instead of importing package.json
- Missed some exports from 0.10.2
- Missed some exports from 0.10.1
- Missed some exports from 0.10.0
- Merge all exports to be from index.js
- Fixed bug where some events with times did not have the correct timezone
- Add exports to package.json
- Return the right version
- Fix for two digit numbers being parsed as years
- Only prefix lines in descriptions if they would have otherwise been parsed as a date or date range
- Rudimentary ical parsing via
parseICal
- Add parser version as part of output
- Remove lineFrom & lineTo in ranges
- Add support for timezone specification via the header
- Remove support for pages
- Removed shell command (use
@markwhen/mw
instead) - Support for folding events in editor
- Added shell command for parsing markwhen:
mw {file name}
orbash bin/index.js {file name}
- Better support for yaml frontmatter
- Support for yaml frontmatter
- Fix list item content ranges
- Add recurrence match to edtf range match too
- Add recurrence match to recurrence range content
- Add utility function
expand
(src/utilities/recurrence.ts) to expand recurrent events
- Add eventText directly to Event and EventDescription (parsed from regex instead of inferred)
- Recurrence range bug fixes
- Recurrence syntax every (number) (durationUnit) (for (number) (durationUnit | 'times') | x(number))?