Skip to content

Commit bb3678d

Browse files
committed
Bump to 0.31.1, update changelog and man page.
1 parent ec14cd9 commit bb3678d

File tree

3 files changed

+88
-2
lines changed

3 files changed

+88
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ endif()
99

1010
project(cmark
1111
LANGUAGES C CXX
12-
VERSION 0.31.0)
12+
VERSION 0.31.1)
1313

1414
if(CMAKE_BUILD_TYPE STREQUAL Asan)
1515
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/modules)

changelog.txt

+86
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,89 @@
1+
[0.31.1]
2+
3+
* Flag root node as open in `cmark_parser_new_with_mem_into_root` (#532).
4+
5+
* Remove `source`, add `search` to list of block tags
6+
(a spec 0.31 change we forgot in last release).
7+
8+
* Accept lowercase inline HTML declarations (Michael Howell).
9+
10+
* Remove unused functions (Nick Wellnhofer).
11+
12+
* utf8:
13+
14+
+ Fix encoding of U+FFFE and U+FFFF (#548, Nick Wellnhofer).
15+
+ Rework case folding (Nick Wellnhofer). Using a table and binary
16+
search instead of a generated switch statement significantly
17+
reduces the size of the compiled code.
18+
19+
* houdini:
20+
21+
+ Rename `houdini_escape_html0` -> `houdini_escape_html` (#536).
22+
+ Rework HTML entity table (Nick Wellnhofer).
23+
The new layout saves about 20 KB and removes 50 KB of relocation
24+
entries from the shared library, also speeding up loading.
25+
26+
* cmake:
27+
28+
+ Tell cmake to set `rpath` so the installed `cmark` can find
29+
`libcmark.so` (Michael Witten).
30+
+ Remove unnecessary enabling of target property: MACOSX_RPATH
31+
(Michael Witten).
32+
+ Fix build type checks (Nick Wellnhofer). Make the libFuzzer
33+
target use the Asan build type again.
34+
35+
* Makefile:
36+
37+
+ Fix `libFuzzer` target (Nick Wellnhofer).
38+
+ Use `ctest` and `--output-on-failure` in `test` target.
39+
+ `make debug` should build a shared library (Nick Wellnhofer).
40+
The full test suite is only available to a shared library build.
41+
42+
* wrappers:
43+
44+
+ Fix memory leak in Ruby wrapper (Nick Wellnhofer).
45+
Free the string returned from `cmark_markdown_to_html`.
46+
Fix `cmark_markdown_to_html` argument types.
47+
+ Fix memory leak in Python wrapper (Nick Wellnhofer).
48+
Free the string returned from cmark_markdown_to_html.
49+
Fix cmark_markdown_to_html argument types.
50+
+ Convert to and from UTF-8 under Python 2.
51+
+ Add PHP wraper (Vinicius Dias).
52+
53+
* ci:
54+
55+
+ Test with ASan and rework CI matrix (Nick Wellnhofer).
56+
+ Remove the valgrind leakcheck test. This should be covered now
57+
by testing with LeakSanitizer on static builds, including tests
58+
like spectest_executable. The full test suite is only available
59+
to shared library builds which have to run without leak checks
60+
for now.
61+
+ Separate cflags from cc (Nick Wellnhofer).
62+
+ Make CMake matrix options work (Nick Wellnhofer).
63+
CMAKE_OPTIONS had no effect, leading to the shared library not being
64+
tested. Invoke cmake directly, so we don't have to deal with the mess
65+
in Makefile.
66+
+ Do debug build so that assertions will run (#532).
67+
+ Use `-gdwarf-4` with clang for compatibility with valgrind (#532).
68+
69+
* test:
70+
71+
+ Fix memory leaks in cmark.py (Nick Wellnhofer).
72+
Free results of libcmark API function calls.
73+
+ Fix memory leaks in api_test (Nick Wellnhofer).
74+
+ Simplify test execution environment handling (Saleem Abdulrasool).
75+
Use generator expressions to compute the new path and avoid
76+
translations. This reduces complexity in the build and allows for a
77+
different build layout.
78+
79+
* fuzz: Test more parser entry points (Nick Wellnhofer).
80+
81+
* Remove superfluous definitions from scanners.re.
82+
83+
* re2c: Disable UTF-8 (Nick Wellnhofer). The regexes don't require UTF-8
84+
features and work in ASCII mode as well. Disabling UTF-8 reduces the
85+
size of the code generated by re2c.
86+
187
[0.31.0]
288

389
* Update to 0.31.2 spec.txt.

man/man3/cmark.3

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH cmark 3 "January 28, 2024" "cmark 0.31.0" "Library Functions Manual"
1+
.TH cmark 3 "August 03, 2024" "cmark 0.31.1" "Library Functions Manual"
22
.SH
33
NAME
44
.PP

0 commit comments

Comments
 (0)