Skip to content

Commit b2b64dd

Browse files
chore(release): 3.0.0 [skip ci]
1 parent 3042249 commit b2b64dd

File tree

4 files changed

+25
-4
lines changed

4 files changed

+25
-4
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!-- markdownlint-disable --><!-- textlint-disable -->
2+
3+
# 📓 Changelog
4+
5+
All notable changes to this project will be documented in this file. See
6+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7+
8+
## [3.0.0](https://github.com/rexxars/react-refractor/compare/v2.1.7...v3.0.0) (2024-04-08)
9+
10+
### ⚠ BREAKING CHANGES
11+
12+
- Module is now ESM-only, and will not work in CommonJS environments.
13+
- Module uses named exports, eg `import {Refractor} from 'react-refractor'`
14+
- Module now requires React 18 or higher.
15+
- Drop `all` export (eg `react-refractor/all`)
16+
- Drop UMD bundle
17+
- Drop ES5 compatibility. Now requires an ES6-compatible environment.
18+
19+
### Features
20+
21+
- use refractor 4, ESM-only ([395a739](https://github.com/rexxars/react-refractor/commit/395a7394c7be26e423d0ccbcfefac4955864650b))

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2018 Espen Hovlandsdal
3+
Copyright (c) 2024 Espen Hovlandsdal
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-refractor",
3-
"version": "2.1.7",
3+
"version": "3.0.0",
44
"description": "Super-thin React wrapper for refractor (Syntax highlighting using VDOM)",
55
"type": "module",
66
"exports": {

0 commit comments

Comments
 (0)