-
-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 2.0 #179
Release 2.0 #179
Changes from 3 commits
ac32cb3
c3bca15
48c1cf7
8613a4d
8777831
4429958
d5af0f5
a69d1a9
7a779ae
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,24 @@ | ||
# CHANGELOG | ||
|
||
## 1.12.0 | ||
|
||
**New** | ||
|
||
* Implement new EmojiFilter context option: ignored_ancestor_tags to accept more ignored tags. [#170](https://github.com/jch/html-pipeline/pull/170) @JuanitoFatas | ||
* Add GitHub flavor Markdown Task List extension [#162](https://github.com/jch/html-pipeline/pull/162) @simeonwillbanks | ||
* @mention allow for custom regex to identify usernames. [#157](https://github.com/jch/html-pipeline/pull/157) @brittballard | ||
|
||
**Changes** | ||
* Restrict nokogiri to >= 1.4, <= 1.6.5 [#176](https://github.com/jch/html-pipeline/pull/176) @simeonwillbanks | ||
* MentionFilter#link_to_mentioned_user: Replace String introspection with Regexp match [#172](https://github.com/jch/html-pipeline/pull/172) @simeonwillbanks | ||
* Whitelist summary and details element. [#171](https://github.com/jch/html-pipeline/pull/171) @JuanitoFatas | ||
* Support ~login for MentionFilter. [#167](https://github.com/jch/html-pipeline/pull/167) @JuanitoFatas | ||
* Revert "Search for text nodes on DocumentFragments without root tags" [#158](https://github.com/jch/html-pipeline/pull/158) @jch | ||
* Drop support for ruby ree, 1.9.2 [#156](https://github.com/jch/html-pipeline/pull/156) @jch | ||
* Skip EmojiFilter in <tt> tags [#147](https://github.com/jch/html-pipeline/pull/147) @moskvax | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 thanks, good catch. Fixed in 8777831 |
||
* Use Linguist lexers [#153](https://github.com/jch/html-pipeline/pull/153) @pchaigno | ||
* Constrain active support >= 2, < 5 [#180](https://github.com/jch/html-pipeline/pull/180) @jch | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. s/active support/Active Support? 😄 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in 8613a4d |
||
|
||
## 1.11.0 | ||
|
||
* Search for text nodes on DocumentFragments without root tags #146 Razer6 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module HTML | ||
class Pipeline | ||
VERSION = "1.11.0" | ||
VERSION = "1.12.0" | ||
end | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/usr/bin/env sh | ||
# Usage: script/changelog [-r <repo>] [-b <base>] [-h <head>] | ||
# | ||
# repo: base string of GitHub repository url. e.g. "user_or_org/repository". Defaults to git remote url. | ||
# base: git ref to compare from. e.g. "v1.3.1". Defaults to latest git tag. | ||
# head: git ref to compare to. Defaults to "HEAD". | ||
# | ||
# Generate a changelog preview from pull requests merged between `base` and | ||
# `head`. | ||
# | ||
# https://github.com/jch/release-scripts | ||
set -e | ||
|
||
[ $# -eq 0 ] && set -- --help | ||
|
||
# parse args | ||
repo='jch/html-pipeline' | ||
base=$(git tag -l | sort -t. -k 1,1n -k 2,2n -k 3,3n | tail -n 1) | ||
head="HEAD" | ||
api_url="https://api.github.com" | ||
|
||
echo "# $repo $base..$head" | ||
echo | ||
|
||
# get merged PR's. Better way is to query the API for these, but this is easier | ||
for pr in $(git log --oneline $base..$head | grep "Merge pull request" | awk '{gsub("#",""); print $5}') | ||
do | ||
# frustrated with trying to pull out the right values, fell back to ruby | ||
curl -s "$api_url/repos/$repo/pulls/$pr" | ruby -rjson -e 'pr=JSON.parse(STDIN.read); puts "* #{pr[%q(title)]} [##{pr[%q(number)]}](#{pr[%q(html_url)]}) @#{pr[%q(user)][%q(login)]}"' | ||
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a major version bump for dropping support of Ruby version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also 1.9.3 is officially EOL yesterday.
https://www.ruby-lang.org/en/news/2015/02/23/support-for-ruby-1-9-3-has-ended/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I was talking with @simeonwillbanks about this yesterday. Made me realize that several things targeting 2.0 were already merged: https://github.com/jch/html-pipeline/pulls?q=is%3Apr+milestone%3A2.0+is%3Aclosed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are going to bump version to 2.0 👏 , let's drop Ruby 1.9.3 👋 ? https://github.com/jch/html-pipeline/blob/master/.travis.yml#L10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 dropping 1.9.3 support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 7a779ae