mirror of https://github.com/jkjoy/sunpeiwen.git
267 KiB
267 KiB
Prism Changelog
1.29.0 (2022-08-23)
New components
- BBj (#3511)
1134bdfc
- BQN (#3515)
859f99a0
- Cilk/C & Cilk/C++ (#3522)
c8462a29
- Gradle (#3443)
32119823
- METAFONT (#3465)
2815f699
- WGSL (#3455)
4c87d418
Updated components
- AsciiDoc
- Bash
- BBj
- CSS
- CSS Extras
- Hoon
- Java
- Markup
- NSIS
- Scala
- SCSS
Updated plugins
- Line Highlight
- Normalize Whitespace
Other
- Added security policy (#3070)
05ee042a
- Added list of maintainers (#3410)
866b302e
- Included githubactions in the dependabot config (#3470)
9561a9ab
- Set permissions for GitHub actions (#3468)
b85e1ada
- Website
1.28.0 (2022-04-17)
New components
- Ado & Mata (Stata) (#3383)
63806d57
- ARM Assembly (#3376)
554ff324
- Arturo (#3403)
e2fe1f79
- AWK & GAWK (#3374)
ea8a0f40
- Cooklang (#3337)
4eb928c3
- CUE (#3375)
a1340666
- gettext (#3369)
dfef9b61
- GNU Linker Script (#3373)
33f2cf95
- Odin (#3424)
8a3fef6d
- PlantUML (#3372)
0d49553c
- ReScript (#3435)
cbef9af7
- SuperCollider (#3371)
1b1d6731
Updated components
- .properties
- ABAP
- Ada
- Atmel AVR Assembly
- AutoHotkey
- CFScript
- CMake
- Erlang
- Excel Formula
- Flow
- GEDCOM
- Groovy
- Handlebars
- Java
- JavaScript
- Keyman
- MEL
- NEON
- PHP
- PureBasic
- Razor C#
- VHDL
- Wolfram language
Updated plugins
- Autolinker
- Command Line
- Keep Markup
Other
- Infrastructure
- Website
1.27.0 (2022-02-17)
New components
Updated components
- AutoIt
- EditorConfig
- Ini
- MongoDB
- PureBasic
- Scala
- Systemd configuration file
Updated plugins
- Command Line
Other
1.26.0 (2022-01-06)
New components
- Atmel AVR Assembly (#2078)
b5a70e4c
- Go module (#3209)
8476a9ab
- Keepalived Configure (#2417)
d908e457
- Tremor & Trickle & Troy (#3087)
ec25ba65
- Web IDL (#3107)
ef53f021
Updated components
- Use
\d
for[0-9]
(#3097)9fe2f93e
- 6502 Assembly
- AppleScript
- AQL
- Arduino
- Avro IDL
- Bash
- Birb
- Bro
- BSL (1C:Enterprise)
- C
- C#
- Clojure
- Concurnas
- Content-Security-Policy
- Coq
- Crystal
- Cypher
- D
- Dart
- DataWeave
- EditorConfig
- Eiffel
- Elm
- ERB
- F#
- G-code
- GameMaker Language
- Go
- GraphQL
- Haml
- Haxe
- Hoon
- HTTP
- HTTP Public-Key-Pins
- HTTP Strict-Transport-Security
- Idris
- Io
- J
- Java
- Java stack trace
- JavaScript
- Jolie
- JQ
- JS stack trace
- Julia
- Keyman
- Kotlin
- Latte
- Liquid
- Lisp
- Makefile
- Markdown
- MAXScript
- Monkey
- N1QL
- nginx
- Nim
- Nix
- NSIS
- Objective-C
- OCaml
- Oz
- Pascal
- PATROL Scripting Language
- Perl
- PHP
- PHP Extras
- PL/SQL
- PowerQuery
- PowerShell
- Processing
- Prolog
- Pug
- PureBasic
- Python
- QML
- React JSX
- React TSX
- Reason
- Regex
- Ren'py
- Rip
- Ruby
- Rust
- Scheme
- Smalltalk
- Smarty
- SQL
- Squirrel
- Stan
- Structured Text (IEC 61131-3)
- Swift
- TAP
- Tremor
- Twig
- TypeScript
- URI
- V
- Verilog
- Visual Basic
- Wolfram language
- Xojo (REALbasic)
- Zig
Updated plugins
- File Highlight
- Keep Markup
- Line Highlight
- Toolbar
Updated themes
- Coy: Set
z-index
to make shadows visible in colored table cells (#3161)79f250f3
- Coy: Added padding to account for box shadow (#3143)
a6a4ce7e
Other
- Core
- Infrastructure
- Tests: Added
.html.test
files for replace.js
language tests (#3148)2e834c8c
- Added regex coverage (#3138)
5333e281
- Tests: Added
TestCaseFile
class and generalizedrunTestCase
(#3147)ae8888a0
- Added even more language tests (#3137)
344d0b27
- Added more plugin tests (#1969)
a394a14d
- Added more language tests (#3131)
2f7f7364
package.json
: Addedengines.node
field (#3108)798ee4f6
- Use tabs in
package(-lock).json
(#3098)8daebb4a
- Update
eslint-plugin-regexp@1.2.0
(#3091)e6e1d5ae
- Added minified CSS (#3073)
d63d6c0e
- Tests: Added
- Website
- Readme: Clarify usage of our build system (#3239)
6f1d904a
- Improved CDN usage URLs (#3285)
6c21b2f7
- Update download.html
9d5424b6
- Autoloader: Mention how to load grammars from URLs (#3218)
cefccdd1
- Added PrismJS React and HTML tutorial link (#3190)
0ecdbdce
- Improved readability (#3177)
4433d7fe
- Fixed red highlighting in Firefox (#3178)
746da79b
- Use Keep markup to highlight code section (#3164)
ebd59e32
- Document standard tokens and provide examples (#3104)
37551200
- Fixed dead link to third-party tutorial #3155 (#3156)
31b4c1b8
- Repositioned theme selector (#3146)
ea361e5a
- Adjusted TOC's line height for better readability (#3145)
c5629706
- Updated plugin header template (#3144)
faedfe85
- Update test and example pages to use Autoloader (#1936)
3d96eedc
- Readme: Clarify usage of our build system (#3239)
1.25.0 (2021-09-16)
New components
- AviSynth (#3071)
746a4b1a
- Avro IDL (#3051)
87e5a376
- Bicep (#3027)
c1dce998
- GAP (CAS) (#3054)
23cd9b65
- GN (#3062)
4f97b82b
- Hoon (#2978)
ea776756
- Kusto (#3068)
e008ea05
- Magma (CAS) (#3055)
a1b67ce3
- MAXScript (#3060)
4fbdd2f8
- Mermaid (#3050)
148c1eca
- Razor C# (#3064)
4433ccfc
- Systemd configuration file (#3053)
8df825e0
- Wren (#3063)
6a356d25
Updated components
- Bicep
- C#
- C++
- Clojure
- Hoon
- Liquid
- Log file
- Markup
- PureScript
- Python
- Sass
- Shell session
- Swift
- TypeScript
Updated plugins
- JSONP Highlight
- Line Highlight
- Normalize Whitespace
- Previewers
Updated themes
Other
- Infrastructure
- Website
1.24.1 (2021-07-03)
Updated components
Updated plugins
1.24.0 (2021-06-27)
New components
- CFScript (#2771)
b0a6ec85
- ChaiScript (#2706)
3f7d7453
- COBOL (#2800)
7e5f78ff
- Coq (#2803)
41e25d3c
- CSV (#2794)
f9b69528
- DOT (Graphviz) (#2690)
1f91868e
- False (#2802)
99a21dc5
- ICU Message Format (#2745)
bf4e7ba9
- Idris (#2755)
e9314415
- Jexl (#2764)
7e51b99c
- KuMir (КуМир) (#2760)
3419fb77
- Log file (#2796)
2bc6475b
- Nevod (#2798)
f84c49c5
- OpenQasm (#2797)
1a2347a3
- PATROL Scripting Language (#2739)
18c67b49
- Q# (#2804)
1b63cd01
- Rego (#2624)
e38986f9
- Squirrel (#2721)
fd1081d2
- URI (#2708)
bbc77d19
- V (#2687)
72962701
- Wolfram language & Mathematica & Mathematica Notebook (#2921)
c4f6b2cc
Updated components
- Fixed problems reported by
regexp/no-dupe-disjunctions
(#2952)f471d2d7
- Fixed some cases of quadratic worst-case runtime (#2922)
79d22182
- Fixed 2 cases of exponential backtracking (#2774)
d85e30da
- AQL
- AutoHotkey
- Bash
- C++
- Dart
- Docker
- Elixir
- F#
- GraphQL
- Handlebars
- HTTP
- Ini
- Java
- JavaScript
- JS Templates
- JSON
- Liquid
- Log file
- Markdown
- Markup
- nginx
- PHP
- Fixed functions with namespaces (#2889)
87d79390
- Fixed string interpolation (#2864)
cf3755cb
- Added missing PHP 7.4
fn
keyword (#2858)e0ee93f1
- Fixed methods with keyword names + minor improvements (#2818)
7e8cd40d
- Improved constant support for PHP 8.1 enums (#2770)
8019e2f6
- Added support for PHP 8.1 enums (#2752)
f79b0eef
- Class names at the start of a string are now highlighted correctly (#2731)
04ef309c
- Numeral syntax improvements (#2701)
01af04ed
- Fixed functions with namespaces (#2889)
- React JSX
- reST (reStructuredText)
- Ruby
- Scheme
- Shell session
- SQL
- Swift
- TypeScript
- VB.Net
- Xojo (REALbasic)
Updated plugins
- Made Match Braces and Custom Class compatible (#2947)
4b55bd6a
- Consistent Prism check (#2788)
96335642
- Command Line
- Copy to Clipboard
- File Highlight
- Line Highlight
- Previewers
Other
- Core
- Infrastructure
- Added ESLint
- Added
npm-run-all
to clean up test command (#2938)5d3d8088
- Added link to Q&A to issue templates (#2834)
7cd9e794
- CI: Run tests with NodeJS 16.x (#2888)
b77317c5
- Dangerfile: Trim merge base (#2761)
45b0e82a
- Dangerfile: Fixed how changed files are determined (#2757)
0feb266f
- Deps: Updated regex tooling (#2923)
ad9878ad
- Tests: Added
--language
for patterns tests (#2929)a62ef796
- Tests: Fixed polynomial backtracking test (#2891)
8dbf1217
- Tests: Fixed languages test discovery
a9a199b6
- Tests: Test discovery should ignore unsupported file extensions (#2886)
4492c5ce
- Tests: Exhaustive pattern tests (#2688)
53151404
- Tests: Fixed pretty print incorrectly calculating print width (#2821)
5bc405e7
- Tests: Automatically normalize line ends (#2934)
99f3ddcd
- Tests: Added
--insert
and--update
parameters to language test (#2809)4c8b855d
- Tests: Stricter
components.json
tests (#2758)933af805
- Website
- Copy to clipboard: Fixed highlighting (#2725)
7a790bf9
- Readme: Mention
npm ci
(#2899)91f3aaed
- Readme: Added Node and npm version requirements (#2790)
cb220168
- Readme: Update link to Chinese translation (#2749)
266cc700
- Replace
my.cdn
in code sample with Handlebars-like placeholder (#2906)80471181
- Set dummy domain for CDN (#2905)
38f1d289
- Added MySQL to "Used by" section (#2785)
9b784ebf
- Improved basic usage section (#2777)
a1209930
- Updated URL in Autolinker example (#2751)
ec9767d6
- Added React native tutorial (#2683)
1506f345
- Copy to clipboard: Fixed highlighting (#2725)
1.23.0 (2020-12-31)
New components
Updated components
- Fixed multiple vulnerable regexes (#2584)
c2f6a644
- Apache Configuration
- C-like
- C
- Content-Security-Policy
- CSS
- Java
- Java stack trace
- Julia
- Kotlin
- Latte
- Markdown
- PHP
- Sass (Scss)
- Scheme
- Shell session
- TSX
Updated plugins
- Made Autoloader and Diff Highlight compatible (#2580)
7a74497a
- Copy to Clipboard Button
- File Highlight
- Line Highlight
- Line Numbers
- Treeview
- Unescaped Markup
Other
- Readme: Added alternative link for Chinese translation
071232b4
- Readme: Removed broken icon for Chinese translation (#2670)
2ea202b9
- Readme: Grammar adjustments (#2629)
f217ab75
- Core
- Infrastructure
- Migrate from TravisCI -> GitHub Actions (#2606)
69132045
- Added Dangerfile and provide bundle size info (#2608)
9df20c5e
- New
start
script to start local server (#2491)0604793c
- Added test for exponential backtracking (#2590)
05afbb10
- Added test for polynomial backtracking (#2597)
e644178b
- Tests: Better pretty print (#2600)
8bfcc819
- Tests: Fixed sorted language list test (#2623)
2d3a1267
- Tests: Stricter pattern for nice-token-names test (#2588)
0df60be1
- Tests: Added strict checks for
Prism.languages.extend
(#2572)8828500e
- Migrate from TravisCI -> GitHub Actions (#2606)
- Website
- Test page: Added "Share" option (#2575)
b5f4f10e
- Test page: Don't trigger ad-blockers with class (#2677)
df0738e9
- Thousands -> millions
9f82de50
- Unescaped Markup: More doc regarding comments (#2652)
add3736a
- Website: Added and updated documentation (#2654)
8e660495
- Website: Updated and improved guide on "Extending Prism" page (#2586)
8e1f38ff
- Test page: Added "Share" option (#2575)
1.22.0 (2020-10-10)
New components
- Birb (#2542)
4d31e22a
- BSL (1C:Enterprise) & OneScript (#2520)
5c33f0bb
- MongoDB (#2518)
004eaa74
- Naninovel Script (#2494)
388ad996
- PureScript (#2526)
ad748a00
- SML & SML/NJ (#2537)
cb75d9e2
- Stan (#2490)
2da2beba
- TypoScript & TSConfig (#2505)
bf115f47
Updated components
- Removed duplicate alternatives in various languages (#2524)
fa2225ff
- Haskell
- JS Extras
- PHP
- Processing
- Regex
- Rust
- Scheme
- Shell session
- YAML
Updated plugins
- Autoloader
- Match braces
- Show Language
Other
- Tests: Added an option to accept the actual token stream (#2515)
bafab634
- Core
- Infrastructure
- Website
1.21.0 (2020-08-06)
New components
- .ignore & .gitignore & .hgignore & .npmignore (#2481)
3fcce6fe
- Agda (#2430)
3a127c7d
- AL (#2300)
de21eb64
- Cypher (#2459)
398e2943
- Dhall (#2473)
649e51e5
- EditorConfig (#2471)
ed8fff91
- HLSL (#2318)
87a5c7ae
- JS stack trace (#2418)
ae0327b3
- PeopleCode (#2302)
bd4d8165
- PureBasic (#2369)
d0c1c70d
- Racket (#2315)
053016ef
- Smali (#2419)
22eb5cad
- Structured Text (IEC 61131-3) (#2311)
8704cdfb
- UnrealScript (#2305)
1093ceb3
- WarpScript (#2307)
cde5b0fa
- XML doc (.net) (#2340)
caec5e30
- YANG (#2467)
ed1df1e1
Updated components
- Markup & JSON: Added new aliases (#2390)
9782cfe6
- Fixed several cases of exponential backtracking (#2268)
7a554b5f
- APL
- AutoHotkey
- Bash
- Batch
- C
- C#
- C++
- Content-Security-Policy
- CSS
- CSS Extras
- Dart
- Diff
- Docker
- EditorConfig
- EJS
- GLSL
- GraphQL
- Io
- Java
- JavaDoc
- JavaScript
- JSDoc
- JSON
- Julia
- Kotlin
- Markup
- Objective-C
- PowerShell
- Protocol Buffers
- Pug
- Python
- Regex
- Ren'py
- Ruby
- Rust
- SAS
- Scheme
- Solidity (Ethereum)
- SQL
- Stylus
- T4 Text Templates (VB)
- TypeScript
- Visual Basic
Updated plugins
- File Highlight & JSONP Highlight update (#1974)
afea17d9
- Added general de/activation mechanism for plugins (#2434)
a36e96ab
- Autoloader
- Command Line
- Line Highlight
- Line Numbers
- Previewers
- Unescaped Markup
Updated themes
- Coy
- Default
- Okaidia
Other
- Changelog: Fixed v1.20.0 release date
cb6349e2
- Core
- Infrastructure
- Update Git repo URL in package.json (#2334)
10f43275
- Added docs to ignore files (#2437)
05c9f20b
- Added
npm run build
command (#2356)ff74a610
- gulp: Improved
inlineRegexSource
(#2296)abb800dd
- gulp: Fixed language map (#2283)
11053193
- gulp: Removed
premerge
task (#2357)5ff7932b
- Tests are now faster (#2165)
e756be3f
- Tests: Added extra newlines in pretty token streams (#2070)
681adeef
- Tests: Added test for identifier support across all languages (#2371)
48fac3b2
- Tests: Added test to sort the language list (#2222)
a3758728
- Tests: Always pretty-print token streams (#2421)
583e7eb5
- Tests: Always use
components.json
(#2370)e416341f
- Tests: Better error messages for pattern tests (#2364)
10ca6433
- Tests: Included
console
in VM context (#2353)b4ed5ded
- Update Git repo URL in package.json (#2334)
- Website
- Fixed typos "Prims" (#2455)
dfa5498a
- New assets directory for all web-only files (#2180)
91fdd0b1
- Improvements (#2053)
ce0fa227
- Fixed Treeview page (#2484)
a0efa40b
- Line Numbers: Fixed class name on website
453079bf
- Line Numbers: Improved documentation (#2456)
447429f0
- Line Numbers: Style inline code on website (#2435)
ad9c13e2
- Filter highlightAll: Fixed typo (#2391)
55bf7ec1
- Fixed typos "Prims" (#2455)
1.20.0 (2020-04-04)
New components
- Concurnas (#2206)
b24f7348
- DAX (#2248)
9227853f
- Excel Formula (#2219)
bf4f7bfa
- Factor (#2203)
f941102e
- LLVM IR (#2221)
43efde2e
- PowerQuery (#2250)
8119e57b
- Solution file (#2213)
15983d52
Updated components
- Bash
- BBcode
- C/C++/OpenCL C
- C
- C#
- C++
- CSS
- CSS Extras
- Elixir
- Java
- Markdown
- OpenCL
- PHPDoc
- Ruby
- SAS
- Shell session
- Visual Basic
- YAML
New plugins
Updated plugins
- Inline Color
- Keep Markup
- Toolbar
Other
- Updated all
String.propotype.replace
calls for literal strings5d7aab56
- Core
- Infrastructure
- Travis: Updated NodeJS versions (#2246)
e635260b
- gulp: Inline regex source improvement (#2227)
67afc5ad
- Tests: Added new pattern check for octal escapes (#2189)
81e1c3dd
- Tests: Fixed optional dependencies in pattern tests (#2242)
1e3070a2
- Tests: Added test for zero-width lookbehinds (#2220)
7d03ece4
- Added tests for examples (#2216)
1f7a245c
- Travis: Updated NodeJS versions (#2246)
- Website
- Removed invalid strings from C# example (#2266)
c917a8ca
- Fixed Diff highlight plugin page title (#2233)
a82770f8
- Added link to
prism-liquibase
Bash language extension. (#2191)0bf73dc7
- Examples: Updated content header (#2232)
6232878b
- Website: Added Coy bug to the known failures page. (#2170)
e9dab85e
- Removed invalid strings from C# example (#2266)
1.19.0 (2020-01-13)
New components
Updated components
- Handlebars
- JavaScript
- Markdown
- OCaml
- PHP
- React JSX
- Reason
- Ruby
- SAS
Updated plugins
Updated themes
Other
- Added a check for redundant dependency declarations (#2142)
a06aca06
- Added a check for examples (#2128)
0b539136
- Added silent option to
loadLanguages
(#2147)191b4116
- Infrastructure
- Website
1.18.0 (2020-01-04)
New components
- ANTLR4 (#2063)
aaaa29a8
- AQL (#2025)
3fdb7d55
- BBcode (#2095)
aaf13aa6
- BrightScript (#2096)
631f1e34
- Embedded Lua templating (#2050)
0b771c90
- Firestore security rules (#2010)
9f722586
- FreeMarker Template Language (#2080)
2f3da7e8
- GDScript (#2006)
e2b99f40
- MoonScript (#2100)
f31946b3
- Robot Framework (only the plain text format) (#2034)
f7eaa618
- Solidity (Ethereum) (#2031)
cc2cf3f7
- SPARQL (#2033)
c42f877d
- SQF: Status Quo Function (Arma 3) (#2079)
cfac94ec
- Turtle & TriG (#2012)
508d57ac
- Zig (#2019)
a7cf56b7
Updated components
- Minor improvements for C-like and Clojure (#2064)
7db0cab3
- Inlined some unnecessary rest properties (#2082)
ad3fa443
- AQL
- Clojure
- CSS Extras
- D
- Groovy
- Java
- JavaScript
- Less
- Markup
- Python
- Robot Framework
- Ruby
- SAS
- Smalltalk
- Turtle
- TypeScript
Updated plugins
- New Match Braces plugin (#1944)
365faade
- New Inline color plugin (#2007)
8403e453
- New Filter highlightAll plugin (#2074)
a7f70090
- Custom Class
- File Highlight
Other
- Issue template improvements (#2069)
53f07b1b
- Readme: Links now use HTTPS if available (#2045)
6cd0738a
- Core
- Fixed null reference (#2106)
0fd062d5
- Fixed race condition caused by deferring the script (#2103)
a3785ec9
- Minor improvements (#1973)
2d858e0a
- Fixed greedy partial lookbehinds not working (#2030)
174ed103
- Fixed greedy targeting bug (#1932)
e864d518
- Doubly check the
manual
flag (#1957)d49f0f26
- IE11 workaround for
currentScript
(#2104)2108c60f
- Fixed null reference (#2106)
- Infrastructure
- gulp: Fixed changes task
2f495905
- npm: Added
.github
folder to npm ignore (#2052)1af89e06
- npm: Updated dependencies to fix 122 vulnerabilities (#1997)
3af5d744
- Tests: New test for unused capturing groups (#1996)
c187e229
- Tests: Simplified error message format (#2056)
007c9af4
- Tests: New test for nice names (#1911)
3fda5c95
- Standardized dependency logic implementation (#1998)
7a4a0c7c
- gulp: Fixed changes task
- Website
- Added @mAAdhaTTah and @RunDevelopment to credits and footer
5d07aa7c
- Added plugin descriptions to plugin list (#2076)
cdfa60ac
- Use HTTPS link to alistapart.com (#2044)
8bcc1b85
- Fixed the Toolbar plugin's overflow issue (#1966)
56a8711c
- FAQ update (#1977)
8a572af5
- Use modern JavaScript in the NodeJS usage section (#1942)
5c68a556
- Improved test page performance for Chromium (#2020)
3509f3e5
- Fixed alias example in extending page (#2011)
7cb65eec
- Robot Framework: Renamed example file (#2126)
9908ca69
- Added @mAAdhaTTah and @RunDevelopment to credits and footer
1.17.1 (2019-07-21)
Other
- Infrastructure
- Add .DS_Store to npmignore
c2229ec2
- Add .DS_Store to npmignore
1.17.0 (2019-07-21)
New components
- DNS zone file (#1961)
bb84f98c
- JQ (#1896)
73d964be
- JS Templates: Syntax highlighting inside tagged template literals (#1931)
c8844286
- LilyPond (#1967)
5d992fc5
- PascaLIGO (#1947)
858201c7
- PC-Axis (#1940)
473f7fbd
- Shell session (#1892)
96044979
- Splunk SPL (#1962)
c93c066b
New plugins
Updated components
- Bash
- C#
- C++
- CSS
- CSS Extras
- F#
- JavaScript
- Fixed escaped template interpolation (#1931)
c8844286
- Added support for private fields (#1950)
7bd08327
- Added support for numeric separators (#1895)
6068bf18
- Increased bracket count of interpolation expressions in template strings (#1845)
c13d6e7d
- Added support for the
s
regex flag (#1846)9e164935
- Formatting: Added missing semicolon (#1856)
e2683959
- Fixed escaped template interpolation (#1931)
- JSON
- Julia
- LaTeX
- Markdown
- Perl
- Protocol Buffers
- reST (reStructuredText)
- Rust
- Sass (Scss)
- Scheme
- TOML
- Visual Basic
Updated plugins
- Autolinker
- Autoloader
- Command Line
- Copy to Clipboard Button
- Custom Class
- Line Highlight
- Toolbar
Updated themes
Other
- README: Added npm downloads badge (#1934)
d673d701
- README: Minor changes (#1857)
77e403cb
- Clearer description for the highlighting bug report template (#1850)
2f9c9261
- More language examples (#1917)
3e181241
- Core
- Infrastructure
- gulp: Split
gulpfile.js
and expandedchanges
task (#1835)033c5ad8
- gulp: JSON formatting for partly generated files (#1933)
d4373f3a
- gulp: Use
async
functions & drop testing on Node v6 (#1783)0dd44d53
- Tests:
lookbehind
test for patterns (#1890)3ba786cd
- Tests: Added test for empty regexes (#1847)
c1e6a7fd
- gulp: Split
- Website
- Added tutorial for using PrismJS with React (#1979)
f1e16c7b
- Update footer's GitHub repository URL and capitalisation of "GitHub" (#1983)
bab744a6
- Added known failures page (#1876)
36a5fa0e
- Added basic usage for CDNs (#1924)
922ec555
- New tutorial for Drupal (#1859)
d2089d83
- Updated website page styles to not interfere with themes (#1952)
b6543853
- Download page: Improved performance for Chromium-based browsers (#1907)
11f18e36
- Download page: Fixed Edge's word wrap (#1920)
5d191b92
- Examples page: Minor improvements (#1919)
a16d4a25
- Extending page: Fixed typo + new alias section (#1949)
24c8e717
- Extending page: Added "Creating a new language definition" section (#1925)
ddf81233
- Test page: Use
prism-core.js
instead ofprism.js
(#1908)0853e694
- Copy to clipboard: Fixed typo (#1869)
59d4323f
- JSONP Highlight: Fixed examples (#1877)
f8ae465d
- Line numbers: Fixed typo on webpage (#1838)
0f16eb87
- Added tutorial for using PrismJS with React (#1979)
1.16.0 (2019-03-24)
New components
- ANBF (#1753)
6d98f0e7
- BNF & RBNF (#1754)
1df96c55
- CIL (#1593)
38def334
- CMake (#1820)
30779976
- Doc comment (#1541)
493d19ef
- EBNF (#1756)
13e1c97d
- EJS (#1769)
c37c90df
- G-code (#1572)
2288c25e
- GameMaker Language (#1551)
e529edd8
- HCL (#1594)
c939df8e
- Java stack trace (#1520)
4a8219a4
- JavaScript Extras (#1743)
bb628606
- JSON5 (#1744)
64dc049d
- N1QL (#1620)
7def8f5c
- Nand To Tetris HDL (#1710)
b94b56c1
- Regex (#1682)
571704cb
- T4 (#1699)
16f2ad06
- TOML (#1488)
5b6ad70d
- Vala (#1658)
b48c012c
Updated components
- Fixed dependencies of Pug and Pure (#1759)
c9a32674
- Add file extensions support for major languages (#1478)
0c8f6504
- Fixed patterns which can match the empty string (#1775)
86dd3e42
- More variables for better code compression (#1489)
bc53e093
- Added missing aliases (#1830)
8d28c74c
- Replaced all occurrences of
new RegExp
withRegExp
(#1493)44fed4d3
- Added missing aliases to components.json (#1503)
2fb66e04
- Apacheconf
- AsciiDoc
- Bash
- Batch
- C
- C-like
- C/C++/Java
- C#
- CSS
- Fix tokenizing !important (#1585)
c1d6cb85
- Added the comma to the list of CSS punctuation
7ea2ff28
- CSS: Comma punctuation (#1632)
1b812386
- Reuse CSS selector pattern in CSS Extras (#1637)
e2f2fd19
- Fixed CSS extra variable (#1649)
9de47d3a
- Identify CSS units and variables (#1450)
5fcee966
- Allow multiline CSS at-rules (#1676)
4f6f3c7d
- CSS: Highlight attribute selector (#1671)
245b59d4
- CSS: Selectors can contain any string (#1638)
a2d445d0
- CSS extras: Highlighting for pseudo class arguments (#1650)
70a40414
- Fix tokenizing !important (#1585)
- Django
- F#
- GraphQL
- Haskell
- HTTP
- Ini
- Java
- JavaScript
- Fix regex for
catch
andfinally
(#1527)ebd1b9a6
- Highlighting of supposed classes and functions (#1482)
c40f6047
- Added support for JS BigInt literals (#1542)
2b62e57b
- Fixed lowercase supposed class names (#1544)
a47c05ad
- Fixes regex for JS examples (#1591)
b41fb8f1
- Improve regex detection in JS (#1473)
2a4758ab
- Identify JavaScript function parameters (#1446)
0cc8c56a
- Improved JavaScript parameter recognization (#1722)
57a92035
- Make
undefined
a keyword in JS (#1740)d9fa29a8
- Fix
function-variable
in JS (#1739)bfbea4d6
- Improved JS constant pattern (#1737)
7bcec584
- Improved JS function pattern (#1736)
8378ac83
- JS: Fixed variables named "async" (#1738)
3560c643
- JS: Keyword fix (#1808)
f2d8e1c7
- Fix regex for
- JSON / JSONP
- JSX
- Less
- Lisp
- Markdown
- Markup
- Markup Templating
- nginx
- PHP
- Python
- Reason
- Ruby
- Rust
- SAS
- Scheme
- SCSS
- Smalltalk
- Smarty
- SQL
- TypeScript
- YAML
Updated plugins
- Better class name detection for plugins (#1772)
c9762c6f
- Autolinker
- Autoloader
- Command Line
- File Highlight
- JSONP Highlight
- Keep Markup
- Line Numbers
- Previewers
- Show Invisibles
- Show Language
- Toolbar
Updated themes
Other changes
- Core
insertBefore
now correctly updates references (#1531)9dfec340
- Invoke
callback
afterafter-highlight
hook (#1588)bfbe4464
- Improve
Prism.util.type
performance (#1545)2864fe24
- Remove unused
insertBefore
overload (#1631)39686e12
- Ignore duplicates in insertBefore (#1628)
d33d259c
- Remove the Prism.tokenize language parameter (#1654)
fbf0b094
- Call
insert-before
hook properly (#1709)393ab164
- Improved languages.DFS and util.clone (#1506)
152a68ef
- Core: Avoid redeclaring variables in util.clone (#1778)
b06f532f
- Made prism-core a little more editor friendly (#1776)
bac09f0a
- Applied Array.isArray (#1804)
11d0f75e
- Infrastructure
- Linkify changelog more + add missing PR references
2a100db7
- Set default indentation size (#1516)
e63d1597
- Add travis repo badge to readme (#1561)
716923f4
- Update README.md (#1553)
6d1a2c61
- Mention Prism Themes in README (#1625)
5db04656
- Fixed CHANGELOG.md (#1707)
b1f8a65d
(#1704)66d2104a
- Change tested NodeJS versions (#1651)
6ec71e0b
- Inline regex source with gulp (#1537)
e894fc89
(#1716)217a6ea4
- Improve gulp error messages with pump (#1741)
671f4ca0
- Update gulp to version 4.0.0 (#1779)
06627f6a
- gulp: Refactoring (#1780)
6c9fe257
- npm: Updated all dependencies (#1742)
9d908d5a
- Tests: Pretty-printed token stream (#1801)
9ea6d600
- Refactored tests (#1795)
832a9643
- Added issue templates (#1805)
dedb475f
- npm: Fixed
test
script (#1809)bc649dfa
- Add command to generate CHANGELOG
212666d3
- Name in composer.json set to lowercase (#1824)
4f78f1d6
- Added alias tests (#1832)
5c1a6fb2
- Travis: Fail when changed files are detected (#1819)
66b44e3b
- Tests: Additional checks for Prism functions (#1803)
c3e74ea3
- Adjusted .npmignore (#1834)
29a30c62
- Linkify changelog more + add missing PR references
- Website
- Add Python triple-quoted strings "known failure" (#1449)
334c7bca
- Updated index.html to fix broken instructions (#1462)
7418dfdd
- Improve download page typography (#1484)
b1c2f4df
- Fixed peer dependencies in download page (#1491)
9d15ff6e
- Fixed empty link in extending (#1507)
74916d48
- Display language aliases (#1626)
654b527b
- Clean up Previewers' page (#1630)
b0d1823c
- Updated website table of contents styles (#1681)
efdd96c3
- Added new third-party tutorial for using Prism in Gutenberg (#1701)
ff9ccbe5
- Remove dead tutorial (#1702)
e2d3bc7e
- Fix downloads page fetching from GitHub(#1684)
dbd3555e
- Remove parentheses from download page (#1627)
2ce0666d
- Line Numbers plugin instructions clarifications (#1719)
00f4f04f
- Fixed Toolbar plugin example (#1726)
5311ca32
- Test page: Show tokens option (#1757)
729cb28b
- Some encouragement for visitors of PrismJS.com to request new languages (#1760)
ea769e0b
- Docs: Added missing parameter (#1774)
18f2921d
- More persistent test page (#1529)
3100fa31
- Added scripts directory (#1781)
439ea1ee
- Fixed download page (#1811)
77c57446
- Add Python triple-quoted strings "known failure" (#1449)
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 [
e7b411e
]
- 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 [
7547f83
]
- 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