Skip to content

Commit 7c6e32f

Browse files
authored
Merge pull request #46 from progsource/version-1.2.1
chore: update version to 1.2.1
2 parents 09229aa + 231785f commit 7c6e32f

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ maddy uses [semver versioning](https://semver.org/).
1414

1515
## Upcoming
1616

17-
* ![**FIXED**](https://img.shields.io/badge/-FIXED-%23090) Parser.h version() method clashing with VERSION defines at global scope
17+
* ?
18+
19+
## version 1.2.1 2023-08-06
20+
21+
* ![**FIXED**](https://img.shields.io/badge/-FIXED-%23090) Parser.h version() method clashing with VERSION defines at global scope
1822

1923
## version 1.2.0 2023-07-27
2024

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# maddy
22

33
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4-
[![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-brightgreen.svg)](https://semver.org/)
4+
[![Version: 1.2.1](https://img.shields.io/badge/Version-1.2.1-brightgreen.svg)](https://semver.org/)
55

66
maddy is a C++ Markdown to HTML **header-only** parser library.
77

include/maddy/parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Parser
5757
* Check https://github.com/progsource/maddy/blob/master/CHANGELOG.md
5858
* for the changelog.
5959
*/
60-
static const std::string version() { static const std::string v = "1.2.0"; return v; }
60+
static const std::string& version() { static const std::string v = "1.2.1"; return v; }
6161

6262
/**
6363
* ctor

include/maddy/parserconfig.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,15 @@ struct ParserConfig
5858
{
5959
/**
6060
* @deprecated will be removed in 1.4.0 latest
61+
*
62+
* this flag = false == `enabledParsers &= ~maddy::types::EMPHASIZED_PARSER`
6163
*/
6264
bool isEmphasizedParserEnabled;
6365

6466
/**
6567
* @deprecated will be removed in 1.4.0 latest
68+
*
69+
* this flag = false == `enabledParsers |= maddy::types::HTML_PARSER`
6670
*/
6771
bool isHTMLWrappedInParagraph;
6872

0 commit comments

Comments
 (0)