Releases: vasilii-kovalev/hydrate-text
Releases · vasilii-kovalev/hydrate-text
5.1.0 (November 21, 2021)
Main changes
- Support tail-recursion elimination on conditional types, that comes with TypeScript 4.5 and allows users to use more variables (infinity?), than before. Fixes #27.
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)
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)
Breaking changes
- Get rid of CommonJS support
Minor changes
- Get rid of some unnecessary files in
dist - Enable
ESNextlibrary's target
Chore
- Update dependencies
- Replace
ts-jestby@swc-node/jest - Refine
package.json - Update documentation
4.0.0 (July 13, 2021)
Breaking changes
- Make
interpolationOptionsinConfigureHydrateTextrequired - Make
prefixandsuffixinInterpolationOptionsrequired
Minor changes
- Add strong type checking for the variables object
- Add
BigIntsupport - Add "Known issues" section
Chore
- Add
check-dtslibrary - Define correct and incorrect usage examples
- Re-write all the tests
- Update libraries
3.0.0 (July 7, 2021)
Breaking changes
- Remove a nullish variable's value check
Chore
- Remove
isNilfunction - Improve tests
- Refine
tsconfig.esm.json - Add some ESLint plugins and
eslint:fixscript - Change
npm/npm runtoyarninpackage.json - Improve
README.md
2.0.0 (July 4, 2021)
Breaking changes
- Remove variables as arrays support (use
Object.assign({}, array)to convert an array to an object) - Remove
nullandundefinedvariables' 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
isNilutility function's typing
1.2.7 (December 5, 2020)
- Update dependencies
- Improve DX
- Install Prettier and update files formatting
- Remove unnecessary ESLint plugins
- Remove unnecessary comments from
tsconfig.json - Change
masterbranch tomainin documentation
- Update library version
1.2.6 (September 26, 2020)
- Exclude source files from publishing build
- Update dependencies
1.2.5 (July 25, 2020)
- 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
.eslintrcand up its version - Update dependencies
1.1.5 (July 23, 2020)
- 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