diff --git a/.travis.yml b/.travis.yml index 941c0dd..ef2c6ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,8 +11,8 @@ before_install: - echo 'yes' | sudo add-apt-repository ppa:kalakris/cmake - sudo apt-get update -qq - sudo apt-get install -qq cmake - - curl -L https://github.com/jgm/cmark/archive/0.18.3.tar.gz | tar xz - - (cd cmark-0.18.3 && make && sudo make install && sudo ldconfig) + - curl -L https://github.com/jgm/cmark/archive/0.21.0.tar.gz | tar xz + - (cd cmark-0.21.0 && make && sudo make install && sudo ldconfig) - | helper_dir="$(mktemp -d -t travis-perl-helpers-XXXXXX)" git clone git://github.com/nwellnhof/travis-perl-helpers "$helper_dir" diff --git a/Changes b/Changes index 461b0b4..a4a3e41 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Revision history for Perl module CommonMark +0.210000 2015-07-27 + - Require libcmark 0.21.0 + - Adjust for libcmark API changes + - Add support for Latex renderer + 0.180300 2015-04-02 - Require libcmark 0.18.3 - Add options parameter to markdown_to_html diff --git a/CommonMark.xs b/CommonMark.xs index bf7f914..1b7f180 100644 --- a/CommonMark.xs +++ b/CommonMark.xs @@ -22,8 +22,8 @@ #include #include -#if CMARK_VERSION < 0x001203 - #error libcmark 0.18.3 is required. +#if CMARK_VERSION < 0x001500 + #error libcmark 0.21.0 is required. #endif #if PERL_VERSION <= 14 diff --git a/README.pod b/README.pod index 7ef722b..eb4b959 100644 --- a/README.pod +++ b/README.pod @@ -13,17 +13,16 @@ library. =head2 Installation of libcmark Please note that the I API isn't stable yet. This version of the -Perl bindings is known to work with versions -L<0.18.3|https://github.com/jgm/cmark/releases/tag/0.18.3> through -L<0.20.0|https://github.com/jgm/cmark/releases/tag/0.20.0>. But +Perl bindings is known to work with version +L<0.21.0|https://github.com/jgm/cmark/releases/tag/0.21.0>. But there's no guarantee that it can be compiled with later versions. Also note that upgrading libcmark may require recompilation of the Perl module. For the time being, the version of the Perl bindings is kept in sync with the lowest supported I version. - curl -LJO https://github.com/jgm/cmark/archive/0.18.3.tar.gz - tar xzf cmark-0.18.3.tar.gz - cd cmark-0.18.3 + curl -LJO https://github.com/jgm/cmark/archive/0.21.0.tar.gz + tar xzf cmark-0.21.0.tar.gz + cd cmark-0.21.0 make [INSTALL_PREFIX=/prefix] make test make install diff --git a/dist.ini b/dist.ini index c2bec83..50001b3 100644 --- a/dist.ini +++ b/dist.ini @@ -1,6 +1,6 @@ name = CommonMark abstract = Interface to the CommonMark C library -version = 0.180300 +version = 0.210000 author = Nick Wellnhofer license = Perl_5 copyright_holder = Nick Wellnhofer diff --git a/lib/CommonMark.pm b/lib/CommonMark.pm index 87efdc2..bcd9afb 100644 --- a/lib/CommonMark.pm +++ b/lib/CommonMark.pm @@ -5,7 +5,7 @@ use warnings; use XSLoader; -our $VERSION = '0.180300'; +our $VERSION = '0.210000'; XSLoader::load('CommonMark', $VERSION); use constant {