98 KiB
98 KiB
Prism Changelog
1.15.0 (2018-06-16)
New components
Updated components
- HTTP
- Kotlin
- __JavaScript
- Elixir
- Bash
- PowerShell
- JSX
- Pascal
- Swift
Updated plugins
- File Highlight
- Show Language
- Autoloader
- ASP.NET should require C# [
fa328bb
]
- ASP.NET should require C# [
- Line Numbers
Updated themes
Other changes
- Website
- Site now loads over HTTPS!
- Use HTTPS / canonical URLs (#1390) [
95146c8
] - Added Angular tutorial link [
c436a7c
] - Use rel="icon" instead of rel="shortcut icon" (#1398) [
d95f8fb
] - Fix Download page not handling multiple dependencies when from Redownload URL [
c2ff248
] - Update documentation for node & webpack usage [
1e99e96
]
- Handle optional dependencies in
loadLanguages()
(#1417) [84935ac
] - Add Chinese translation [
f2b1964
]
1.14.0 (2018-04-11)
New components
- GEDCOM (#1385) [
6e0b20a
] - Lisp (#1297) [
46468f8
] - Markup Templating (#1367) [
5f9c078
] - Soy (#1387) [
b4509bf
] - Velocity (#1378) [
5a524f7
] - Visual Basic (#1382) [
c673ec2
] - WebAssembly (#1386) [
c28d8c5
]
Updated components
- Bash:
- C-like:
- C#:
- Eiffel:
- Elixir
- Make regexps greedy, remove comment hacks. Update known failures and tests. [
e93d61f
]
- Make regexps greedy, remove comment hacks. Update known failures and tests. [
- ERB:
- Fortran:
- Make single-line comments greedy. Update known failures and tests. [
c083b78
]
- Make single-line comments greedy. Update known failures and tests. [
- Handlebars:
- Java:
- JavaScript:
- JSX:
- Monkey:
- Make comments greedy. Update known failures and tests. [
d7b2b43
]
- Make comments greedy. Update known failures and tests. [
- PHP:
- Puppet:
- Make heredoc, comments, regexps and strings greedy. Update known failures and tests. [
0c139d1
]
- Make heredoc, comments, regexps and strings greedy. Update known failures and tests. [
- Q:
- Make comments greedy. Update known failures and tests. [
a0f5081
]
- Make comments greedy. Update known failures and tests. [
- Ruby:
- Make multi-line comments greedy, remove single-line comment hack. Update known failures and tests. [
b0e34fb
]
- Make multi-line comments greedy, remove single-line comment hack. Update known failures and tests. [
- SQL:
Updated plugins
- Command Line:
- File Highlight:
Updated themes
Other changes
- Website: Remove broken third-party tutorials from homepage [
0efd6e1
] - Docs: Mention
loadLanguages()
function on homepage in the nodeJS section. Close #972, close #593 [4a14d20
] - Core: Greedy patterns should always be matched against the full string. Fix #1355 [
294efaa
] - Crystal: Update known failures. [
e1d2d42
] - D: Update known failures and tests. [
13d9991
] - Markdown: Update known failures. [
5b6c76d
] - Matlab: Update known failures. [
259b6fc
] - Website: Remove non-existent anchor to failures. Reword on homepage to make is less misleading. [
8c0911a
] - Website: Add link to Keep Markup plugin in FAQ [
e8cb6d4
] - Test suite: Memory leak in vm.runInNewContext() seems fixed. Revert [
9a4b6fa
] to drastically improve tests execution time. [9bceece
,7c7602b
] - Gulp: Don't minify
components/index.js
[689227b
] - Website: Fix theme selection on Download page, when theme is in query string or hash. [
b4d3063
] - Update JSPM config to also include unminified components. Close #995 [
218f160
] - Core: Fix support for language alias containing dash
-
[659ea31
]
1.13.0 (2018-03-21)
New components
Updated components
- JSX:
- Markup:
- Powershell:
- Rust:
Updated themes
- Default:
- Add color for class names [
8572474
]
- Add color for class names [
- Coy:
- Inherit pre's height on code, so it does not break on Download page. [
c6c7fd1
]
- Inherit pre's height on code, so it does not break on Download page. [
Other changes
- Website: Auto-generate example headers [
c3ed5b5
] - Core: Allow cloning of circular structures. (#1345) [
f90d555
] - Core: Generate components.js from components.json and make it exportable to nodeJS. (#1354) [
ba60df0
] - Website: Improve appearance of theme selector [
0460cad
] - Website: Check stored theme by default + link both theme selectors together. Close #1038 [
212dd4e
] - Tests: Use the new components.js file directly [
0e1a8b7
] - Update .npmignore Close #1274 [
a52319a
] - Add a loadLanguages() function for easy component loading on NodeJS (#1359) [
a5331a6
]
1.12.2 (2018-03-08)
Other changes
- Test against NodeJS 4, 6, 8 and 9 (#1329) [
97b7d0a
] - Stop testing against NodeJS 0.10 and 0.12 [
df01b1b
]
1.12.1 (2018-03-08)
Updated components
- C-like:
- JSX:
- Ruby:
1.12.0 (2018-03-07)
New components
Updated components
- Bash:
- C#:
- Add "dotnet" alias. [
405867c
]
- Add "dotnet" alias. [
- C-like:
- NSIS:
- PHP:
- PowerShell:
- Ruby:
- Add keywords "protected", "private" and "public" [
4593837
]
- Add keywords "protected", "private" and "public" [
- Rust:
- Scheme:
- SQL:
- Add missing keywords and functions, fix numbers [
de29d4a
]
- Add missing keywords and functions, fix numbers [
Updated plugins
- Autolinker:
- Copy to Clipboard:
- Toolbar:
- Unescaped Markup:
- WebPlatform Docs:
Other changes
- Fix Autoloader's demo page [
3dddac9
] - Download page: Use hash instead of query-string for redownload URL. Fix #1263 [
b03c02a
] - Core: Don't thow an error if lookbehing is used without anything matching. [
e0cd47f
] - Docs: Fix link to the
<code>
element specification in HTML5 [a84263f
] - Docs: Mention support for
lang-xxxx
class. Close #1312 [a9e76db
] - Docs: Add note on
async
parameter to clarify the requirement of using a single bundled file. Closes #1249 [eba0235
]
1.11.0 (2018-02-05)
New components
- Content-Security-Policy (CSP) (#1275) [
b08cae5
] - HTTP Public-Key-Pins (HPKP) (#1275) [
b08cae5
] - HTTP String-Transport-Security (HSTS) (#1275) [
b08cae5
] - React TSX (#1280) [
fbe82b8
]
Updated components
- C++:
- TypeScript:
Other changes
1.10.0 (2018-01-17)
New components
- 6502 Assembly (#1245) [
2ece18b
] - Elm (#1174) [
d6da70e
] - IchigoJam BASIC (#1246) [
cf840be
] - Io (#1251) [
84ed3ed
]
Updated components
Updated plugins
- Autoloader:
- Previewers:
- Unescaped Markup:
Other changes
1.9.0 (2017-12-06)
New components
- Flow [
d27b70d
]
Updated components
- CSS:
- JSX:
- Markup:
- PHP:
Updated plugins
- Copy to clipboard:
- Line highlight:
- Unescaped Markup:
Other changes
- Allow any element being root instead of document. (#1230) [
69f2e2c
,6e50d44
] - Coy Theme: The 'height' element makes code blocks the height of the browser canvas. (#1224) [
ac219d7
] - Download page: Fix implicitly declared variable [
f986551
] - Download page: Add version number at the beginning of the generated files. Fix #788 [
928790d
]
1.8.4 (2017-11-05)
Updated components
- ABAP:
- Regexp optimisation [
7547f83
]
- Regexp optimisation [
- ActionScript:
- Fix XML regex + optimise [
75d00d7
]
- Fix XML regex + optimise [
- Ada:
- Regexp simplification [
e881fe3
]
- Regexp simplification [
- Apacheconf:
- Regexp optimisation [
a065e61
]
- Regexp optimisation [
- APL:
- Regexp simplification [
33297c4
]
- Regexp simplification [
- AppleScript:
- Regexp optimisation [
d879f36
]
- Regexp optimisation [
- Arduino:
- Don't use captures if not needed [
16b338f
]
- Don't use captures if not needed [
- ASP.NET:
- Regexp optimisation [
438926c
]
- Regexp optimisation [
- AutoHotkey:
- Regexp simplification + don't use captures if not needed [
5edfd2f
]
- Regexp simplification + don't use captures if not needed [
- Bash:
- Regexp optimisation and simplification [
75b9b29
]
- Regexp optimisation and simplification [
- Bro:
- Regexp simplification + don't use captures if not needed [
d4b9003
]
- Regexp simplification + don't use captures if not needed [
- C:
- Regexp optimisation + don't use captures if not needed [
f61d487
]
- Regexp optimisation + don't use captures if not needed [
- C++:
- Fix operator regexp + regexp simplification + don't use captures if not needed [
ffeb26e
]
- Fix operator regexp + regexp simplification + don't use captures if not needed [
- C#:
- Remove duplicates in keywords + regexp optimisation + don't use captures if not needed [
d28d178
]
- Remove duplicates in keywords + regexp optimisation + don't use captures if not needed [
- C-like:
- Regexp simplification + don't use captures if not needed [
918e0ff
]
- Regexp simplification + don't use captures if not needed [
- CoffeeScript:
- Regexp optimisation + don't use captures if not needed [
5895978
]
- Regexp optimisation + don't use captures if not needed [
- Crystal:
- Remove trailing comma [
16979a3
]
- Remove trailing comma [
- CSS:
- Regexp simplification + don't use captures if not needed + handle multi-line style attributes [
43d9f36
]
- Regexp simplification + don't use captures if not needed + handle multi-line style attributes [
- CSS Extras:
- Regexp simplification [
134ed70
]
- Regexp simplification [
- D:
- Regexp optimisation [
fbe39c9
]
- Regexp optimisation [
- Dart:
- Regexp optimisation [
f24e919
]
- Regexp optimisation [
- Django:
- Regexp optimisation [
a95c51d
]
- Regexp optimisation [
- Docker:
- Regexp optimisation [
27f99ff
]
- Regexp optimisation [
- Eiffel:
- Regexp optimisation [
b7cdea2
]
- Regexp optimisation [
- Elixir:
- Regexp optimisation + uniform behavior between ~r and ~s [
5d12e80
]
- Regexp optimisation + uniform behavior between ~r and ~s [
- Erlang:
- Regexp optimisation [
e7b411e
]
- Regexp optimisation [
- F#:
- Regexp optimisation + don't use captures if not needed [
7753fc4
]
- Regexp optimisation + don't use captures if not needed [
- Gherkin:
- Regexp optimisation + don't use captures if not needed + added explanation comment on table-body regexp [
f26197a
]
- Regexp optimisation + don't use captures if not needed + added explanation comment on table-body regexp [
- Git:
- Regexp optimisation [
b9483b9
]
- Regexp optimisation [
- GLSL:
- Regexp optimisation [
e66d21b
]
- Regexp optimisation [
- Go:
- Regexp optimisation + don't use captures if not needed [
88caabb
]
- Regexp optimisation + don't use captures if not needed [
- GraphQL:
- Regexp optimisation and simplification [
2474f06
]
- Regexp optimisation and simplification [
- Groovy:
- Regexp optimisation + don't use captures if not needed [
e74e00c
]
- Regexp optimisation + don't use captures if not needed [
- Haml:
- Regexp optimisation + don't use captures if not needed + fix typo in comment [
23e3b43
]
- Regexp optimisation + don't use captures if not needed + fix typo in comment [
- Handlebars:
- Regexp optimisation + don't use captures if not needed [
09dbfce
]
- Regexp optimisation + don't use captures if not needed [
- Haskell:
- Regexp simplification + don't use captures if not needed [
f11390a
]
- Regexp simplification + don't use captures if not needed [
- HTTP:
- Regexp simplification + don't use captures if not needed [
37ef24e
]
- Regexp simplification + don't use captures if not needed [
- Icon:
- Regexp optimisation [
9cf64a0
]
- Regexp optimisation [
- J:
- Regexp simplification [
de15150
]
- Regexp simplification [
- Java:
- Don't use captures if not needed [
96b35c8
]
- Don't use captures if not needed [
- JavaScript:
- Regexp optimisation + don't use captures if not needed [
93d4002
]
- Regexp optimisation + don't use captures if not needed [
- Jolie:
- Regexp optimisation + don't use captures if not needed + remove duplicates in keywords [
a491f9e
]
- Regexp optimisation + don't use captures if not needed + remove duplicates in keywords [
- JSON:
- JSX:
- Regexp optimisation + handle spread operator as a whole [
28de4e2
]
- Regexp optimisation + handle spread operator as a whole [
- Julia:
- Regexp optimisation and simplification [
12684c0
]
- Regexp optimisation and simplification [
- Keyman:
- Regexp optimisation + don't use captures if not needed [
9726087
]
- Regexp optimisation + don't use captures if not needed [
- Kotlin:
- Regexp simplification [
12ff8dc
]
- Regexp simplification [
- LaTeX:
- Regexp optimisation and simplification [
aa426b0
]
- Regexp optimisation and simplification [
- LiveScript:
- Make interpolated strings greedy + fix variable and identifier regexps [
c581049
]
- Make interpolated strings greedy + fix variable and identifier regexps [
- LOLCODE:
- Don't use captures if not needed [
52903af
]
- Don't use captures if not needed [
- Makefile:
- Regexp optimisation [
20ae2e5
]
- Regexp optimisation [
- Markdown:
- Don't use captures if not needed [
f489a1e
]
- Don't use captures if not needed [
- Markup:
- Regexp optimisation + fix punctuation inside attr-value [
ea380c6
]
- Regexp optimisation + fix punctuation inside attr-value [
- MATLAB:
- Make strings greedy + handle line feeds better [
4cd4f01
]
- Make strings greedy + handle line feeds better [
- Monkey:
- Don't use captures if not needed [
7f47140
]
- Don't use captures if not needed [
- N4JS:
- Don't use captures if not needed [
2d3f9df
]
- Don't use captures if not needed [
- NASM:
- Regexp optimisation and simplification + don't use captures if not needed [
9937428
]
- Regexp optimisation and simplification + don't use captures if not needed [
- nginx:
- Remove trailing comma + remove duplicates in keywords [
c6e7195
]
- Remove trailing comma + remove duplicates in keywords [
- NSIS:
- Regexp optimisation + don't use captures if not needed [
beeb107
]
- Regexp optimisation + don't use captures if not needed [
- Objective-C:
- Don't use captures if not needed [
9be0f88
]
- Don't use captures if not needed [
- OCaml:
- Regexp simplification [
5f5f38c
]
- Regexp simplification [
- OpenCL:
- Don't use captures if not needed [
5e70f1d
]
- Don't use captures if not needed [
- Oz:
- Fix atom regexp [
9320e92
]
- Fix atom regexp [
- PARI/GP:
- Regexp optimisation [
2c7b59b
]
- Regexp optimisation [
- Parser:
- Regexp simplification [
569d511
]
- Regexp simplification [
- Perl:
- Regexp optimisation and simplification + don't use captures if not needed [
0fe4cf6
]
- Regexp optimisation and simplification + don't use captures if not needed [
- PHP:
- Don't use captures if not needed Golmote [
5235f18
]
- Don't use captures if not needed Golmote [
- PHP Extras:
- Add word boundary after global keywords + don't use captures if not needed [
9049a2a
]
- Add word boundary after global keywords + don't use captures if not needed [
- PowerShell:
- Regexp optimisation + don't use captures if not needed [
0d05957
]
- Regexp optimisation + don't use captures if not needed [
- Processing:
- Regexp simplification [
8110d38
]
- Regexp simplification [
- .properties:
- Regexp optimisation [
678b621
]
- Regexp optimisation [
- Protocol Buffers:
- Don't use captures if not needed [
3e256d8
]
- Don't use captures if not needed [
- Pug:
- Don't use captures if not needed [
76dc925
]
- Don't use captures if not needed [
- Pure:
- Make inline-lang greedy [
92318b0
]
- Make inline-lang greedy [
- Python:
- Qore:
- Regexp simplification [
69459f0
]
- Regexp simplification [
- R:
- Regexp optimisation [
06a9da4
]
- Regexp optimisation [
- Reason:
- Regexp optimisation + don't use capture if not needed [
19d79b4
]
- Regexp optimisation + don't use capture if not needed [
- Ren'py:
- Make strings greedy + don't use captures if not needed [
91d84d9
]
- Make strings greedy + don't use captures if not needed [
- reST:
- Regexp simplification + don't use captures if not needed [
1a8b3e9
]
- Regexp simplification + don't use captures if not needed [
- Rip:
- Regexp optimisation [
d7f0ee8
]
- Regexp optimisation [
- Ruby:
- Regexp optimisation and simplification + don't use captures if not needed [
4902ed4
]
- Regexp optimisation and simplification + don't use captures if not needed [
- Rust:
- Regexp optimisation and simplification + don't use captures if not needed [
cc9d874
]
- Regexp optimisation and simplification + don't use captures if not needed [
- Sass:
- Regexp simplification Golmote [
165d957
]
- Regexp simplification Golmote [
- Scala:
- Regexp optimisation Golmote [
5f50c12
]
- Regexp optimisation Golmote [
- Scheme:
- Regexp optimisation [
bd19b04
]
- Regexp optimisation [
- SCSS:
- Regexp simplification [
c60b7d4
]
- Regexp simplification [
- Smalltalk:
- Regexp simplification [
41a2c76
]
- Regexp simplification [
- Smarty:
- Regexp optimisation and simplification [
e169be9
]
- Regexp optimisation and simplification [
- SQL:
- Regexp optimisation [
a6244a4
]
- Regexp optimisation [
- Stylus:
- Regexp optimisation [
df9506c
]
- Regexp optimisation [
- Swift:
- Don't use captures if not needed [
a2d737a
]
- Don't use captures if not needed [
- Tcl:
- Regexp simplification + don't use captures if not needed [
f0b8a33
]
- Regexp simplification + don't use captures if not needed [
- Textile:
- Regexp optimisation + don't use captures if not needed [
08139ad
]
- Regexp optimisation + don't use captures if not needed [
- Twig:
- Regexp optimisation and simplification + don't use captures if not needed [
0b10fd0
]
- Regexp optimisation and simplification + don't use captures if not needed [
- TypeScript:
- Don't use captures if not needed [
e296caf
]
- Don't use captures if not needed [
- Verilog:
- Regexp simplification [
1b24b34
]
- Regexp simplification [
- VHDL:
- Regexp optimisation and simplification [
7af36df
]
- Regexp optimisation and simplification [
- vim:
- Remove duplicates in keywords [
700505e
]
- Remove duplicates in keywords [
- Wiki markup:
- Fix escaping consistency [
1fd690d
]
- Fix escaping consistency [
- YAML:
- Regexp optimisation + don't use captures if not needed [
1fd690d
]
- Regexp optimisation + don't use captures if not needed [
Other changes
- Remove comments spellcheck for AMP validation (#1106) [
de996d7
] - Prevent error from throwing when element does not have a parentNode in highlightElement. [
c33be19
] - Provide a way to load Prism from inside a Worker without listening to messages. (#1188) [
d09982d
]
1.8.3 (2017-10-19)
Other changes
- Fix inclusion tests for Pug [
955c2ab
]
1.8.2 (2017-10-19)
Updated components
- Jade:
- JavaScript:
Update plugins
- Copy to clipboard:
- Show invisibles:
1.8.1 (2017-09-16)
Other changes
- Add Arduino to components.js [
290a3c6
]
1.8.0 (2017-09-16)
New components
Updated plugins
1.7.0 (2017-09-09)
New components
- Django/Jinja2 (#1085) [
345b1b2
] - N4JS (#1141) [
eaa8ebb
] - Ren'py (#658) [
7ab4013
] - VB.Net (#1122) [
5400651
]
Updated components
- APL:
- C:
- C#:
- C-like:
- Crystal:
- CSS Extras:
- Docker:
- Eiffel:
- Handlebars:
- Check for possible pre-existing marker strings in Handlebars [
7a1a404
]
- Check for possible pre-existing marker strings in Handlebars [
- JavaScript:
- JSON:
- JSX:
- LOLCODE:
- Make strings greedy Golmote [
1a5e7a4
]
- Make strings greedy Golmote [
- Markup:
- NSIS:
- PHP:
- Ruby:
- Smarty:
- Check for possible pre-existing marker strings in Smarty [
5df26e2
]
- Check for possible pre-existing marker strings in Smarty [
- TypeScript:
- YAML:
Updated plugins
- Autolinker:
- Custom Class:
- Keep Markup:
- Line Highlight:
- Line Numbers:
- Normalize Whitespace:
- Add Node.js support for the normalize-whitespace plugin [
6c7dae2
]
- Add Node.js support for the normalize-whitespace plugin [
- Unescaped Markup:
Updated themes
Other changes
- Initial implementation of manual highlighting (#1087) [
bafc4cb
] - Remove dead link in Third-party tutorials section. Fixes #1028 [
dffadc6
] - Most languages now use the greedy flag for better highlighting [
7549ecc
] - .npmignore: Unignore components.js (#1108) [
1f699e7
] - Run before-highlight and after-highlight hooks even when no grammar is found. Fix #1134 [
70cb472
] - Replace [\w\W] with [\s\S] and [0-9] with \d in regexes (#1107) [
8aa2cc4
] - Fix corner cases for the greedy flag (#1095) [
6530709
] - Add Third Party Tutorial (#1156) [
c34e57b
] - Add Composer support (#648) [
2989633
] - Remove IE8 plugin (#992) [
25788eb
] - Website: remove width and height on logo.svg, so it becomes scalable. Close #1005 [
0621ff7
] - Remove yarn.lock (#1098) [
11eed25
]
1.6.0 (2016-12-03)
New components
- .properties (#980) [
be6219a
] - Ada (#949) [
65619f7
] - GraphQL (#971) [
e018087
] - Jolie (#1014) [
dfc1941
] - LiveScript (#982) [
62e258c
] - Reason (Fixes #1046) [
3cae6ce
] - Xojo (#994) [
0224b7c
]
Updated components
- APL:
- AsciiDoc:
- Bash:
- CSS:
- CSS Extras:
- Match attribute inside selectors [
13fed76
]
- Match attribute inside selectors [
- Groovy_:
- Ini:
- JavaScript:
- _JSON:
- Markup:
- NSIS:
- PHP:
- PowerShell:
- Puppet:
- Ruby:
- SCSS:
- TypeScript:
New plugins
- Copy to Clipboard (#891) [
07b81ac
] - Custom Class (#950) [
a0bd686
] - Data-URI Highlight (#996) [
bdca61b
] - Toolbar (#891) [
07b81ac
]
Updated plugins
- Autoloader:
- WPD:
- Fix at-rule detection + don't process if language is not handled [
2626728
]
- Fix at-rule detection + don't process if language is not handled [
Other changes
- Improvement to greedy-flag (#967) [
500121b
,9893489
] - Add setTimeout fallback for requestAnimationFrame. Fixes #987. (#988) [
c9bdcd3
] - Added aria-hidden attributes on elements created by the Line Highlight and Line Numbers plugins. Fixes #574. [
e5587a7
] - Don't insert space before ">" when there is no attributes [
3dc8c9e
] - Added missing hooks-related tests for AsciiDoc, Groovy, Handlebars, Markup, PHP and Smarty [
c1a0c1b
] - Fix issue when using Line numbers plugin and Normalise whitespace plugin together with Handlebars, PHP or Smarty. Fix #1018, #997, #935. Revert #998. [
86aa3d2
] - Optimized logo (#990) (#1002) [
f69e570
,218fd25
] - Remove unneeded prefixed CSS (#989) [
5e56833
] - Optimize images (#1007) [
b2fa6d5
] - Add yarn.lock to .gitignore (#1035) [
03ecf74
] - Fix greedy flag bug. Fixes #1039 [
32cd99f
] - Ruby: Fix test after #1023 [
b15d43b
] - Ini: Fix test after #1047 [
25cdd3f
] - Reduce risk of XSS (#1051) [
17e33bc
] - env.code can be modified by before-sanity-check hook even when using language-none. Fix #1066 [
83bafbd
]
1.5.1 (2016-06-05)
Updated components
- Normalize Whitespace:
- Add class that disables the normalize whitespace plugin [
9385c54
]
- Add class that disables the normalize whitespace plugin [
- JavaScript Language:
- Rearrange the
string
andtemplate-string
token in JavaScript [1158e46
]
- Rearrange the
- SQL Language:
- Diff Language:
Other changes
- Allow for asynchronous loading of prism.js (#959)
- Use toLowerCase on language names (#957) [
acd9508
] - link to index for basic usage - fixes #945 (#946) [
6c772d8
] - Fixed monospace typo (#953) [
e6c3498
]
1.5.0 (2016-05-01)
New components
Updated components
- Keep Markup:
- Groovy Language:
- Fix double HTML-encoding bug in Groovy language [
24a0936
]
- Fix double HTML-encoding bug in Groovy language [
- Java Language:
- SAS Language:
- Add missing keywords for SAS (#922)
- YAML Language:
- C# Language:
- Support for generic methods in csharp [
6f75735
]
- Support for generic methods in csharp [
New plugins
Other changes
- Add JSPM support [
ad048ab
] - update linear-gradient syntax from
left
toto right
[cd234dc
] - Add after-property to allow ordering of plugins [
224b7a1
] - Partial solution for the "Comment-like substrings"-problem [
2705c50
] - Add property 'aliasTitles' to components.js [
54400fb
] - Add before-highlightall hook [
70a8602
] - Fix catastrophic backtracking regex issues in JavaScript [
ab65be2
]
1.4.1 (2016-02-03)
Other changes
- Fix DFS bug in Prism core [
b86c727
]
1.4.0 (2016-02-03)
New components
Updated components
- Show Language:
- JSX:
- File Highlight:
- Coy Theme:
- Show Invisibles:
New plugins
Other changes
- Use document.currentScript instead of document.getElementsByTagName() [
fa98743
] - Add prefix for Firefox selection and move prefixed rule first [
6d54717
] - No background for
<code>
in<pre>
[8c310bc
] - Fixing to initial copyright year [
69cbf7a
] - Simplify the “lang” regex [
417f54a
] - Fix broken heading links [
a7f9e62
] - Prevent infinite recursion in DFS [
02894e1
] - Fix incorrect page title [
544b56f
] - Link scss to webplatform wiki [
08d979a
] - Revert white-space to normal when code is inline instead of in a pre [
1a971b5
]
1.3.0 (2015-10-26)
New components
- AsciiDoc (#800) [
6803ca0
] - Haxe (#811) [
bd44341
] - Icon (#803) [
b43c5f3
] - __Kotlin (#814) [
e8a31a5
] - Lua (#804) [
a36bc4a
] - Nix (#795) [
9b275c8
] - Oz (#805) [
388c53f
] - PARI/GP (#802) [
253c035
] - Parser (#808) [
a953b3a
] - Puppet (#813) [
81933ee
] - Roboconf (#812) [
f5db346
]
Updated components
- C:
- C#:
- F#:
- JavaScript:
- Python:
New plugins
Other changes
- Increase mocha's timeout [
f1c41db
] - Prevent most errors in IE8. Fix #9 [
9652d75
] - Add U.S. Web Design Standards on homepage. Fix #785 [
e10d48b
,79ebbf8
,2f7088d
] - Added gulp task to autolink PRs and commits in changelog [
5ec4e4d
] - Use child processes to run each set of tests, in order to deal with the memory leak in vm.runInNewContext() [
9a4b6fa
]
1.2.0 (2015-10-07)
New components
Updated components
- ASP.NET:
- Simplified pattern for
<script>
[29643f4
]
- Simplified pattern for
- Bash:
- CSS:
- Simplified pattern for
<style>
[29643f4
]
- Simplified pattern for
- JavaScript:
- Simplified pattern for
<script>
[29643f4
]
- Simplified pattern for
New plugins
Updated plugins
-
Previewer: Color
- Add support for Sass variables [
3a1fb04
]
- Add support for Sass variables [
-
Previewer: Easing
- Add support for Sass variables [
7c7ab4e
]
- Add support for Sass variables [
Other changes
- Test runner: Allow to run tests for only some languages [
5ade8a5
] - Download page: Fixed wrong components order raising error in generated file (#797) [
7a6aed8
]
1.1.0 (2015-10-04)
New components
- ABAP (#636) [
75b0328
,0749129
] - APL (#308) [
1f45942
,33a295f
] - AutoIt (#771) [
211a41c
] - BASIC (#620) [
805a0ce
] - Bison (#764) [
7feb135
] - Crystal (#780) [
5b473de
,414848d
] - D (#613) [
b5e741c
] - Diff (#450) [
ef41c74
] - Docker (#576) [
e808352
] - Elixir (#614) [
a1c028c
,c451611
,2e637f0
,ccb6566
] - GLSL (#615) [
247da05
] - Inform 7 (#616) [
d2595b4
] - J (#623) [
0cc50b2
] - MEL (#618) [
8496c14
] - Mizar (#619) [
efde61d
] - Monkey (#621) [
fdd4a3c
] - nginx (#776) [
dc4fc19
,e62c88e
] - Nim (#622) [
af9c49a
] - OCaml (#628) [
556c04d
] - Processing (#629) [
e47087b
] - Prolog (#630) [
dd04c32
] - Pure (#626) [
9c276ab
] - Q (#624) [
c053c9e
] - Qore [
125e91f
] - Tcl [
a3e751a
,11ff829
] - Textile (#544) [
d0c6764
] - Verilog (#640) [
44a11c2
,795eb99
] - Vim [
69ea994
]
Updated components
- Bash:
- C:
- C-like:
- F#:
- Gherkin:
- Git:
- Go:
- Improved operator regexp + removed punctuation from it [
776ab90
]
- Improved operator regexp + removed punctuation from it [
- Haml:
- Handlebars:
- Haskell:
- Removed useless backslashes and parentheses + handle \r\n and \r + simplify number regexp + fix operator regexp [
1cc8d8e
]
- Removed useless backslashes and parentheses + handle \r\n and \r + simplify number regexp + fix operator regexp [
- HTTP:
- Fix indentation + Add multiline flag for more flexibility + Fix response status + Handle \r\n and \r [
aaa90f1
]
- Fix indentation + Add multiline flag for more flexibility + Fix response status + Handle \r\n and \r [
- Ini:
- Fix some regexps + remove unused flags [
53d5839
]
- Fix some regexps + remove unused flags [
- Jade:
- Add todo list + remove single-line comment pattern + simplified most patterns with m flag + handle \r\n and \r [
a79e838
]
- Add todo list + remove single-line comment pattern + simplified most patterns with m flag + handle \r\n and \r [
- Java:
- Fix number regexp + simplified number regexp and optimized operator regexp [
21e20b9
]
- Fix number regexp + simplified number regexp and optimized operator regexp [
- JavaScript:
- JSX:
- Julia:
- Simplify comment regexp + improved number regexp + improved operator regexp [
bcac7d4
]
- Simplify comment regexp + improved number regexp + improved operator regexp [
- Keyman:
- Move header statements above keywords [
23a444c
]
- Move header statements above keywords [
- LaTeX:
- Less:
- Remove useless part in property regexp [
80d8260
]
- Remove useless part in property regexp [
- LOLCODE:
- Removed useless parentheses [
8147c9b
]
- Removed useless parentheses [
- Makefile:
- Add known failures in example [
e0f8984
] - Handle \r\n in comments and strings + fix "-include" keyword
- Add known failures in example [
- Markup:
- MATLAB:
- Simplify string pattern to remove lookbehind [
a3cbecc
]
- Simplify string pattern to remove lookbehind [
- NASM:
- Converted indents to tabs, removed uneeded escapes, added lookbehinds [
a92e4bd
]
- Converted indents to tabs, removed uneeded escapes, added lookbehinds [
- NSIS:
- Objective-C:
- Pascal:
- Simplified regexps [
c03c8a4
]
- Simplified regexps [
- Perl:
- Simplified regexps + Made most string and regexp patterns multi-line + Added support for regexp's n flag + Added missing operators [
71b00cc
]
- Simplified regexps + Made most string and regexp patterns multi-line + Added support for regexp's n flag + Added missing operators [
- PHP:
- PHP Extras:
- Fix $this regexp + improve global regexp [
781fdad
]
- Fix $this regexp + improve global regexp [
- PowerShell:
- Update definitions for command/alias/operators [
14da55c
]
- Update definitions for command/alias/operators [
- Python:
- R:
- Fixed and simplified patterns [
c20c3ec
]
- Fixed and simplified patterns [
- reST:
- Simplified some patterns, fixed others, prevented blank comments to match, moved list-bullet down to prevent breaking quotes [
e6c6b85
]
- Simplified some patterns, fixed others, prevented blank comments to match, moved list-bullet down to prevent breaking quotes [
- Rip:
- Fixed some regexp + moved down numbers [
1093f7d
]
- Fixed some regexp + moved down numbers [
- Ruby:
- Rust:
- Simplified patterns and fixed operators [
6c8494f
]
- Simplified patterns and fixed operators [
- SAS:
- Simplified datalines and optimized operator patterns [
6ebb96f
]
- Simplified datalines and optimized operator patterns [
- Sass:
- Scala:
- Simplified patterns [
daf2597
]
- Simplified patterns [
- Scheme:
- Scss:
- Simplified patterns + fixed operators + don't match empty selectors [
672c167
]
- Simplified patterns + fixed operators + don't match empty selectors [
- Smalltalk:
- Simplified patterns [
d896622
]
- Simplified patterns [
- Smarty:
- SQL:
- Simplified regexp + fixed keywords and operators + add CHARSET keyword [
d49fec0
]
- Simplified regexp + fixed keywords and operators + add CHARSET keyword [
- Stylus:
- Rewrote the component entirely [
7729728
]
- Rewrote the component entirely [
- Swift:
- Twig:
- VHDL:
- Move operator overloading before strings, don't capture if not needed, handle \r\n and \r, fix numbers [
4533f17
]
- Move operator overloading before strings, don't capture if not needed, handle \r\n and \r, fix numbers [
- Wiki markup:
- Fixed emphasis + merged some url patterns + added TODOs [
8cf9e6a
]
- Fixed emphasis + merged some url patterns + added TODOs [
- YAML:
- Handled \r\n and \r, simplified some patterns, fixed "---" [
9e33e0a
]
- Handled \r\n and \r, simplified some patterns, fixed "---" [
New plugins
- Autoloader (#766) [
ed4ccfe
] - JSONP Highlight [
b2f14d9
] - Keep Markup (#770) [
bd3e9ea
] - Previewer: Base (#767) [
cf764c0
] - Previewer: Color (#767) [
cf764c0
] - Previewer: Easing (#773) [
513137c
,9207258
,4303c94
] - Remove initial line feed [
ed9f2b2
,b8d098e
]
Updated plugins
- Autolinker:
- Line Highlight:
- Line Numbers:
- Run in
complete
hook [3f4d918
] - Don't run if already exists [
c89bbdb
] - Don't run if block is empty. Fix #669 [
ee463e8
] - Correct calculation for number of lines (fix #385) [
14f3f80
] - Fix computation of line numbers for single-line code blocks. Fix #721 [
02b220e
] - Fixing word wrap on long code lines [
56b3d29
] - Fixing coy theme + line numbers plugin overflowing on long blocks of text (#762) [
a0127eb
]
- Run in
- Show Language:
Other changes
- Fixed link to David Peach article (#647) [
3f679f8
] - Added
complete
hook, which runs even when no grammar is found [e58b6c0
,fd54995
] - Added test suite runner (#588) [
956cd85
] - Added tests for every components
- Added
.gitattributes
to prevent line ending changes in test files [45ca8c8
] - Split plugins into 3 columns on Download page [
a88936a
] - Removed comment in components.js to make it easier to parse as JSON (#679) [
2cb1326
] - Updated README.md [
1388256
] - Updated documentation since the example was not relevant any more [
80aedb2
] - Fixed inline style for Coy theme [
52829b3
] - Prevent errors in nodeJS (#754) [
9f5c93c
,0356c58
] - 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 [
e42a228
] - Added some language aliases: js for javascript, xml, html, mathml and svg for markup [
2f9fe1e
] - Download page: Add a "Select all" checkbox (#561) [
9a9020b
] - Download page: Don't add semicolon unless needed in generated code. Fix #273 [
5a5eec5
] - Add language counter on homepage [
889cda5
] - Improve performance by doing more work in the worker [
1316abc
] - Replace Typeplate with SitePoint on homepage. Fix #774 [
0c54308
] - Added basic
.editorconfig
[c48f55d
]
1.0.1 (2015-07-26)
New components
- Brainfuck (#611) [
3ede718
] - Keyman (#609) [
2698f82
,e9936c6
] - Makefile (#610) [
3baa61c
] - Sass (Sass) (fix #199) [
b081804
] - VHDL (#595) [
43e6157
]
Updated components
- ActionScript:
- Apache Configuration:
- Don't include the spaces in directive-inline [
e87efd8
]
- Don't include the spaces in directive-inline [
- AppleScript:
- ASP.NET:
- Prevent Markup tags from breaking ASP tags + fix MasterType directive [
1f0a336
]
- Prevent Markup tags from breaking ASP tags + fix MasterType directive [
- AutoHotkey:
- Bash:
- C:
- C#:
- Fix preprocessor pattern [
86311f5
]
- Fix preprocessor pattern [
- C++:
- Removed delete[] and new[] broken keywords [
42fbeef
]
- Removed delete[] and new[] broken keywords [
- C-like:
- CoffeeScript:
- Prevent strings from ending with a backslash [
cb6b824
]
- Prevent strings from ending with a backslash [
- CSS:
- Eiffel:
- Fix string patterns order + fix /= operator [
7d1b8d7
]
- Fix string patterns order + fix /= operator [
- Erlang:
- Fixed quoted functions, quoted atoms, variables and <= operator [
fa286aa
]
- Fixed quoted functions, quoted atoms, variables and <= operator [
- Fortran:
- Handlebars:
- JavaScript:
- Added support for 'y' and 'u' ES6 JavaScript regex flags (#596) [
5d99957
] - Added support for missing ES6 keywords in JavaScript (#596) [
ca68b87
] - Added
async
andawait
keywords (#575) [5458cec
] - Added support for Template strings + interpolation [
04f72b1
] - Added support for octal and binary numbers (#597) [
a8aa058
] - Improve regex performance of C-like strings and JS regexps [
476cbf4
]
- Added support for 'y' and 'u' ES6 JavaScript regex flags (#596) [
- Markup:
- Python:
- Ruby:
- Added support for string interpolation [
c36b123
]
- Added support for string interpolation [
- Scss:
- Swift:
Updated plugins
- File Highlight:
- Line Highlight:
Other changes
- Removed moot
version
property frombower.json
(#594) [4693499
] - Added repository to
bower.json
(#600) [8e5ebcc
] - Added
.DS_Store
to.gitignore
[1707e4e
] - Improve test drive page usability. Fix #591 [
fe60858
] - Fixed prism-core and prism-file-highlight to prevent errors in IE8 [
5f133c8
] - Add Ubuntu Mono font to font stack [
ed9d7e3
]
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