Skip to content

Latest commit

Β 

History

History
179 lines (98 loc) Β· 4.19 KB

CHANGELOG.md

File metadata and controls

179 lines (98 loc) Β· 4.19 KB

Change Log πŸ“œπŸ“

All notable changes to the "MinifyAll" CLI tool/package will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.


[1.2.2] - 2021-07-01

Fixed

  • Some issues with the preserve license

[1.2.1] - 2021-07-01

Changed

  • Updated npm packages

[1.2.0] - 2021-07-01

Added

  • Preserve comments added to fix issue #65

[1.1.16] - 2021-04-13

Added

  • Try-catch clause if the rgb/a color minifier couldn't be performed.
  • Multiple checks to not minify colours if the result isn't valid.

[1.1.14] - 2021-04-07

Fixed

  • 0% removal to check if preceding character is ":" or "(".

[1.1.13] - 2021-04-06

Added

  • CSS now removes space after a colon ":", and 0% gets transformed into just "0" to fix issue #59.

[1.1.12] - 2021-03-15

Removed

  • Spaced after a colon to close the issue #57 (this colon-space removal was probably copied from the css minifier)

[1.1.11] - 2021-03-11

Added

  • Uglify package to minimize all the dist .js files.

[1.1.10] - 2021-03-10

Changed

  • Updated npm packages.

Added

  • Some files and directories to the '.npmignore' file, to reduce the bundle size.

[1.1.9] - 2021-02-23

Fixed

  • Removed paces at the beginning, or the end of the minified code.
  • Dependency errors by updating them

[1.1.8] - 2020-09-02

Fixed

  • Issue #49. A px number with a sign which ends with 0 was appended with 0px. ex: +1200px to +1200px0px

[1.1.7] - 2020-09-01

Fixed

  • 00px was always transformed to 0px. So 1200px would be minified to 120px. It is fixed now, as MinifyAll searches if the previous character is a number or not.

[1.1.6] - 2020-08-31

Fixed

  • Issue 45. MinifyAll now supports CSS calc operations.

Added

  • Issue label bot yaml in the .github directory.

[1.1.5] - 2020-07-23

Fixed

  • Issue #43 (JSON minifier was removing a space after a comma).

Improved

  • Multiple other JSON improvements to try to remove the more spaces possible without removing spaces inside a text string.

Added

  • Test file to only test JSON/C code.

[1.1.4] - 2020-07-16

Added

  • Tests case to test the showVersion and showHelp arguments (informationalArguments.test.ts).
  • VersionUpdater.sh now also updates the informationalArguments.test.ts file.
  • npmg git hook to run versionUpdater before each commit to ensure all the versions strings are up to date.

[1.1.3] - 2020-07-14

Added

  • Script to update the version of the package in the README.md file and in the informationCLI.ts file automatically run on npm prepublish script.
  • A README.md file inside the bin/ directory that explains what is located in that directory.

[1.1.2] - 2020-05-21

Fixed

  • Test consistency and reliability as it sometimes failed because of async await problems.
  • Default value of the file is now ".", this will prevent the CLI from crashing.

Changed

  • Suffix argument changes its default value from "-min" to "" (blank string).

[1.1.1] - 2020-05-21

Added

  • Windows support in reading / creating files.
  • DeepScan badge.
  • Github workflow actions to test on CI (windows, macOs and ubuntu with node versions 13.x and 14.x).
  • Github workflow badge.
  • Stale bot and configuration in the .github/ directory.
  • Issue templates.
  • package json script to remove the dist folder without outputting errors.
  • Contribution description in the readme.md file.

Removed

  • Unnecessary await keyword in the fileControler test file.
  • License badge.
  • Excluded *.d.ts in the tsconfig file.

Fixed

  • Some typos in the changelog.md file.
  • Unused await keyword in the fileController test.
  • Package json scripts that didn't output error.

[1.1.0] - 2020-05-18

Added

  • TypeScript typings.

Fixed

  • Import of the module, from: import {MinifyAllClass} from '@josee9988/minifyall/dist/index.js'; to import { MinifyAllClass } from '@josee9988/minifyall';

[Published]

[1.0.0] - 2020-05-15

Added

  • Version 1.0.0, minifier works with HTML, CSS, JSON and JSONC.