Skip to content

Latest commit

 

History

History
557 lines (320 loc) · 32.1 KB

CHANGELOG.md

File metadata and controls

557 lines (320 loc) · 32.1 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.15.1 (2024-01-31)

Chore

  • deps-dev: bump husky from 8.0.3 to 9.0.7 (8868e80)
  • deps-dev: bump jsdom from 23.2.0 to 24.0.0 (ac88ee7)
  • deps: bump @babel/traverse from 7.17.3 to 7.23.9 (8b39b5d)
  • deps: bump decode-uri-component from 0.2.0 to 0.2.2 (28756c9)
  • deps: bump follow-redirects from 1.14.9 to 1.15.5 (92a4551)
  • deps: bump json5 from 2.2.0 to 2.2.3 (a19f4fa)
  • deps: bump postcss from 8.4.6 to 8.4.33 (ca4ffdc)
  • deps: bump semver from 5.7.1 to 5.7.2 (4969ed3)
  • deps: bump word-wrap from 1.2.3 to 1.2.5 (d8f7cf8)
  • deps: downgraded ts to v4. Upgraded other deps (67faf5a)

3.15.0 (2024-01-29)

Refactors

  • bitmaptext: added ability to extend class to use BitmapText (67985b3), closes #393

3.14.1 (2024-01-14)

Bug Fixes

  • layout: fixed a linter warning (e7c2dd3)

Chore

  • deps: updated all other dependencies including prettier and jest (39d5037)
  • deps: updated dependencies (83a430b)
  • deps: upgraded electron (f6c7c7c)
  • deps: upgraded typescript and other dependencies (996c384)

3.14.0 (2023-06-09)

Bug Fixes

  • breakwords: improved bug is breakWords (dc30a9d), closes #48

3.13.2 (2023-06-09)

Bug Fixes

  • breakwords: improved bug is breakWords (dc30a9d), closes #48

3.13.1 (2023-06-09)

Bug Fixes

  • breakwords: improved bug is breakWords (dc30a9d), closes #48

3.13.0 (2023-03-16)

Features

  • breaklines: added a style that allows you to disable word wrapping for the text in a tag (00745aa), closes #214

Bug Fixes

  • tags: made a more specific error in cases where attributes are badly formed (6f0d416), closes #224

3.12.0 (2023-03-13)

Bug Fixes

  • stroke: fixes issue where size of whitespace increased with the size of the stroke (ad6bd1d), closes #303

3.11.2 (2023-03-13)

Chore

  • deps: removed some unused deps (916121c)
  • deps: updated js-dom (47fdacf)
  • deps: upgrade electron (for tests) (f40cc79)
  • deps: upgraded typescript and eslint (69fb1ad)

3.11.1 (2023-03-13)

Chore

3.11.0 (2023-02-01)

Features

3.10.1 (2023-02-01)

Bug Fixes

  • emoji: fixed an issue where user styles for emoji are overwritten (ddbd5d5), closes #329

3.10.0 (2022-12-02)

Features

  • styles: added color as an alias for the fill property (29ab892), closes #207

3.9.1 (2022-11-30)

  • pixi: Made some changes to the code that will make the codebase more compatible with Pixi v7.

3.9.0 (2022-11-30)

Features

  • decorations: added overdrawDecorations option (989da3f), closes #288 #288

3.8.1 (2022-11-23)

Chore

  • deps-dev: bump husky from 8.0.1 to 8.0.2 (6abb03e)
  • deps-dev: bump jsdom from 20.0.2 to 20.0.3 (23b2676)
  • deps-dev: bump typescript from 4.8.4 to 4.9.3 (48db222)
  • deps: bump loader-utils from 3.2.0 to 3.2.1 (45e0d61)
  • deps: updated dependencies (2145784)

3.8.0 (2022-11-07)

Chore

  • deps-dev: bump canvas from 2.10.1 to 2.10.2 (97769a4)
  • deps-dev: bump electron from 21.2.0 to 21.2.2 (a6a5281)
  • deps-dev: bump jsdom from 19.0.0 to 20.0.2 (7912d91)
  • deps-dev: bump microbundle from 0.15.0 to 0.15.1 (2f4a6b3)
  • config: cleaning up some small things in config files

Tests

  • types: improved coverage for types (35078e8)
  • layout: improved test coverage for layout
  • styles: improved test coverage for styles
  • functionalutils: improved test coverage for functionalUtils
  • test: fixed an issue with canvas package for testing
  • stringutil: improved test coverage and simplified function
  • errorMessaging: added test coverage for errorMessaging
  • pixiUtils: added additional test coverage for pixiutils

Build

  • eslint: added exception for unused vars starting with underscore
  • build: added coverage script
  • deps: updated browser matrix

Fix

  • tests: Fixed a reference to a renamed function in tests.

Refactor

  • general: separated default options and styles and renamed some token types. Added even more detailed description to the types of tokens.

Docs

  • docs: added comments and reorganized.
  • readme: tweak to readme

3.7.6 (2022-10-25)

Chore

  • deps-dev: bump eslint-plugin-prettier from 4.0.0 to 4.2.1 (9bf4253)

Tests

  • taggedtext: fixed a platform-specific pixel size test that broke after upgrading (f74f723)

3.7.5 (2022-06-13)

Bug Fixes

  • styles: fixed issue with attribute values that contain spaces (a0c3e67), closes #258

Chore

  • deps-dev: bump nth-check from 2.0.1 to 2.1.1 (cc53290)
  • deps-dev: bump standard-version from 9.3.2 to 9.5.0 (5bd0a53)
  • deps: bump async from 2.6.3 to 2.6.4 (34c6522)

3.7.4 (2022-05-29)

Chore

  • republish: 3.7.3 may have been corrupted during build. Please use this instead (75911fb)

3.7.3 (2022-05-29)

WARNING: THIS RELEASE MAY BE CORRUPTED. USE 3.7.4

Bug Fixes

  • valing: fixed issue where valign and paragraphSpacing didn't work together (7a4534b), closes #235

3.7.2 (2022-05-27)

Chore

  • deps-dev: bump electron from 18.2.4 to 19.0.1 (00c594a)
  • deps-dev: bump typescript from 4.6.4 to 4.7.2 (1341543)

3.7.1 (2022-05-27)

Chore

  • deps-dev: bump @types/jest from 27.4.1 to 27.5.0 (dabfff8)
  • deps-dev: bump electron from 18.0.1 to 18.2.4 (a5d67e9)
  • deps-dev: bump fs-extra from 10.0.1 to 10.1.0 (5a23a34)
  • deps-dev: bump husky from 7.0.4 to 8.0.1 (c75d5bd)
  • deps-dev: bump jest-canvas-mock from 2.3.1 to 2.4.0 (8744dad)
  • deps-dev: bump microbundle from 0.14.2 to 0.15.0 (9f6abe8)
  • deps-dev: bump typescript from 4.6.3 to 4.6.4 (321f4a0)
  • deps: bump convict from 6.2.1 to 6.2.3 (7d06981)
  • deps: bump ejs from 3.1.6 to 3.1.7 (04fb6b5)

3.7.0 (2022-05-26)

Bug Fixes

  • memory: drastically improved memory performance and added new method destroyImgMap() (caf3dd6), closes #245

Tests

  • imgmap: adds more descriptive errors when a destroyed texture is used for the imgMap (3a8b596), closes #245
  • memory: improved the memory test structure (memory.html) (1edb970), closes #245

3.6.1 (2022-05-02)

Bug Fixes

  • font-size: fixes fontSize percentages in attributes (bd9af9c), closes #234

3.6.0 (2022-04-05)

Bug Fixes

  • memory: improved memory management (405eed9), closes #223

3.5.3 (2022-04-05)

Chore

  • changed demo port number (c2a7545)
  • deps-dev: bump electron from 17.1.2 to 18.0.1 (ddc2963)
  • deps-dev: bump prettier from 2.6.0 to 2.6.2 (9c3a0c4)
  • deps-dev: bump typescript from 4.6.2 to 4.6.3 (ed602b5)
  • node: bump node version to 16.14.2 (9f3292c)
  • removed vscode settings from repo (d8731d7)

3.5.2 (2022-03-25)

Chore

  • deps-dev: bump @types/jest from 27.4.0 to 27.4.1 (368ab8d)
  • deps-dev: bump canvas from 2.9.0 to 2.9.1 (1d561cc)
  • deps-dev: bump electron from 17.0.1 to 17.1.2 (877489a)
  • deps-dev: bump eslint-config-prettier from 8.4.0 to 8.5.0 (1bad414)
  • deps-dev: bump fs-extra from 10.0.0 to 10.0.1 (7a55103)
  • deps-dev: bump prettier from 2.5.1 to 2.6.0 (7f127d5)
  • deps-dev: bump typescript from 4.5.5 to 4.6.2 (c2629e3)
  • deps: updated dependencies thru dependabot (f522f23)

3.5.1 (2022-03-19)

Bug Fixes

  • alignment: justified alignment types now correctly handle newlines (d9fdf35), closes #215

3.5.0 (2022-03-17)

Features

  • alignment: adds support for more types of justify layout (9097368), closes #215
    • "justify-left" - aka "justify"
    • "justify-center"
    • "justify-right"
    • "justify-all"

3.4.0 (2022-02-27)

Features

  • percent-sizes: adds support for percentage-based fontSizes (c9e5c9d), closes #107

3.3.1 (2022-02-25)

Bug Fixes

  • warnings: added target to errorMessage (3451653), closes #204

3.3.0 (2022-02-25)

Features

  • warnings: added an errorHandler in the options (89bf6c8), closes #204

Refactors

  • pixiutils: removed an unused function from pixiUtils (8b03623)

Chore

  • tests: mocked the console object in tests (0d3266e), closes #204

3.2.0 (2022-02-24)

Chore

  • deps: upgraded Pixi to latest version 6.2.x (377caa1)
  • deps: Upgraded pixi.js to latest version 6 release (d168353)

3.1.0 (2022-02-23)

Features

  • adjustbaseline: added a style property 'adjustBaseline' (a3d7c4c), closes #108

Documentation

  • readme: clarified in README that styles inherit from PIXI.TextStyle (0cba2b9), closes #193

3.0.0 (2022-02-21)

⚠ BREAKING CHANGES

  • pixi.js v6: Going forward, this project will target v6 of pixi.js

Refactors

  • pixi.js v6: added support for pixi.js@~6.1.0 (bfcc3a6), closes #119 #52

2.7.1 (2022-02-21)

Bug Fixes

  • letterspacing for icon images: added letterSpacing between icon images (8332d08), closes #194
  • letterspacing: improved support for letterSpacing (006bafe), closes #203

Chore

  • tests: removed a skipped test (db83523)

2.7.0 (2022-02-17)

Features

  • adjustFontBaseline: Added basic support for overriding font properties. (52db534), closes #108

2.6.0 (2022-02-16)

Since several patches related to the changelog and dependabot updates were released as I configured standard-version, I'm combining the following patches into 2.6.0

Documentation

  • changelog: retroactively completed the changelog by hand based on git history [7830fb4]
  • changelog: Added changelog.
  • changelog: Added standard-version and commitizen for automating changelogs.
  • changelog: added a pretteir fix for changelog before commit so it doesn't break (42e924d)

Chore

  • deps-dev: bump @types/emoji-regex from 8.0.0 to 9.2.0 (780bc63)
  • deps-dev: bump @types/jest from 27.0.3 to 27.4.0 (ad7b072)
  • deps: bump follow-redirects from 1.14.1 to 1.14.8 (23db225)
  • deps: bump nanoid from 3.1.23 to 3.2.0 (0789c1f)
  • deps-dev: Several additional dependabot updates

2.5.0 (2021-12-06)

Features

  • styles - Added paragraph spacing - closes #174

Chore

  • deps: Updated node version
  • deps-dev: upgraded prettier, jsdom, @types/jest, typescript, microbundle

2.4.0 (2021-11-17)

  • fix(icons): #179 Icon sprites now scale when fontscale is set. can be overridden with the scaleIcons flag in options

2.3.6 (2021-11-17)

  • fix: #180 regarding regex flag

  • chore(deps-dev): upgraded jsdom

2.3.5 (2021-11-05)

  • fix: #171 - Error when using justified layout on a line with only whitespace.

2.3.4 (2021-11-04)

  • fix: resolves issue with emoji-regex version

  • chore(deps): Upgraded node version

  • chore(deps-dev): upgraded microbundle

2.3.3 (2021-10-27)

  • chore(deps-dev): upgraded typescript
  • chore(deps): upgraded emoji-regex

2.3.2 (2021-10-27)

  • chore(deps-dev): upgraded http-server, husky, standard-version

2.3.1 (2021-10-15)

  • chore(deps-dev): upgraded @typescript-eslint/eslint-plugin, jsdom, @typescript-eslint/parser, @types/jest, prettier, http-server, typescript, eslint-plugin-prettier, husky
  • chore(deps): upgraded tmpl, upgraded tar

2.3.0 (2021-08-05)

  • feat(text-decoration): Adds support for default color and thickness of text decorations.

  • chore(deps-dev): upgraded @typescript-eslint/eslint-plugin, eslint, jsdom, @typescript-eslint/parser

  • chore(deps): upgraded tar

2.2.11 (2021-08-02)

  • feat: Added defaultOptions as a static property

2.2.10 (2021-07-29)

  • feat: Added defaultStyles as a static property

2.2.9 (2021-07-28)

  • NO CHANGES

2.2.8 (2021-07-28)

  • Fixes issue where space from previous line appears on next line.

  • chore(deps-dev): upgraded @typescript-eslint/eslint-plugin, @typescript-eslint/parser

2.2.7 (2021-07-25)

  • fix(wordWrap): #100, #118 - weird issues with word wrapping when the last word would cause the line to wrap.

  • chore(deps-dev): updated dependencies

2.2.6 (2021-07-22)

  • fix: minor fix for typescript types

2.2.5 (2021-07-22)

  • chore: Changed target for tsconfig

  • chore(deps-dev): upgraded @typescript-eslint/parser, @typescript-eslint/eslint-plugin

2.2.4 (2021-07-12)

  • fix: Fixed bugs with wrapping emoji.

  • fix: Changed how files are compiled to fix issue with regexp

  • chore(deps-dev): upgraded husky

2.2.3 (2021-07-12)

  • feat(emoji): #71 Added support for emoji

  • chore(deps-dev): upgraded @types/jest, @typescript-eslint/parser, @typescript-eslint/eslint-plugin

2.2.2 (2021-07-06)

  • fix: #106 - Changed the method for scaling text to get sharper results by scaling up the font-size and inverting the text-scale.

  • chore(deps-dev): upgraded @typescript-eslint/parser, @typescript-eslint/eslint-plugin, typescript, husky, eslint

2.2.1 (2021-06-30)

  • fix: changed how fontScales are handled in edge cases

2.2.0 (2021-06-30)

  • feat: #87 - Added fontScaleWidth and fontScaleHeight

  • chore(deps-dev): upgraded prettier & other dependencies

2.1.4 (2021-06-27)

  • feat: #57 - Allow setting sprite map sprites using the same inputs as Sprite.from() or Texture.from(). Added ability to work with sprites from non-sprite references including URLs

2.1.3 (2021-06-26)

  • fix: #60 - wordWrap:false is now supported and weird values for wordWrapWidth like -1 and NaN are ignored.

  • chore(deps-dev): updated dev dependencies on jsdom and canvas

2.1.2 (2021-06-25)

  • NO CHANGES

2.1.1 (2021-06-25)

  • feat(text-decoration): Support for underline, overline, and strikethrough #68

  • fix:moved default styles to style to avoid circular dependency

  • chore(deps-dev): upgraded @typescript-eslint/parser, @typescript-eslint/eslint-plugin

  • chore(deps): upgraded postcss

2.1.0 (2021-06-25)

  • feat: #54 Added text-transform but now seeing issues with positioning of the text since the layout happens before hte transformation.

  • Fix(text-decoration): Got the text decorations working much better. Still to fix, make decoration lines stretch across entire tag / line. More testing of edge cases.

  • chore(demo): updated pixi version in demo

  • chore(demo): Updated demos to avoid warnings in console

  • chore(deps-dev): upgraded microbundle, prettier, microbundle, typescript, eslint, @typescript-eslint/eslint-plugin, @typescript-eslint/parser

  • chore(deps): upgraded ws

2.0.3 (2021-05-30)

  • fix #67 - icon sizes at the beginning of a line

  • chore(deps-dev): upgraded eslint

2.0.2 (2021-05-21)

  • Fixed #66 - self-closing tags
  • Fixed prettier issue

2.0.1 (2021-05-19)

  • fix: #49 Added stroke size into calculation of baseline.

  • chore(test): Unflagged some tests that were being skipped.

  • chore(deps-dev): upgraded canvas, @typescript-eslint/parser

2.0.0 (2021-05-16)

  • First full version since forking from pixi-rich-text