<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[RollingVersions - Medium]]></title>
        <description><![CDATA[Add change sets to pull requests. Automatically release with change logs. - Medium]]></description>
        <link>https://medium.com/rollingversions?source=rss----51713ff995f6---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>RollingVersions - Medium</title>
            <link>https://medium.com/rollingversions?source=rss----51713ff995f6---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 11:44:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/rollingversions" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Pug 3.0.0]]></title>
            <link>https://medium.com/rollingversions/pug-3-0-0-2897d6dec294?source=rss----51713ff995f6---4</link>
            <guid isPermaLink="false">https://medium.com/p/2897d6dec294</guid>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[npm]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Forbes Lindesay]]></dc:creator>
            <pubDate>Tue, 26 May 2020 17:39:23 GMT</pubDate>
            <atom:updated>2020-05-27T17:43:22.082Z</atom:updated>
            <content:encoded><![CDATA[<p>This week I released pug 3.0.0. This release brings a few really exciting new features, as well as a couple of small breaking changes. I also took this opportunity to update the supported versions of node.js to match the <a href="https://github.com/nodejs/Release">official LTS versions</a>. The breaking changes are minimal, and should not impact most users. The highlights include:</p><ul><li>The new each … of … syntax lets you iterate over Maps and Sets as well as Arrays, and is more efficient than the each … in … syntax. Don’t worry though, the old syntax is still there, and you do not have to do anything to update if you don’t want to.</li><li>You can now write filters that operate on binary data (e.g. images). This means you can import an image, apply a filter, and output an optimised &lt;img/&gt; tag with the image data inlined as a base64 string. This can improve page load times, and make your web app easier to deploy.</li></ul><p>You can check out the <a href="https://github.com/pugjs/pug/releases/tag/pug%403.0.0">full release notes on GitHub</a> to see examples for these features, as well as a list of the (minimal) breaking changes.</p><p><strong>Rolling Versions</strong></p><p>Ever since I merged Pug’s many separate packages into a <a href="https://en.wikipedia.org/wiki/Monorepo">“mono repo”</a>, I was frustrated by how difficult it was to do a release. There is a lot that I like about Lerna (the tool I was using to manage this mono repo), but releases were extremely error prone, and involved a lot of nail-bitingly tense work to review the commits and decide what version each package should be released as.</p><p>The issue here is the loss of context. I wanted to be able to create and manage the release notes and versioning along with the pull requests that contain the features and bug fixes. A colleague at Threads Styling introduced me to semantic-release, which we now use extensively. It lets you generate release notes and automate the release process of a single npm package, based on the commit messages. I’ve really enjoyed using semantic release, but unfortunately I encountered a few limitations:</p><ol><li>Semantic release does not work for mono repos (this was a deal breaker for pug).</li><li>Semantic release requires precisely formatted commit messages. This resulted in some mistakes where releases had the wrong version, or commits did not trigger a release when they should have.</li><li>Semantic release only allows one feature/bug fix/breaking change per commit. This doesn’t work well with how I like to handle pull requests.</li></ol><p>For a long time, I’ve felt that the solution to this problem is to attach change logs directly to the pull requests, rather than the commits. For the past 6 months, I’ve been working on creating a solution that does exactly that. Rolling Versions provides a simple user interface to allow you to attach change logs to specific packages in a pull request. It then provides a CLI to publish your packages, which you can run on your continuous integration service (in this case GitHub Actions).</p><p>It’s taken a long time to get to this point, but it did finally allow me to release a new version of pug with confidence, and I expect it to enable more frequent releases in the future.</p><p>Although I still have a lot of improvements I want to make to Rolling Versions over the coming months, the beta version is now ready for you to <a href="https://rollingversions.com/help/github-actions">use on your projects</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Facl68o%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2Facl68o&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/92ec74524e185d4cbb9eb579768fccbf/href">https://medium.com/media/92ec74524e185d4cbb9eb579768fccbf/href</a></iframe><figure><img alt="The logo for pug, a slightly sad looking cartoon dog wearing a red collar with a pendant in the shape of a bone." src="https://cdn-images-1.medium.com/max/512/1*KaW_j84JIjGpJ6lUKxfZcQ.png" /><figcaption>Pug Logo</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2897d6dec294" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rollingversions/pug-3-0-0-2897d6dec294">Pug 3.0.0</a> was originally published in <a href="https://medium.com/rollingversions">RollingVersions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>