# Changelog

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.

### [4.0.1](https://github.com/canvg/canvg/compare/v4.0.0...v4.0.1) (2022-07-19)


### Bug Fixes

* update isReadyLock state to fix deadlock on second render ([#1679](https://github.com/canvg/canvg/issues/1679)) ([4bbc37e](https://github.com/canvg/canvg/commit/4bbc37e4d715cccbf0d4033afbb0ae85d2812fce))

## [4.0.0](https://github.com/canvg/canvg/compare/v3.0.8...v4.0.0) (2022-02-17)


### ⚠ BREAKING CHANGES

* TypeScript 4
* Default export was replaced with "Canvg" named export.
* UMD bundle and old browsers support were dropped. Node >=12 is required.

### Bug Fixes

* positioning of nested tspans ([#1563](https://github.com/canvg/canvg/issues/1563)) ([c236422](https://github.com/canvg/canvg/commit/c2364225f7c1a7677122537f8e0b8e83ed40b4f9)), closes [#1548](https://github.com/canvg/canvg/issues/1548)


### build

* move to swc ([#1616](https://github.com/canvg/canvg/issues/1616)) ([6b43740](https://github.com/canvg/canvg/commit/6b43740b100bef31e64f253bb159fd6bdeaae284))


* default exports were replaced with named ([#1619](https://github.com/canvg/canvg/issues/1619)) ([2be7b78](https://github.com/canvg/canvg/commit/2be7b78aef57b70f4d4eb9fe52a02b2619e0bfa3))
* new type checking options ([#1622](https://github.com/canvg/canvg/issues/1622)) ([cd004e5](https://github.com/canvg/canvg/commit/cd004e5ca121ff1a51f4bd55da6d803d9e95c1f1))

## [3.0.9] - 2021-10-04
### Fixed
- [#1480](https://github.com/canvg/canvg/issues/1480)
- [#1484](https://github.com/canvg/canvg/issues/1484)

## [3.0.8] - 2021-07-31
### Fixed
- [#1460](https://github.com/canvg/canvg/issues/1460)
- [#108](https://github.com/canvg/canvg/issues/108)
- [#1439](https://github.com/canvg/canvg/issues/1439)
- [#1364](https://github.com/canvg/canvg/issues/1364)

## [3.0.7] - 2020-10-17
### Fixed
- [#1133](https://github.com/canvg/canvg/issues/1133)
- [#1001](https://github.com/canvg/canvg/issues/1001)
- [#977](https://github.com/canvg/canvg/issues/977)
- [#1196](https://github.com/canvg/canvg/issues/1196)
- [#1111](https://github.com/canvg/canvg/issues/1111)
- [#1161](https://github.com/canvg/canvg/issues/1161)

## [3.0.6] - 2020-03-25
### Fixed
- [#747](https://github.com/canvg/canvg/issues/747)
- [#897](https://github.com/canvg/canvg/issues/897)
- [#908](https://github.com/canvg/canvg/issues/908)
- [#941](https://github.com/canvg/canvg/issues/941)
- [#944](https://github.com/canvg/canvg/issues/944)
- [#945](https://github.com/canvg/canvg/issues/945)
- [#946](https://github.com/canvg/canvg/issues/946)

## [3.0.1] - 2019-12-03
### Fixed
- [#816](https://github.com/canvg/canvg/issues/816)

## [3.0.0] - 2019-10-23
### Added
- `OffscreenCanvas` support.

### Changed
- JavaScript -> TypeScript.

### Fixed
- [#782](https://github.com/canvg/canvg/issues/782)
- [#750](https://github.com/canvg/canvg/issues/750)
- [#735](https://github.com/canvg/canvg/issues/735)
- [#406](https://github.com/canvg/canvg/issues/406)
- [#757](https://github.com/canvg/canvg/issues/757)
- [#748](https://github.com/canvg/canvg/issues/748)
- [#694](https://github.com/canvg/canvg/issues/694)
- [#406](https://github.com/canvg/canvg/issues/406)
- [#690](https://github.com/canvg/canvg/issues/690)
- [#713](https://github.com/canvg/canvg/issues/713)
- [#716](https://github.com/canvg/canvg/pull/716)
- [#717](https://github.com/canvg/canvg/issues/717)
- [#742](https://github.com/canvg/canvg/pull/742)
