Redcarpet is Ruby library for Markdown processing that smells like
butterflies and popcorn.
Redcarpet used to be a drop-in replacement for Redcloth. This is no longer the
case since version 2 -- it now has its own API, but retains the old name. Yes,
that does mean that Redcarpet 2 is not backwards-compatible with the 1.X
versions.
Redcarpet is based on the [Sundown](https://www.github.com/vmg/sundown)
library. You might want to find out more about Sundown to see what makes this
Ruby library so awesome.
=== 1.5.10 / 2013-06-07
* Bugfixes
* (JRuby) Fix "null document" error when parsing an empty IO in jruby 1.7.3. #883
* (JRuby) Fix schema validation when XSD has DOCTYPE set to DTD. #861 (Thanks, Patrick Cheng!)
* (MRI) Fix segfault when there is no default subelement for an HTML node. #917
* Notes
* Use rb_ary_entry instead of RARRAY_PTR (you know, for Rubinius). #877 (Thanks, Dirkjan Bussink!)
* Fix TypeError when running tests. #900 (Thanks, Cédric Boutillier!)
=== 1.5.9 / 2013-03-21
* Bugfixes
* Ensure that prefixed attributes are properly namespaced when reparented. #869
* Fix for inconsistent namespaced attribute access for SVG nested in HTML. #861
* (MRI) Fixed a memory leak in fragment parsing if nodes are not all subsequently reparented. #856
=== 1.5.8 / 2013-03-19
* Bugfixes
* (JRuby) Fix EmptyStackException thrown by elements with xlink:href attributes and no base_uri #534, #805. (Thanks, Patrick Quinn and Brian Hoffman!)
* Fixes duplicate attributes issue introduced in 1.5.7. #865
* Allow use of a prefixed namespace on a root node using Nokogiri::XML::Builder #868
=== 1.5.7 / 2013-03-18
* Features
* Windows support for Ruby 2.0.
* Bugfixes
* SAX::Parser.parse_io throw an error when used with lower case encoding. #828
* (JRuby) Java Nokogiri is finally green (passes all tests) under 1.8 and 1.9 mode. High five everyone. #798, #705
* (JRuby) Nokogiri::XML::Reader broken (as a pull parser) on jruby - reads the whole XML document. #831
* (JRuby) JRuby hangs parsing "&". #837
* (JRuby) JRuby NPE parsing an invalid XML instruction. #838
* (JRuby) Node#content= incompatibility. #839
* (JRuby) to_xhtml doesn't print the last slash for self-closing tags in JRuby. #834
* (JRuby) Adding an EntityReference after a Text node mangles the entity in JRuby. #835
* (JRuby) JRuby version inconsistency: nil for empty attributes. #818
* CSS queries for classes (e.g., ".foo") now treat all whitespace identically. #854
* Namespace behavior cleaned up and made consistent between JRuby and MRI. #846, #801 (Thanks, Michael Klein!)
* (MRI) SAX parser handles empty processing instructions. #845
== 2.7.0 / 2013-08-03 Charlie Savage
* Do not call Ruby code during a GC cycle (Dirkjan Bussink)
* Fix thread error handling (Geoffrey Giesemann)
* Set libxml error handler when a libxml-ruby error handler is set (Geoffrey Giesemann)
* Fix tests for nil TypeErrors (Geoffrey Giesemann)
* Fix segmentation fault for issue #62. The deregisternode function was incorrectly
NULLing out a node's mark and free functions for nodes removed from a document tree (Charlie Savage)
* Cleanup writer code (Charlie Savage)
* Fix equality check of LibXML::XML::Error against other objects (Michał Szajbe)
* Fix XML::Writer.set_quote_char UT, wrong expected string (#63). (julp)
* Fix potential segfault when GC occurs while creating ns from xpath (Timothy Elliott)
* Fix segmentation fault after failing to load external schema (#59). (Clifford Heath)
## 4.0.3
Released May 21, 2013 ([diff](https://github.com/haml/haml/compare/4.0.2...4.0.3)).
* Compatibility with newer versions of Rails's Erubis handler.
* Fix Erubis handler for compatibility with Tilt 1.4.x, too.
* Small performance optimization for html_escape.
(thanks [Lachlan Sylvester](https://github.com/lsylvester))
* Documentation fixes.
* Documented some helper methods that were left out of the reference.
(thanks [Shane Riley](https://github.com/shaneriley))
## 4.0.2
Released April 5, 2013 ([diff](https://github.com/haml/haml/compare/4.0.1...4.0.2)).
* Explicitly require Erubis to work around bug in older versions of Tilt.
* Fix :erb filter printing duplicate content in Rails views.
(thanks [Jori Hardman](https://github.com/jorihardman))
* Replace range with slice to reduce objects created by `capture_haml`.
(thanks [Tieg Zaharia](https://github.com/tiegz))
* Correct/improve some documentation.
## 4.0.1
Released March 21, 2013 ([diff](https://github.com/haml/haml/compare/4.0.0...4.0.1)).
* Remove Rails 3.2.3+ textarea hack in favor of a more general solution.
* Fix some performance regressions.
* Fix support for Rails 4 `text_area` helper method.
* Fix data attribute flattening with singleton objects.
(thanks [Alisdair McDiarmid](https://github.com/alisdair))
* Fix support for sass-rails 4.0 beta.
(thanks [Ryunosuke SATO](https://github.com/tricknotes))
* Load "haml/template" in Railtie in order to prevent user options set in a
Rails initializer from being overwritten
* Don't depend on Rails in haml/template to allow using Haml with ActionView
but without Rails itself. (thanks [Hunter Haydel](https://github.com/wedgex))
Major Enhancements
- tests!
- major refactor
Minor Enhancement
- events generated from full scans may be sorted by mtime or size
- stat information is propagated into the event
## 2.15.5 / July 4 2013
* Fix multistage argument parsing when using the `-s` option. (@jmazzi)
* Tweaks to the asset recipes. (@curtislinden)
* Use quotes around SCM usernames and passwords (@carloslopes)
* Avoid git warning when cloning Git repository using sha1 (@bpaquet)
## 2.15.4 / April 29 2013
* Fix parallel command logging (@gnufied)
* Fix a double-asset manifest problem on Rails upgrades. (@jimryan)
## 2.15.3 / April 25 2012
* For deploy:cleanup, use try_sudo with rm command. (@joshstaiger)
* Restore maintenance.rhtml (@chulkilee)
* Fixes GH-434, If branches is an array of array, iterate them separately. (@gnufied)
A big "thank you" to the people who've pushed really amazing patches to the
2.15.x branch so soon after it's release. 2.15.0 was just too huge to go out
bug free.
## 2.15.2 / April 24 2013
* Fixed a bug with asset_paths (String vs. Array). (@joeycarmello)
## 2.15.1 / April 23 2013
* Support for Rails 4 (and other) randomised asset manifest names. (@jimryan)
## 2.15.0 / April 23 2013
* New varaible :shared_assets_prefix to allow people to host somewhere other
than `/assets/`. Default is `assets`.
* Bring back web:enable and web:disable tasks. Sincerely apologies to all affected
removing these was one of the most glaring mistakes we've made on this project
and I feel personally responsible.
* Makes :git_shallow_clone work with branches (@cannikin)
* Avoid removing required assets (@bosko)
* Fix escaping of asset_paths when calling `deploy:finalize_update` (@mcary)
* Improve parallel command logging (@mpapis)
* Allow updating variables in the cap shell `cap> set :some_setting new_value`
(@jpfuentes2)
* Add the option to configure `Capistrano::Logger.default_formatters=` this
relates to the previous merging of the capistrano-colors gem. (@kellyredding)
* Don't attempt to connect to a nil `:gateway` (@mattheath)
* Simplify our .gemspec dependency list (@timoschilling)
* Make the existece of `config/deploy/{stage}.rb` optional, it'll be loaded if
it exists, otherwise we continue without it (@ymainier)
* Misc spelling/typo fixes. (@mv)
* Update mtime and atime with touch when fixing asset timestamps (@wildoats)
* Change call of `rake {env} precompile:all` to drop the errornous `{env}` (@zxiest)
* Evaluate assets_role at runtime using a lambda (@nlenepveu)
* Handle when hosts (for example by joining/leaving the no_release meta group)
have different old releases for `deploy:cleanup` (@oggy)
* Check for nil when tearing down connections (@yyuu)
* Go back to using SCP for uploads as against SFTP (@pjungwir)
* Added an option to dereference symlinks when using the :copy strategy
(`set :copy_dereference_symlink, true`) useful when your working directory
contains files symlinked in from outside your project root (@mehmetc)
* Small typo fix in README (@yule)
* Add Ruby 2.0.0-p0 to the TravisCI build (@jarrettmeyer)
* Add the option to set the shared asset prefix for Rails,
(`set :shared_assets_prefix, "my_shared_assets"`) corresponds with it's
namesake in Rails. By default is set to `assets`. (@spectator)
* Improved error messages for `cap {stage} deploy:check` (@petems)
* Make `run_locally` work with the `--dry-run` flag. (@flagthisiskun)
* Fix a link in the README to writing a good commit message. (@mhutchin)
* Code style fixes (@mv)
* Report differently if the command was killed by a signal (for example the
oom killer on Ubuntu/Debian). (@tanob)
=== 2.7.0 / 11 Sep 2013
* Fix for 'Could not parse PKey: no start line' error on private keys with
passphrases (issue #101) [metametaclass]
* Automatically forward environment variables defined in OpenSSH config files
[fnordfish]
* Guard against socket.gets being nil in Net::SSH::Proxy::HTTP [krishicks]
* Implemented experimental keepalive feature [noric]
=== 2.6.8 / 6 Jul 2013
* Added support for host wildcard substitution [GabKlein]
* Added a wait to the loop in close to help fix possible blocks [Josh
Kalderimis]
* Fixed test file encoding issues with Ruby 2.0 (#87) [voxik]
3.1.0 May 07 2013
- Add BCrypt::Password.valid_hash?(str) to check if a string is a valid
bcrypt password hash
- BCrypt::Password cost should be set to DEFAULT_COST if nil
- Add BCrypt::Engine.cost attribute for getting/setting a default cost
externally
3.1.1 Jul 10 2013
- Remove support for Ruby 1.8 in compiled win32 binaries
3.1.2 Aug 26 2013
- Add support for Ruby 1.8 and 2.0 (in addition to 1.9) in compiled Windows
binaries
- Add support for 64-bit Windows
=== 4.1.5 / 2013-08-11
* Prevent deprecation warning when loaded in a Rails 4 environment (#58)
=== 4.1.4 / 2013-07-21
* Improve help formatting for multiline program and command descriptions
* Add ability to set speaking rate (@kethomassen)
* Clean up examples in docs (@parkr)
## 1.3.5 (3 April 2013)
Features:
- progress indicator while resolver is running (@chief)
Bugfixes:
- update local overrides with orphaned revisions (@jamesferguson)
- revert to working quoting of RUBYOPT on Windows (@ogra)
- use basic auth even when SSL is not available (@jayniz)
- installing git gems without dependencies in deployment now works
== 1.25 / 2013-08-30
* New Features:
* Adding lazy loading and caching functionality to the default data based on
work done by Greg Brockman (gdb).
* Bugs:
* Force the default internal application encoding to be used when reading the
MIME types database. Based on a change by briangamble, found in the rapid7
fork.
* New extensions:
* mjpeg (video/x-motion-jpeg) based on a change by punkrats, found in the
vidibus fork.
* Modernized MiniTest configuration.
== 1.24 / 2013-08-14
* Code Climate:
* Working on improving the quality of the mime-types codebase through the use
of Code Climate. https://codeclimate.com/github/halostatue/mime-types
* Simplified MIME::Type.from_array to make more assumptions about assignment.
* Documentation:
* LeoYoung <mrleoyoung@gmail.com> pointed out that the README.rdoc contained
examples that could never possibly work because MIME::Types#[] returns (for
all the versions I have handy) an array, not a single type. I have updated
README.rdoc to reflect this.
* Removed Nokogiri as a declared development dependency. It is still required
if you're going to use the IANA parser functionality, but it is not necessary
for most development purposes. This has been removed to ensure that Travis CI
passes on Ruby 1.8.7.
* New MIME Types:
* 7zip (application/x-7z-compressed). Fixes a request by kodram.
https://github.com/halostatue/mime-types/issues/32
* application/x-www-form-urlencoded. Fixes a request by alexkwolfe.
https://github.com/halostatue/mime-types/issues/39
* Various new MIME types from IANA:
* application/mbms-schedule\+xml from 3GPP and Turcotte.
* application/provenance\+xml from W3C and Herman.
* application/session-info from 3GPP and Firmin.
* application/urc-grpsheet\+xml, application/urc-targetdesc\+xml,
application/uisocketdesc\+xml from Zimmermann.
* application/api\+json from Klabnik.
* application/vnd.etsi.pstn\+xml from Han and Belling.
* application/vnd.fujixerox.docuworks.container from Tashiro.
* application/vnd.windows.devicepairing from Dandawate.
* video/vnd.radgamettools.bink and video/vnd.radgamettools.smacker from
Andersson.
* Updated MIME Types:
* RFC 6960 was adopted (application/ocsp-request and application/ocsp-response).
== 1.4.2 / 2013-06-30
Maintenance:
* Modernized Hoe installation of Color, removing some dependencies.
* Switched to Minitest.
* Turned on Travis CI.
* Started using Code Climate.
* Small code formatting cleanup that touched pretty much every file.