CHANGELOG.md
34.2 KB
Prism Changelog
1.3.0 (2015-10-26)
New components
- AsciiDoc (#800) [<code>6803ca0</code>]
- Haxe (#811) [<code>bd44341</code>]
- Icon (#803) [<code>b43c5f3</code>]
- __Kotlin (#814) [<code>e8a31a5</code>]
- Lua (#804) [<code>a36bc4a</code>]
- Nix (#795) [<code>9b275c8</code>]
- Oz (#805) [<code>388c53f</code>]
- PARI/GP (#802) [<code>253c035</code>]
- Parser (#808) [<code>a953b3a</code>]
- Puppet (#813) [<code>81933ee</code>]
- Roboconf (#812) [<code>f5db346</code>]
Updated components
- C:
- Highlight directives in preprocessor lines (#801) [<code>ad316a3</code>]
- C#:
- Highlight directives in preprocessor lines (#801) [<code>ad316a3</code>]
- Fix detection of float numbers (#806) [<code>1dae72b</code>]
- F#:
- Highlight directives in preprocessor lines (#801) [<code>ad316a3</code>]
- JavaScript:
- Highlight true and false as booleans (#801) [<code>ad316a3</code>]
- Python:
- Highlight triple-quoted strings before comments. Fix #815 [<code>90fbf0b</code>]
New plugins
- Previewer: Time (#790) [<code>88173de</code>]
- Previewer: Angle (#791) [<code>a434c86</code>]
Other changes
- Increase mocha's timeout [<code>f1c41db</code>]
- Prevent most errors in IE8. Fix #9 [<code>9652d75</code>]
- Add U.S. Web Design Standards on homepage. Fix #785 [<code>e10d48b</code>, <code>79ebbf8</code>, <code>2f7088d</code>]
- Added gulp task to autolink PRs and commits in changelog [<code>5ec4e4d</code>]
- Use child processes to run each set of tests, in order to deal with the memory leak in vm.runInNewContext() [<code>9a4b6fa</code>]
1.2.0 (2015-10-07)
New components
- Batch (#781) [<code>eab5b06</code>]
Updated components
- ASP.NET:
- Simplified pattern for
<script>
[<code>29643f4</code>]
- Simplified pattern for
- Bash:
- Fix regression in strings (#792) [<code>bd275c2</code>]
- Substantially reduce wrongly highlighted stuff (#793) [<code>ac6fe2e</code>]
- CSS:
- Simplified pattern for
<style>
[<code>29643f4</code>]
- Simplified pattern for
- JavaScript:
- Simplified pattern for
<script>
[<code>29643f4</code>]
- Simplified pattern for
New plugins
- Previewer: Gradient (#783) [<code>9a63483</code>]
Updated plugins
Previewer: Color
- Add support for Sass variables [<code>3a1fb04</code>]
Previewer: Easing
- Add support for Sass variables [<code>7c7ab4e</code>]
Other changes
- Test runner: Allow to run tests for only some languages [<code>5ade8a5</code>]
- Download page: Fixed wrong components order raising error in generated file (#797) [<code>7a6aed8</code>]
1.1.0 (2015-10-04)
New components
- ABAP (#636) [<code>75b0328</code>, <code>0749129</code>]
- APL (#308) [<code>1f45942</code>, <code>33a295f</code>]
- AutoIt (#771) [<code>211a41c</code>]
- BASIC (#620) [<code>805a0ce</code>]
- Bison (#764) [<code>7feb135</code>]
- Crystal (#780) [<code>5b473de</code>, <code>414848d</code>]
- D (#613) [<code>b5e741c</code>]
- Diff (#450) [<code>ef41c74</code>]
- Docker (#576) [<code>e808352</code>]
- Elixir (#614) [<code>a1c028c</code>, <code>c451611</code>, <code>2e637f0</code>, <code>ccb6566</code>]
- GLSL (#615) [<code>247da05</code>]
- Inform 7 (#616) [<code>d2595b4</code>]
- J (#623) [<code>0cc50b2</code>]
- MEL (#618) [<code>8496c14</code>]
- Mizar (#619) [<code>efde61d</code>]
- Monkey (#621) [<code>fdd4a3c</code>]
- nginx (#776) [<code>dc4fc19</code>, <code>e62c88e</code>]
- Nim (#622) [<code>af9c49a</code>]
- OCaml (#628) [<code>556c04d</code>]
- Processing (#629) [<code>e47087b</code>]
- Prolog (#630) [<code>dd04c32</code>]
- Pure (#626) [<code>9c276ab</code>]
- Q (#624) [<code>c053c9e</code>]
- Qore [<code>125e91f</code>]
- Tcl [<code>a3e751a</code>, <code>11ff829</code>]
- Textile (#544) [<code>d0c6764</code>]
- Verilog (#640) [<code>44a11c2</code>, <code>795eb99</code>]
- Vim [<code>69ea994</code>]
Updated components
- Bash:
- Add support for Here-Documents (#787) [<code>b57a096</code>]
- Remove C-like dependency (#789) [<code>1ab4619</code>]
- C:
- Fixed numbers [<code>4d64d07</code>, <code>071c3dd</code>]
- C-like:
- Add word boundary before class-name prefixes [<code>aa757f6</code>]
- Improved operator regex + add != and !== [<code>135ee9d</code>]
- Optimized string regexp [<code>792e35c</code>]
- F#:
- Fixed keywords containing exclamation mark [<code>09f2005</code>]
- Improved string pattern [<code>0101c89</code>]
- Insert preprocessor before keyword + don't allow line feeds before # [<code>fdc9477</code>]
- Fixed numbers [<code>0aa0791</code>]
- Gherkin:
- Don't allow spaces in tags [<code>48ff8b7</code>]
- Handle \r\n and \r + allow feature alone + don't match blank td/th [<code>ce1ec3b</code>]
- Git:
- Added more examples (#652) [<code>95dc102</code>]
- Add support for unified diff. Fixes #769, fixes #357, closes #401 [<code>3aadd5d</code>]
- Go:
- Improved operator regexp + removed punctuation from it [<code>776ab90</code>]
- Haml:
- Combine both multiline-comment regexps + handle \r\n and \r [<code>f77b40b</code>]
- Handle \r\n and \r in filter regex [<code>bbe68ac</code>]
- Handlebars:
- Fix empty strings, add plus sign in exponential notation, improve block pattern and variable pattern [<code>c477f9a</code>]
- Properly escape special replacement patterns ($) in Handlebars, PHP and Smarty. Fix #772 [<code>895bf46</code>]
- Haskell:
- Removed useless backslashes and parentheses + handle \r\n and \r + simplify number regexp + fix operator regexp [<code>1cc8d8e</code>]
- HTTP:
- Fix indentation + Add multiline flag for more flexibility + Fix response status + Handle \r\n and \r [<code>aaa90f1</code>]
- Ini:
- Fix some regexps + remove unused flags [<code>53d5839</code>]
- Jade:
- Add todo list + remove single-line comment pattern + simplified most patterns with m flag + handle \r\n and \r [<code>a79e838</code>]
- Java:
- Fix number regexp + simplified number regexp and optimized operator regexp [<code>21e20b9</code>]
- JavaScript:
- JavaScript: Allow for all non-ASCII characters in function names. Fix #400 [<code>29e26dc</code>]
- JSX:
- Allow for one level of nesting in scripts (Fix #717) [<code>90c75d5</code>]
- Julia:
- Simplify comment regexp + improved number regexp + improved operator regexp [<code>bcac7d4</code>]
- Keyman:
- Move header statements above keywords [<code>23a444c</code>]
- LaTeX:
- Simplify comment regexp [<code>132b41a</code>]
- Extend support [<code>942a6ec</code>]
- Less:
- Remove useless part in property regexp [<code>80d8260</code>]
- LOLCODE:
- Removed useless parentheses [<code>8147c9b</code>]
- Makefile:
- Add known failures in example [<code>e0f8984</code>]
- Handle \r\n in comments and strings + fix "-include" keyword
- Markup:
- Simplify patterns + handle \r\n and \r [<code>4c551e8</code>]
- Don't allow = to appear in tag name [<code>85d8a55</code>]
- Don't allow dot inside tag name [<code>283691e</code>]
- MATLAB:
- Simplify string pattern to remove lookbehind [<code>a3cbecc</code>]
- NASM:
- Converted indents to tabs, removed uneeded escapes, added lookbehinds [<code>a92e4bd</code>]
- NSIS:
- Simplified patterns [<code>bbd83d4</code>]
- Fix operator regexp [<code>44ad8dc</code>]
- Objective-C:
- Simplified regexps + fix strings + handle \r [<code>1d33147</code>]
- Fix operator regexp [<code>e9d382e</code>]
- Pascal:
- Simplified regexps [<code>c03c8a4</code>]
- Perl:
- Simplified regexps + Made most string and regexp patterns multi-line + Added support for regexp's n flag + Added missing operators [<code>71b00cc</code>]
- PHP:
- Simplified patterns [<code>f9d9452</code>]
- Properly escape special replacement patterns ($) in Handlebars, PHP and Smarty. Fix #772 [<code>895bf46</code>]
- PHP Extras:
- Fix $this regexp + improve global regexp [<code>781fdad</code>]
- PowerShell:
- Update definitions for command/alias/operators [<code>14da55c</code>]
- Python:
- Added async/await and @ operator (#656) [<code>7f1ae75</code>]
- Added 'self' keyword and support for class names (#677) [<code>d9d4ab2</code>]
- Simplified regexps + don't capture where unneeded + fixed operators [<code>530f5f0</code>]
- R:
- Fixed and simplified patterns [<code>c20c3ec</code>]
- reST:
- Simplified some patterns, fixed others, prevented blank comments to match, moved list-bullet down to prevent breaking quotes [<code>e6c6b85</code>]
- Rip:
- Fixed some regexp + moved down numbers [<code>1093f7d</code>]
- Ruby:
- Code cleaning, handle \r\n and \r, fix some regexps [<code>dd4989f</code>]
- Add % notations for strings and regexps. Fix #590 [<code>2d37800</code>]
- Rust:
- Simplified patterns and fixed operators [<code>6c8494f</code>]
- SAS:
- Simplified datalines and optimized operator patterns [<code>6ebb96f</code>]
- Sass:
- Add missing require in components [<code>35b8c50</code>]
- Fix comments, operators and selectors and simplified patterns [<code>28759d0</code>]
- Highlight "-" as operator only if surrounded by spaces, in order to not break hyphenated values (e.g. "ease-in-out") [<code>b2763e7</code>]
- Scala:
- Simplified patterns [<code>daf2597</code>]
- Scheme:
- Add missing lookbehind on number pattern. Fix #702 [<code>3120ff7</code>]
- Fixes and simplifications [<code>068704a</code>]
- Don't match content of symbols starting with a parenthesis [<code>fa7df08</code>]
- Scss:
- Simplified patterns + fixed operators + don't match empty selectors [<code>672c167</code>]
- Smalltalk:
- Simplified patterns [<code>d896622</code>]
- Smarty:
- Optimized regexps + fixed punctuation and operators [<code>1446700</code>]
- Properly escape special replacement patterns ($) in Handlebars, PHP and Smarty. Fix #772 [<code>895bf46</code>]
- SQL:
- Simplified regexp + fixed keywords and operators + add CHARSET keyword [<code>d49fec0</code>]
- Stylus:
- Rewrote the component entirely [<code>7729728</code>]
- Swift:
- Optimized keywords lists and removed duplicates [<code>936e429</code>]
- Add support for string interpolation. Fix #448 [<code>89cd5d0</code>]
- Twig:
- Prevent "other" pattern from matching blank strings [<code>cae2cef</code>]
- Optimized regexps + fixed operators + added missing operators/keywords [<code>2d8271f</code>]
- VHDL:
- Move operator overloading before strings, don't capture if not needed, handle \r\n and \r, fix numbers [<code>4533f17</code>]
- Wiki markup:
- Fixed emphasis + merged some url patterns + added TODOs [<code>8cf9e6a</code>]
- YAML:
- Handled \r\n and \r, simplified some patterns, fixed "---" [<code>9e33e0a</code>]
New plugins
- Autoloader (#766) [<code>ed4ccfe</code>]
- JSONP Highlight [<code>b2f14d9</code>]
- Keep Markup (#770) [<code>bd3e9ea</code>]
- Previewer: Base (#767) [<code>cf764c0</code>]
- Previewer: Color (#767) [<code>cf764c0</code>]
- Previewer: Easing (#773) [<code>513137c</code>, <code>9207258</code>, <code>4303c94</code>]
- Remove initial line feed [<code>ed9f2b2</code>, <code>b8d098e</code>]
Updated plugins
- Autolinker:
- Don't process all grammars on load, process each one in before-highlight. Should fix #760 [<code>a572495</code>]
- Line Highlight:
- Run in
complete
hook [<code>f237e67</code>] - Fixed position when font-size is odd (#668) [<code>86bbd4c</code>, <code>8ed7ce3</code>]
- Run in
- Line Numbers:
- Run in
complete
hook [<code>3f4d918</code>] - Don't run if already exists [<code>c89bbdb</code>]
- Don't run if block is empty. Fix #669 [<code>ee463e8</code>]
- Correct calculation for number of lines (fix #385) [<code>14f3f80</code>]
- Fix computation of line numbers for single-line code blocks. Fix #721 [<code>02b220e</code>]
- Fixing word wrap on long code lines [<code>56b3d29</code>]
- Fixing coy theme + line numbers plugin overflowing on long blocks of text (#762) [<code>a0127eb</code>]
- Run in
- Show Language:
- Add gulp task to build languages map in Show language plugin (Fix #671) [<code>39bd827</code>]
- Add reset styles to prevent bug in Coy theme (#703) [<code>08dd500</code>]
Other changes
- Fixed link to David Peach article (#647) [<code>3f679f8</code>]
- Added
complete
hook, which runs even when no grammar is found [<code>e58b6c0</code>, <code>fd54995</code>] - Added test suite runner (#588) [<code>956cd85</code>]
- Added tests for every components
- Added
.gitattributes
to prevent line ending changes in test files [<code>45ca8c8</code>] - Split plugins into 3 columns on Download page [<code>a88936a</code>]
- Removed comment in components.js to make it easier to parse as JSON (#679) [<code>2cb1326</code>]
- Updated README.md [<code>1388256</code>]
- Updated documentation since the example was not relevant any more [<code>80aedb2</code>]
- Fixed inline style for Coy theme [<code>52829b3</code>]
- Prevent errors in nodeJS (#754) [<code>9f5c93c</code>, <code>0356c58</code>]
- Explicitly make the Worker close itself after highlighting, so that users have control on this behaviour when directly using Prism inside a Worker. Fix #492 [<code>e42a228</code>]
- Added some language aliases: js for javascript, xml, html, mathml and svg for markup [<code>2f9fe1e</code>]
- Download page: Add a "Select all" checkbox (#561) [<code>9a9020b</code>]
- Download page: Don't add semicolon unless needed in generated code. Fix #273 [<code>5a5eec5</code>]
- Add language counter on homepage [<code>889cda5</code>]
- Improve performance by doing more work in the worker [<code>1316abc</code>]
- Replace Typeplate with SitePoint on homepage. Fix #774 [<code>0c54308</code>]
- Added basic
.editorconfig
[<code>c48f55d</code>]
1.0.1 (2015-07-26)
New components
- Brainfuck (#611) [<code>3ede718</code>]
- Keyman (#609) [<code>2698f82</code>, <code>e9936c6</code>]
- Makefile (#610) [<code>3baa61c</code>]
- Sass (Sass) (fix #199) [<code>b081804</code>]
- VHDL (#595) [<code>43e6157</code>]
Updated components
- ActionScript:
- Fix ! operator and add ++ and -- as whole operators [<code>6bf0794</code>]
- Fix XML highlighting [<code>90257b0</code>]
- Update examples to add inline XML [<code>2c1626a</code>, <code>3987711</code>]
- Apache Configuration:
- Don't include the spaces in directive-inline [<code>e87efd8</code>]
- AppleScript:
- Allow one level of nesting in block comments [<code>65894c5</code>]
- Removed duplicates between operators and keywords [<code>1ec5a81</code>]
- Removed duplicates between keywords and classes [<code>e8d09f6</code>]
- Move numbers up so they are not broken by operator pattern [<code>66dac31</code>]
- ASP.NET:
- Prevent Markup tags from breaking ASP tags + fix MasterType directive [<code>1f0a336</code>]
- AutoHotkey:
- Allow tags (labels) to be highlighted at the end of the code [<code>0a1fc4b</code>]
- Match all operators + add comma to punctuation [<code>f0ccb1b</code>]
- Removed duplicates in keywords lists [<code>fe0a068</code>]
- Bash:
- Simplify comment regex [<code>2700981</code>]
- Removed duplicates in keywords + removed unneeded parentheses [<code>903b8a4</code>]
- C:
- Removed string pattern (inherited from C-like) [<code>dcce1a7</code>]
- Better support for macro statements [<code>4868635</code>]
- C#:
- Fix preprocessor pattern [<code>86311f5</code>]
- C++:
- Removed delete[] and new[] broken keywords [<code>42fbeef</code>]
- C-like:
- Removed unused 'ignore' pattern [<code>b6535dd</code>]
- Use look-ahead instead of inside to match functions [<code>d4194c9</code>]
- CoffeeScript:
- Prevent strings from ending with a backslash [<code>cb6b824</code>]
- CSS:
- Highlight parentheses as punctuation [<code>cd0273e</code>]
- Improved highlighting of at-rules [<code>e254088</code>]
- Improved URL and strings [<code>901812c</code>]
- Selector regexp should not include last spaces before brace [<code>f2e2718</code>]
- Handle \r\n [<code>15760e1</code>]
- Eiffel:
- Fix string patterns order + fix /= operator [<code>7d1b8d7</code>]
- Erlang:
- Fixed quoted functions, quoted atoms, variables and <code>fa286aa</code>]
- Fortran:
- Improved pattern for comments inside strings [<code>40ae215</code>]
- Fixed order in keyword pattern [<code>8a6d32d</code>]
- Handlebars:
- Support blocks with dashes (#587) [<code>f409b13</code>]
- JavaScript:
- Added support for 'y' and 'u' ES6 JavaScript regex flags (#596) [<code>5d99957</code>]
- Added support for missing ES6 keywords in JavaScript (#596) [<code>ca68b87</code>]
- Added
async
andawait
keywords (#575) [<code>5458cec</code>] - Added support for Template strings + interpolation [<code>04f72b1</code>]
- Added support for octal and binary numbers (#597) [<code>a8aa058</code>]
- Improve regex performance of C-like strings and JS regexps [<code>476cbf4</code>]
- Markup:
- Allow non-ASCII chars in tag names and attributes (fix #585) [<code>52fd55e</code>]
- Optimized tag's regexp so that it stops crashing on large unclosed tags [<code>75452ba</code>]
- Highlight single quotes in attr-value as punctuation [<code>1ebcb8e</code>]
- Doctype and prolog can be multi-line [<code>c19a238</code>]
- Python:
- Added highlighting for function declaration (#601) [<code>a88aae8</code>]
- Fixed wrong highlighting of variables named a, b, c... f (#601) [<code>a88aae8</code>]
- Ruby:
- Added support for string interpolation [<code>c36b123</code>]
- Scss:
- Fixed media queries highlighting [<code>bf8e032</code>]
- Improved highlighting inside at-rules [<code>eef4248</code>]
- Match placeholders inside selectors (fix #238) [<code>4e42e26</code>]
- Swift:
- Update keywords list (fix #625) [<code>88f44a7</code>]
Updated plugins
- File Highlight:
- Allow to specify the highlighting language. Fix #607 [<code>8030db9</code>]
- Line Highlight:
- Fixed incorrect height in IE9 (#604) [<code>f1705eb</code>]
- Prevent errors in IE8 [<code>5f133c8</code>]
Other changes
- Removed moot
version
property frombower.json
(#594) [<code>4693499</code>] - Added repository to
bower.json
(#600) [<code>8e5ebcc</code>] - Added
.DS_Store
to.gitignore
[<code>1707e4e</code>] - Improve test drive page usability. Fix #591 [<code>fe60858</code>]
- Fixed prism-core and prism-file-highlight to prevent errors in IE8 [<code>5f133c8</code>]
- Add Ubuntu Mono font to font stack [<code>ed9d7e3</code>]
1.0.0 (2015-05-23)
- First release
- Supported languages:
- ActionScript
- Apache Configuration
- AppleScript
- ASP.NET (C#)
- AutoHotkey
- Bash
- C
- C#
- C++
- C-like
- CoffeeScript
- CSS
- CSS Extras
- Dart
- Eiffel
- Erlang
- F#
- Fortran
- Gherkin
- Git
- Go
- Groovy
- Haml
- Handlebars
- Haskell
- HTTP
- Ini
- Jade
- Java
- JavaScript
- Julia
- LaTeX
- Less
- LOLCODE
- Markdown
- Markup
- MATLAB
- NASM
- NSIS
- Objective-C
- Pascal
- Perl
- PHP
- PHP Extras
- PowerShell
- Python
- R
- React JSX
- reST
- Rip
- Ruby
- Rust
- SAS
- Sass (Scss)
- Scala
- Scheme
- Smalltalk
- Smarty
- SQL
- Stylus
- Swift
- Twig
- TypeScript
- Wiki markup
- YAML
- Plugins:
- Autolinker
- File Highlight
- Highlight Keywords
- Line Highlight
- Line Numbers
- Show Invisibles
- Show Language
- WebPlatform Docs