Skip to content

Releases: vasilii-kovalev/hydrate-text

5.1.0 (November 21, 2021)

21 Nov 09:38
24694f9
Compare
Choose a tag to compare

Main changes

Chore

  • Update dependencies
  • Update "Known issues" section and links to types in README.md
  • Add a test for a big amount of variables
  • Change spaces to tabs

5.0.2 (July 29, 2021)

29 Jul 07:09
62e4e70
Compare
Choose a tag to compare

Bug fixes

  • Fix incorrect type declarations

Minor changes

  • Move source code to a single file to simplify maintaining and output
  • Remove unnecessary checks in escapeRegExp

5.0.1 (July 28, 2021)

28 Jul 18:14
fd4f996
Compare
Choose a tag to compare

Breaking changes

  • Get rid of CommonJS support

Minor changes

  • Get rid of some unnecessary files in dist
  • Enable ESNext library's target

Chore

  • Update dependencies
  • Replace ts-jest by @swc-node/jest
  • Refine package.json
  • Update documentation

4.0.0 (July 13, 2021)

13 Jul 17:28
78fdbf0
Compare
Choose a tag to compare

Breaking changes

  • Make interpolationOptions in ConfigureHydrateText required
  • Make prefix and suffix in InterpolationOptions required

Minor changes

  • Add strong type checking for the variables object
  • Add BigInt support
  • Add "Known issues" section

Chore

  • Add check-dts library
  • Define correct and incorrect usage examples
  • Re-write all the tests
  • Update libraries

3.0.0 (July 7, 2021)

07 Jul 09:29
e37da6b
Compare
Choose a tag to compare

Breaking changes

  • Remove a nullish variable's value check

Chore

  • Remove isNil function
  • Improve tests
  • Refine tsconfig.esm.json
  • Add some ESLint plugins and eslint:fix script
  • Change npm/npm run to yarn in package.json
  • Improve README.md

2.0.0 (July 4, 2021)

04 Jul 10:20
e7e1a0f
Compare
Choose a tag to compare

Breaking changes

  • Remove variables as arrays support (use Object.assign({}, array) to convert an array to an object)
  • Remove null and undefined variables' types support
  • Get rid of UMD support

Chore

  • Remove unnecessary dependencies
  • Update necessary dependencies
  • Move to Yarn
  • Rework README
  • Refine and simplify all configs
  • Unify tests
  • Update date in LICENSE file
  • Add VS Code TypeScript settings
  • Move constants and types to separated folders
  • Improve isNil utility function's typing

1.2.7 (December 5, 2020)

05 Dec 19:59
baf6fd1
Compare
Choose a tag to compare
  • Update dependencies
  • Improve DX
    • Install Prettier and update files formatting
    • Remove unnecessary ESLint plugins
    • Remove unnecessary comments from tsconfig.json
    • Change master branch to main in documentation
  • Update library version

1.2.6 (September 26, 2020)

26 Sep 14:08
e0bcce0
Compare
Choose a tag to compare
  • Exclude source files from publishing build
  • Update dependencies

1.2.5 (July 25, 2020)

25 Jul 16:38
b7b0885
Compare
Choose a tag to compare
  • Add Webpack and write a configuration to create UMD builds
  • Make Webpack building uncompressed and minified UMD builds
  • Add TypeScript configurations for CJS (tsconfig.node.json) and UMD (tsconfig.webpack.json) builds
  • Write some scripts to create different builds
  • Update .eslintrc and up its version
  • Update dependencies

1.1.5 (July 23, 2020)

22 Jul 21:16
dc871da
Compare
Choose a tag to compare
  • Move types to appropriate modules and remove src/types file
  • Remove borders constants exports
  • Add/update tags, badges and description; rename variables of links
  • Remove sourceMap generating since output files are not minified and clear enough