Skip to content

Releases: unimarkup/unimarkup-rs

unimarkup-rs v0.4.0

23 Apr 19:40
343a6e4
Compare
Choose a tag to compare

Features

  • add EndOfLine inline support to inline parser (353b53f)
  • add EndOfLine token support to inline lexer (91251a5)
  • add Inline::with_span implementation (483c029)
  • add into_plain impl for Token (5ececca)
  • add Multiple variant to Inline (35d8e5b)
  • add TokenDelimiters struct and impl (4f81c70)
  • add api to check whether the cached token is already open (7e0b8b6)
  • add api to get span of inline (cf58e5c)
  • add api to get textual length of Token (302dcbd)
  • add api to iterate over NestedContent (f3e4e33)
  • add api to split ambiguous Token into two non-ambiguous Tokens (a212a10)
  • add arrows support to substitutions (35825d4)
  • add basic logging to core crate (200dc22)
  • add constructor function to Position (9c0b0c8)
  • add Debug derive for ParserStack (93003bd)
  • add direct init functions to inline Token (67166e8)
  • add direct substitution support to inline lexer (aa419ab)
  • add functionality relating to Inlines (411350c)
  • add functions to token to aid inline parsing (7781643)
  • add getters for TokenDelimiters tags (a95cba8)
  • add html tags for text group (a927618)
  • add inline caching and merging to parser (137a528)
  • add inlines parser - partial implementation (19c9420)
  • add inlines parser, starting implementation (49c18d5)
  • add more std::ops impls for Position (61f7c92)
  • add more TokenKind variants (578a5ed)
  • add more helper functions to IsKeyword trait (f31b941)
  • add new parser module and implement symbol (c96b25c)
  • add render crate to extract trait from core (cbd64eb)
  • add setup traits and blanket impls for parsing (e31ce69)
  • add structs for Inline and InlineContent etc. (49c2257)
  • add support for Inline::Substitution (ee901b4)
  • add support for multi-line inline formatting (bc9badb)
  • add support for nested text groups (86a6844)
  • add support for unimarkup text group inline (49fb173)
  • add syntax highlighting for verbatim blocks (2102a44)
  • add type alias for parser functions (43fd005)
  • add unimarkup_inline as dep. to unimarkup_core (7e597a3)
  • blanket implement ParseUnimarkupInlines (9c3c46b)
  • cache token when split during parsing (95a1aab)
  • derive impl of Debug and Clone on TokenIterator (9f2980f)
  • expose more Token api to the inlines crate (cd364fe)
  • extend functionality of inlines (4f28589)
  • extract Render from core and introduce logid (fc7cbac), closes #74
  • impl Render for unimarkup_inline::Inline (96055ed)
  • impl some std::ops for Spacing (593a456)
  • implement TokenBuilder (76c705b)
  • implement Tokenize for &str (f10a561)
  • implement basic inline lexer (0c006ad)
  • implement basic inline tokens (45a71cd)
  • implement basic lexer for plain, bold tokens (f380906)
  • implement basic lexer for plain, bold tokens (54a8ef7)
  • implement basic lexer of plain text (329ff68)
  • implement basic token resolver (c75d69f)
  • implement basics of MainParser for Unimarkup (e69ab67)
  • implement conversion of string into symbols (01cbd31)
  • implement ElementParser for Heading (ccb6e28)
  • implement ElementParser for Paragraph (fcd4aab)
  • implement ElementParser for Verbatim block (a60134d)
  • implement getter functions for Token (52da4d6)
  • implement lexing of (some) tokens (82079e1)
  • implement substitutions of emojis (7e54e71)
  • improve Content enum API (900e928)
  • improve Substitute API (2d9d214)
  • improve is_whitespace impl on &str (3986929)
  • improve lexer and parser (21f8024)
  • improve lexing of plain text ([5487507](https://www.github.com/unimarkup/unimarkup-rs/commit/54875073138787536...
Read more

unimarkup-rs v0.3.0

14 Jan 17:25
4dcd220
Compare
Choose a tag to compare

Features

  • add api for creating pest error with span in UmError (47b55e6)
  • add attributes to blocks (91ec175)
  • add basic attributes support to existing blocks (7c6c248)
  • add function for id generation (259e9dd)
  • add parsing, validation and merge with CLI for preamble (08bcd6c)
  • add validation of configs (7dea7c5)
  • add validation of configs (ade82b0)
  • added testing to preamble (883f61b)
  • backend: implement ParseFromIr for VerbatimBlock (a100ae4)
  • backend: implement Render for VerbatimBlock (fac7605)
  • backend: load Verbatim blocks from IR (2852533)
  • checks paragraph content for inline-formatting (9207fd1)
  • frontend: add attributes grammar for headings (f680542)
  • frontend: add attributes grammar for paragraph (c49d96f)
  • frontend: add attributes to verbatim in grammar (d7dd8d1)
  • frontend: add function for id generation (1f4d7fb)
  • frontend: impl attributes parsing for paragraph (d2dd1cd)
  • frontend: implement UmParse for verbatim block (d19664d)
  • frontend: introduce attributes rule in grammar (5f94226)
  • frontend: parse attributes for verbatim block (c8bf790)
  • frontend: parse attributes on heading blocks (7579502)
  • frontend: setup parser for enclosed blocks (9a7afe9)
  • implement AsIrLines for VerbatimBlock (f274017)
  • implement render for html of unimarkup blocks (144defb)
  • inline formatting in grammar (8fac206)
  • introduce grammar for verbatim block (5c516a8)
  • introduce VerbatimBlock (4100f15)
  • parses inline formatting and saves in a vector (58b2123)
  • parsing preamble at the beginning of file and add to cli configs (a0d51f5)
  • split umblock_tests into more files (5c0404f)
  • write root file into metadata table (ad73663)

Bug Fixes

  • add content to all_syntax.um (7724081)
  • add documentation to public function (398895f)
  • add suggestion from comment (68450de)
  • added suggestions form PR, (f53f933)
  • added suggestions from PR (c31ecee)
  • cargo fmt (3d0a379)
  • cargo format (5a7e168)
  • change config of test_valid_config() (fd05740)
  • change if statement to let Some, (5efc48e)
  • change ownership of config because of merge conflict (faaa228)
  • changing umblock_tests because of changes in parser (4eaf3b3)
  • correct verbatim block rendering (37757dd)
  • fix logger when using installed unimarkup-rs (cea675d)
  • fix simple_logger causing panic when using installed version of unimarkup-rs (efdd2dd)
  • frontend: change verbatim grammar to reduce false-positives (af47f00)
  • frontend: convert implicit heading id to lowercase (c191c62)
  • frontend: fix headings grammar to get correct line numbers (669462a)
  • frontend: handle blank_line rule when parsing (3c0ac08)
  • frontend: handle verbatim_end rule in verbatim block (64169e1)
  • frontend: improve clarity of error message (9c64da6)
  • frontend: return error on unknown rule in verbatim block (6befb00)
  • frontend: skip rule when Rule::EOI encountered (418fc60)
  • frontend: use custom whitespace rules in grammar (d7eee86)
  • frontend: warn on fallback use when parsing enclosed blocks (1118202)
  • handle expect messages (55fce22)
  • make code consistent (f38c2e8)
  • merge branch 'main' into preamble (cd85eb5)
  • Merge branch 'main' into umblock-tests (a4860b8)
  • Merge branch 'main' of https://github.com/Unimarkup/unimarkup-rs into umblock-tests (e2e6bd7)
  • merge main into inline and clean up merge conflicts (8d66522)
  • more organised split up of tests (d7b1490)
  • pass error message from caller to custom pest error (df2f28c)
  • remove unnecessary println (7ed91b3)
  • rename variable um_blocks to um_file (098d0d5)
  • rework AsIrLines and add Clone trait ([7034e2b](https://www.github.com/...
Read more

unimarkup-rs v0.2.0

17 Dec 16:59
d1448b1
Compare
Choose a tag to compare

Features

  • add cli -> config conversion (020b472)
  • add cli draft (590fa6f)
  • add macro From<UM_BLOCK> for UnimarkupType (af9200a)
  • backend: impl parse from IR for Heading (f7415d4)
  • backend: implement Render for HeadingBlock (2a7e20e)
  • backend: implement um_type parser in loader (989ac3d)
  • backend: implement write html to file (939efa3)
  • backend: include backend module in lib.rs (0a7cbe5)
  • backend: introduce loader - parser from IR (ee82615)
  • backend: introduce renderer (8e578db)
  • backend: load, parse & render ParagraphBlocks (4078463)
  • backend: prepare parsing of UMBlocks from IR (2bbf54d)
  • extend UmError with general error variant (4292c78)
  • frontend: introduce headings grammar (73f3978)
  • frontent: introduce paragraph grammar (036e5cc)
  • implement ParseFromIr for ParagraphBlock (995e1c6)
  • implement parsing of paragraphs (97b50c1)
  • implement pipeline for heading blocks (661ac31)
  • implement write_to_ir in parser_pest (5ffaac2)
  • introduce backend error variant of UmError (71f2f98)
  • introduce backend module (568a42c)
  • make UnimarkupType variants comparable (1586f18)

Bug Fixes

  • adapt cli and add matching config struct (48ca9c8)
  • add clean, rebuild and dot-unimarkup args (7dd26e0)
  • add features not enabled by default in clap (c2a3111)
  • add html-standalone flag (b85a859)
  • add ParseFromIr trait bound to UnimarkupBlock (799519c)
  • add template for unimarkup.rs (c61b097)
  • backend: handle fallback fields for heading (3e3b388)
  • change UmParse to only parse() (75695b0)
  • check text line per line to avoid different behavior on different OS (baf67f5)
  • distribute all options to general and outputs (1068440)
  • move to clap_derive (8781d77)
  • move to option<> for optional config fields (67d3c49)
  • parse multiple blank lines correctly (2e5588c)
  • prepare compile method (3f45a47)
  • remove multiple config output options (aac6726)
  • remove Option for flag arguments (7d98fb6)
  • return error when paragraph type not valid (4018ef5)
  • set config as mutable for frontend (b4f16b4)
  • set macro/var definition in UmBlockElements (1588b4d)
  • set output_formats as optional arguments (0abb076)
  • specify macro/variable definition as options (d2ff4b4)
  • type of ContentIrLine in AsIrLines fixed (e72ed38)

Testing

  • add cli test cases for all config fields (7d98fb6)
  • add frontend parsing tests for heading and paragraph (557cee1)
  • add nested multiline heading test (011923a)
  • add test for line number headings (2e5588c)
  • add test um files for parser testing (99a5a29)
  • backend: add basic test for backend::run() (8654ab7)
  • backend: add unit test for Heading rendering (85c6cc5)
  • backend: add unit test for Paragraph (fc74d54)
  • backend: check if html file is created (82bd344)
  • backend: replace hard-coded values with variables (da1881e)
  • backend: test render_html of ParagraphBlock (5b1154d)

unimarkup-rs v0.1.0

19 Nov 12:26
9222dc5
Compare
Choose a tag to compare

Features

  • Add ContentIrLine retrieval from IR (7aab3dd)
  • Add IR setup (8e19e16)
  • Add MacroIrLine retrieval from IR (882094c)
  • Add MetadataIrLine retrieval from IR (946f3b2)
  • Add ResourceIrLine retrieval from IR (b8455fe)
  • add simple logging functionality (1155018)
  • add statement to query all content rows (37fe4d2)
  • Add VariablesIrLine retrieval from Ir (4324bf0)
  • implement Display + Debug for UmError (bd3fd09)
  • implement Display trait for IrError (3ff2c77)
  • implement UmError wrapper for error types (f1a79ed)
  • Implement write_to_ir for IrBlock, IrLines (f425efc)
  • introduce function new for IrError (b002d51)
  • Set table name as trait per IrLine struct (c776235)

Bug Fixes

  • add rusqlite error info in ir setup (93cab60)
  • Change return of entry exists query to i64 (3956a07)
  • Check if values are already in table (b8c1f7d)
  • commit transactions for all middle end tests (d2fc728)
  • Commit transactions for content test (f7e7eae)
  • handle errors for vec to utf8 conversion (bba8729)
  • handle line_nr conversion for OutOfRange (f359be1)
  • remove clippy warnings (2c47494)
  • Update IR entry if already existing (48c7d1e)
  • write_to_ir for IrLines (00aeeca)

CI

  • add workflow for auto-generated changelog (167aed4)

Testing

  • add update and exist tests for all IrLines (1dd584f)
  • Test IR setup (8e19e16)

Documentation

  • add '!' syntax support to commit-msg hook (ddff236)
  • add color to commit-msg output (09e2d48)
  • add commit types from CONTRIBUTING guideline (9c1bab7)
  • add git hook for commit message styles (288a2ae)
  • add help for contributing to unimarkup-rs (e8490f3)
  • add help on usage of provided git hooks (811fc50)
  • change auto-changelog category selection (5d0b109)
  • echo warning when commit is too long (8bd797d)
  • use unimarkup syntax in CONTRIBUTING.md (40e92c5)

Build

  • migrate to Rust 2021 edition (4a23fea)
  • migrate to Rust 2021 edition (019ab07)