pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/ruby-commonmarker
Module Name: pkgsrc
Committed By: taca
Date: Mon Nov 30 15:55:51 UTC 2026
Modified Files:
pkgsrc/textproc/ruby-commonmarker: Makefile PLIST cargo-depends.mk
distinfo
Log Message:
textproc/ruby-commonmarker: update to 3.0.0
3.0.0 (2026-11-29)
BREAKING CHANGES
Upgrading from 2.x: Read the Commonmarker 3.0 upgrade guide for the complete
defaults table and a copy-paste configuration that restores 2.x output.
* Default rendering is now plain CommonMark. GFM extensions, heading IDs,
hard line breaks, 80-column CommonMark wrapping, emoji shortcodes, and
syntax highlighting are no longer enabled by default. Enable syntax
highlighting with plugins: { syntax_highlighter: {} }. (#501)
* Commonmarker is now a class. Commonmarker.to_html, Commonmarker.parse,
and Commonmarker::Node#to_html continue to work. Replace module
Commonmarker with class Commonmarker; include Commonmarker and extend
Commonmarker are no longer supported. (#499)
* alert_style and list_style require Symbols. Use :specific or :semantic,
and :dash, :plus, or :star. (#500)
* Ruby configuration internals were removed.
Commonmarker::Config.process_options,
Commonmarker::Config.process_plugins, Commonmarker::Utils,
Commonmarker::Constants, and Commonmarker::Config::OPTIONS[:format] are
gone. (#420)
* Rendered output may differ in edge cases because Commonmarker now uses
comrak 1.2. Applications with HTML snapshots should review comrak's
changelog. Building Commonmarker from source now requires Rust 1.89 or
newer. (#495)
* Syntax highlighters are cached by theme and path for the life of the
process. Restart the process after changing custom theme files. (#499)
Features
* Use comrak's defaults for options and plugins (#501)
* Require Symbols for alert_style and list_style (#500)
* Add Commonmarker.new and cache syntax highlighters (#499)
* Support comrak's attribute blocks (#498)
* Add the comrak 1.x node types to Node (#497)
* move all options management to Rust-side (#420)
* Upgrade to comrak 1.2.0 (#495)
Bug Fixes
* raise rescuable error for malformed option keys instead of panicking
(#505)
* raise ArgumentError for unknown Node type instead of panicking (#506)
* enforce max_nesting_depth when rendering a Node (#507)
* raise ArgumentError for invalid list_type= and alert_type= values (#508)
* prevent stack overflow in Node#inspect on deeply nested trees (#503)
Performance Improvements
* Reduce small-file rendering overhead (#502)
Miscellaneous Chores
* remove the dead Commonmarker::Renderer class (#509)
* dedup option validation with an opt! macro (#510)
* remove duplicate .gitignore entries (#511)
* Bump magnus from 0.9.3 to 0.9.4 (#493)
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/ruby-commonmarker/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/ruby-commonmarker/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/ruby-commonmarker/cargo-depends.mk
cvs rdiff -u -r1.15 -r1.16 pkgsrc/textproc/ruby-commonmarker/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/ruby-commonmarker/Makefile
diff -u pkgsrc/textproc/ruby-commonmarker/Makefile:1.19 pkgsrc/textproc/ruby-commonmarker/Makefile:1.20
--- pkgsrc/textproc/ruby-commonmarker/Makefile:1.19 Wed Nov 11 11:56:00 2026
+++ pkgsrc/textproc/ruby-commonmarker/Makefile Mon Nov 30 15:55:51 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2026/11/11 11:56:00 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2026/11/30 15:55:51 taca Exp $
-DISTNAME= commonmarker-2.10.1
-PKGREVISION= 1
+DISTNAME= commonmarker-3.0.0
CATEGORIES= textproc
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/textproc/ruby-commonmarker/PLIST
diff -u pkgsrc/textproc/ruby-commonmarker/PLIST:1.4 pkgsrc/textproc/ruby-commonmarker/PLIST:1.5
--- pkgsrc/textproc/ruby-commonmarker/PLIST:1.4 Sat Nov 7 14:57:19 2026
+++ pkgsrc/textproc/ruby-commonmarker/PLIST Mon Nov 30 15:55:51 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2026/11/07 14:57:19 taca Exp $
+@comment $NetBSD: PLIST,v 1.5 2026/11/30 15:55:51 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_EXTSDIR}/commonmarker/commonmarker.${RUBY_DLEXT}
${GEM_EXTSDIR}/gem.build_complete
@@ -6,6 +6,7 @@ ${GEM_LIBDIR}/Cargo.lock
${GEM_LIBDIR}/Cargo.toml
${GEM_LIBDIR}/LICENSE.txt
${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/UPGRADING.md
${GEM_LIBDIR}/ext/commonmarker/Cargo.toml
${GEM_LIBDIR}/ext/commonmarker/build.rs
${GEM_LIBDIR}/ext/commonmarker/extconf.rb
@@ -19,14 +20,10 @@ ${GEM_LIBDIR}/ext/commonmarker/src/rctre
${GEM_LIBDIR}/ext/commonmarker/src/utils.rs
${GEM_LIBDIR}/lib/commonmarker.rb
${GEM_LIBDIR}/lib/commonmarker/commonmarker.${RUBY_DLEXT}
-${GEM_LIBDIR}/lib/commonmarker/config.rb
-${GEM_LIBDIR}/lib/commonmarker/constants.rb
${GEM_LIBDIR}/lib/commonmarker/errors.rb
${GEM_LIBDIR}/lib/commonmarker/extension.rb
${GEM_LIBDIR}/lib/commonmarker/node.rb
${GEM_LIBDIR}/lib/commonmarker/node/ast.rb
${GEM_LIBDIR}/lib/commonmarker/node/inspect.rb
-${GEM_LIBDIR}/lib/commonmarker/renderer.rb
-${GEM_LIBDIR}/lib/commonmarker/utils.rb
${GEM_LIBDIR}/lib/commonmarker/version.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/textproc/ruby-commonmarker/cargo-depends.mk
diff -u pkgsrc/textproc/ruby-commonmarker/cargo-depends.mk:1.8 pkgsrc/textproc/ruby-commonmarker/cargo-depends.mk:1.9
--- pkgsrc/textproc/ruby-commonmarker/cargo-depends.mk:1.8 Sat Nov 7 14:57:19 2026
+++ pkgsrc/textproc/ruby-commonmarker/cargo-depends.mk Mon Nov 30 15:55:51 2026
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.8 2026/11/07 14:57:19 taca Exp $
+# $NetBSD: cargo-depends.mk,v 1.9 2026/11/30 15:55:51 taca Exp $
CARGO_CRATE_DEPENDS+= adler2-2.0.1
CARGO_CRATE_DEPENDS+= aho-corasick-1.1.4
@@ -13,7 +13,7 @@ CARGO_CRATE_DEPENDS+= cc-1.2.67
CARGO_CRATE_DEPENDS+= cexpr-0.6.0
CARGO_CRATE_DEPENDS+= cfg-if-1.0.4
CARGO_CRATE_DEPENDS+= clang-sys-1.8.1
-CARGO_CRATE_DEPENDS+= comrak-0.56.0
+CARGO_CRATE_DEPENDS+= comrak-1.2.0
CARGO_CRATE_DEPENDS+= crc32fast-1.5.0
CARGO_CRATE_DEPENDS+= deranged-0.5.8
CARGO_CRATE_DEPENDS+= either-1.16.0
@@ -37,7 +37,7 @@ CARGO_CRATE_DEPENDS+= lazy_static-1.5.0
CARGO_CRATE_DEPENDS+= libc-0.2.186
CARGO_CRATE_DEPENDS+= libloading-0.8.9
CARGO_CRATE_DEPENDS+= linked-hash-map-0.5.6
-CARGO_CRATE_DEPENDS+= magnus-0.9.3
+CARGO_CRATE_DEPENDS+= magnus-0.9.4
CARGO_CRATE_DEPENDS+= magnus-macros-0.9.1
CARGO_CRATE_DEPENDS+= memchr-2.8.3
CARGO_CRATE_DEPENDS+= memchr-n-0.1.9
Index: pkgsrc/textproc/ruby-commonmarker/distinfo
diff -u pkgsrc/textproc/ruby-commonmarker/distinfo:1.15 pkgsrc/textproc/ruby-commonmarker/distinfo:1.16
--- pkgsrc/textproc/ruby-commonmarker/distinfo:1.15 Sat Nov 7 14:57:19 2026
+++ pkgsrc/textproc/ruby-commonmarker/distinfo Mon Nov 30 15:55:51 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2026/11/07 14:57:19 taca Exp $
+$NetBSD: distinfo,v 1.16 2026/11/30 15:55:51 taca Exp $
BLAKE2s (adler2-2.0.1.crate) = 4d391e0fcde91c7435ee9a5503fee4a5346f549f1b45e482ce3e1e151d90f8f5
SHA512 (adler2-2.0.1.crate) = 555b2b7ba6f8116acccd0bcd16ed34cc78162c81023cff31a8566ffcd456c03832089fca2d5b668ceaac4fe8f922d31aa9c487f226a36cace294ff4a219bd91d
@@ -39,12 +39,12 @@ Size (cfg-if-1.0.4.crate) = 9360 bytes
BLAKE2s (clang-sys-1.8.1.crate) = 214b14004732417ef813d486fe0fa6200e5abbfabb1dcda4ce723f6583911648
SHA512 (clang-sys-1.8.1.crate) = a68c426c20110fddb8bba07d6631517b0528fad45802e5a34a22561d7e6dad82dc5001387019a03f275e9a671b09ee0a06b6e86793c4fb4ec655700bb0f5e125
Size (clang-sys-1.8.1.crate) = 44009 bytes
-BLAKE2s (commonmarker-2.10.1.gem) = 86adab5f75ded415545a31b42408e43546aed8b8f7a41020ff11b3be280b20f0
-SHA512 (commonmarker-2.10.1.gem) = e0625a0426a11e38692290f460632d25b28e3f4fe40c9b81fecd1d75b43cdfa07eefd687b49274494ec72475edd71a9fea88249f7829e54f8d5b1be7e1c395ee
-Size (commonmarker-2.10.1.gem) = 41984 bytes
-BLAKE2s (comrak-0.56.0.crate) = 9b59b3f1aace25d8fec3d62520db8fb4e7d0f4551380b7f85363e234445c9983
-SHA512 (comrak-0.56.0.crate) = cbeb2cf2d5932f4699595ccb08603355c95ef4e634ac6724a8e0fb641cbf9d36b9e4474c59815968c299fb51543103b7f70ac1008423088a087421dc812f6e75
-Size (comrak-0.56.0.crate) = 277113 bytes
+BLAKE2s (commonmarker-3.0.0.gem) = a89a8a69e5d63bc400794a6e377f5531764412dcd100d07cc7c36c71ba83a9c2
+SHA512 (commonmarker-3.0.0.gem) = 97e819134b5f52da86618cd9bdb3f9c5bb8f75c08a504f4d4decdb3ac43344c7cdd606dc025073e53893778682db9993a31ec8c987b17bea34128a351d59b4e2
+Size (commonmarker-3.0.0.gem) = 53760 bytes
+BLAKE2s (comrak-1.2.0.crate) = 062b8ef3a75e7257fb53f0eb991ad4885626125ef4770861027ccae173f9ed94
+SHA512 (comrak-1.2.0.crate) = 95eec7c6cc03ad17cf7abac45788200d3245da78f312f7847e9649e2b9c84dd2b2c79cb0ebbe8708264bc81ad974709fcbc2dd3d2695cd89f45d47742016ee12
+Size (comrak-1.2.0.crate) = 403745 bytes
BLAKE2s (crc32fast-1.5.0.crate) = 6e59f675b6404c35e422facb545e38c3e519f2a1268066914b7111ffc2ed6409
SHA512 (crc32fast-1.5.0.crate) = 80d473960f004148e14e5fe2f23aa0d1b8c36e96237f49a6765ef713030e8326dbc0250a561afcfc49d8733f5a6d4f9f4677451cc13e2426ffed61f8c00cd81e
Size (crc32fast-1.5.0.crate) = 40723 bytes
@@ -114,9 +114,9 @@ Size (libloading-0.8.9.crate) = 30222 by
BLAKE2s (linked-hash-map-0.5.6.crate) = 06eec16c1a2dd3fc12933a669b9ddc465cceeb3845eb15197228e0d319366ce3
SHA512 (linked-hash-map-0.5.6.crate) = 031a87645381c96beff33572e4bac1a9877e52fd2f99d39918fbede17d72291b35e2eb69e07edec20c3058554c35cc38fe85b8f175c2a3c69366136fcc71f707
Size (linked-hash-map-0.5.6.crate) = 15049 bytes
-BLAKE2s (magnus-0.9.3.crate) = 575037fa02bd70e1d10ef343a327fc794b98c93cccb9bc3b9576ec4f90fba1ab
-SHA512 (magnus-0.9.3.crate) = 0929b5704982862e5e25aacc60004d778d2c851850c7d7740d75cd15dda2888bd3e4a655a8da5bb4c7532aa7a0deb2ebf3414965d57ae0d78580c52e53c53700
-Size (magnus-0.9.3.crate) = 216491 bytes
+BLAKE2s (magnus-0.9.4.crate) = 82246495b64d518c8d13b090c1fd8879dd52cce4f544bff5de7d63e410201ea8
+SHA512 (magnus-0.9.4.crate) = 031dc631907d73c1979376444fe0b37865d9be94bff5f0c8ed179dcdff724654056083f0e070419b33495559ec42e07fdb0550c74b9197d719427c6a2de2b869
+Size (magnus-0.9.4.crate) = 216778 bytes
BLAKE2s (magnus-macros-0.9.1.crate) = e66c224ea4bf189fa1971d420f879e5ae2af0e80082a3e5c1871c5979ba57aa2
SHA512 (magnus-macros-0.9.1.crate) = 924994e74486af27b51e83506a3314c705fab888b1521bd91b05e05b5be1f60bb4bfa3e5471834ee0bb916bb9881c6dcf1704d7eece6371b55fa698a91a0e469
Size (magnus-macros-0.9.1.crate) = 8198 bytes
Home |
Main Index |
Thread Index |
Old Index