UNPKG

react-prism

Version:

React.js + prismjs syntax hightlight component

197 lines (81 loc) 5.49 kB
# Change Log All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. <a name="4.3.2"></a> ## [4.3.2](https://github.com/tomchentw/react-prism/compare/v4.3.1...v4.3.2) (2018-01-02) <a name="4.3.1"></a> ## [4.3.1](https://github.com/tomchentw/react-prism/compare/v4.3.0...v4.3.1) (2017-09-30) <a name="4.3.0"></a> # [4.3.0](https://github.com/tomchentw/react-prism/compare/v4.2.0...v4.3.0) (2017-07-04) ### Features * **PrismCode:** allow to configure the wrapper component ([57a117c](https://github.com/tomchentw/react-prism/commit/57a117c)), closes [#34](https://github.com/tomchentw/react-prism/issues/34) <a name="4.2.0"></a> # [4.2.0](https://github.com/tomchentw/react-prism/compare/v4.1.0...v4.2.0) (2017-06-30) ### Bug Fixes * **.babelrc:** `env`, `stage-0` and `react` as presets ([3d6b2e9](https://github.com/tomchentw/react-prism/commit/3d6b2e9)) ### Features * **package.json:** revamp scripts for `styleguidist` ([a245d6c](https://github.com/tomchentw/react-prism/commit/a245d6c)) <a name="4.1.0"></a> # [4.1.0](https://github.com/tomchentw/react-prism/compare/v4.0.0...v4.1.0) (2017-04-28) ### Features * **package.json:** add "prop-types" to peerDependencies ([417e9f5](https://github.com/tomchentw/react-prism/commit/417e9f5)) * **PrismCode:** replace React.PropTypes with "prop-types" package ([b20ec63](https://github.com/tomchentw/react-prism/commit/b20ec63)), closes [#31](https://github.com/tomchentw/react-prism/issues/31) <a name="4.0.0"></a> # [4.0.0](https://github.com/tomchentw/react-prism/compare/v3.2.2...v4.0.0) (2016-09-21) ### Features * **package.json:** upgrade peerDependencies to `react@^15.3.0` ([963b33d](https://github.com/tomchentw/react-prism/commit/963b33d)) * **PrismCode:** switch react-addons-pure-render-mixin to React.PureComponent ([#25](https://github.com/tomchentw/react-prism/issues/25)) ([de25f69](https://github.com/tomchentw/react-prism/commit/de25f69)), closes [#21](https://github.com/tomchentw/react-prism/issues/21) ### BREAKING CHANGES * package.json: drop support for `react@^0.14.0` * package.json: remove peerDependency of `react-addons-pure-render-mixin` <a name="3.2.2"></a> ## [3.2.2](https://github.com/tomchentw/react-prism/compare/v3.2.1...v3.2.2) (2016-09-20) <a name="3.2.1"></a> ## [3.2.1](https://github.com/tomchentw/react-prism/compare/v3.2.0...v3.2.1) (2016-05-31) <a name="3.2.0"></a> # [3.2.0](https://github.com/tomchentw/react-prism/compare/v3.1.1...v3.2.0) (2016-04-26) ### Features * **package.json:** update to react@^15.0.0 ([06f7b91](https://github.com/tomchentw/react-prism/commit/06f7b91)) <a name="3.1.1"></a> ## [3.1.1](https://github.com/tomchentw/react-prism/compare/v3.1.0...v3.1.1) (2016-01-28) <a name="3.1.0"></a> # [3.1.0](https://github.com/tomchentw/react-prism/compare/v3.0.0...v3.1.0) (2016-01-19) ### Features * **PrismCode:** switch to "react-addons-pure-render-mixin" ([da0f917](https://github.com/tomchentw/react-prism/commit/da0f917)), closes [#14](https://github.com/tomchentw/react-prism/issues/14) <a name="3.0.0"></a> # [3.0.0](https://github.com/tomchentw/react-prism/compare/v2.0.0...v3.0.0) (2015-10-08) ### Features * **package.json:** upgrade to React@^0.14 ([f35be91](https://github.com/tomchentw/react-prism/commit/f35be91)) ### BREAKING CHANGES * * __React@^0.14__: upgrade React in peerDependencies <a name="2.0.0"></a> # [2.0.0](https://github.com/tomchentw/react-prism/compare/v1.4.1...v2.0.0) (2015-10-02) ### Features * **PrismCode:** upgrade to support react@^0.14.0-rc1 ([cb0a0fa](https://github.com/tomchentw/react-prism/commit/cb0a0fa)) <a name"1.4.1"></a> ### 1.4.1 (2015-07-01) #### Bug Fixes * **src:** eslint rules ([f6563724](https://github.com/tomchentw/react-prism/commit/f6563724)) ## 1.4.0 (2015-06-17) #### Features * **PrismCode:** ES2015 format to prevent eslint warnings ([e0b58d8e](https://github.com/tomchentw/react-prism/commit/e0b58d8e8d4242d421cdabc0935d4c0cc8f92904)) ### 1.3.2 (2015-06-17) ### 1.3.1 (2015-05-21) #### Bug Fixes * **package.json:** test ([f80cef1d](https://github.com/tomchentw/react-prism/commit/f80cef1d9edb659efab3540b834d903e933c6530)) ## 1.3.0 (2015-04-27) #### Bug Fixes * **webpack.config.js:** node_modules are excluded from js loaders ([2d314148](https://github.com/tomchentw/react-prism/commit/2d31414808c9871dde5648684e9f5ed070ad4e7c)) #### Features * **package.json:** update to react@0.13 and add peerDependencies ([2d758ba8](https://github.com/tomchentw/react-prism/commit/2d758ba810be54bced3342c4ca2ef0a68874e941)) ### 1.2.1 (2014-11-20) ## 1.2.0 (2014-11-09) #### Features * **PrismCode:** should respond to children update ([a85082d6](https://github.com/tomchentw/react-prism/commit/a85082d631aa12d66fabfdeda926efe5d3bf94e3)) ## 1.1.0 (2014-11-08) #### Bug Fixes * **PrismCode:** async option should be truely async ([29d6717d](https://github.com/tomchentw/react-prism/commit/29d6717dc52fc0d430f44af6ca05448fa68642c9)) ## 1.0.0 (2014-11-08) #### Features * **PrismCode:** * expose async as property and default to true ([45bb5a6c](https://github.com/tomchentw/react-prism/commit/45bb5a6cfe0f5d41f3561de6b608ea98c4e0797d)) * use Prism.highlightElement and update html later ([c6cc478e](https://github.com/tomchentw/react-prism/commit/c6cc478e1867e7596fb0e328766a2d0176697a6c))