Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: V4 #96

Merged
merged 42 commits into from
Nov 5, 2022
Merged

WIP: V4 #96

merged 42 commits into from
Nov 5, 2022

Conversation

tarampampam
Copy link
Owner

@tarampampam tarampampam commented Jul 18, 2022

Description

Changed

  • Go version updated from 1.18 up to 1.19
  • Sub-command quota now supports multiple keys at once
  • Default threads count for compress sub-command is now NumCPU * 6
  • Go package (module) name changed to github.com/tarampampam/tinifier/v4
  • New terminal UI

Added

  • .env file support
  • Global --version flag
  • --update-mod-date flag for compress sub-command (since this release, the original file modification date will be preserved by default)

Removed

  • Sub-command version (you can use --version flag instead)
  • Global --debug flag
  • Global --verbose flag

Fixes #95

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented on my code, particularly in hard-to-understand areas
  • I wrote unit tests for my code (if tests are required for my changes)
  • I have made changes in the CHANGELOG.md file

@tarampampam tarampampam self-assigned this Jul 18, 2022
@codecov
Copy link

codecov bot commented Jul 19, 2022

Codecov Report

Merging #96 (773db36) into master (cb176e1) will decrease coverage by 40.92%.
The diff coverage is 37.28%.

@@             Coverage Diff             @@
##           master      #96       +/-   ##
===========================================
- Coverage   81.20%   40.28%   -40.93%     
===========================================
  Files          21       16        -5     
  Lines        1043      993       -50     
===========================================
- Hits          847      400      -447     
- Misses        166      569      +403     
+ Partials       30       24        -6     
Impacted Files Coverage Δ
internal/breaker/os_signal.go 79.16% <ø> (ø)
internal/cli/compress/clients_pool.go 0.00% <0.00%> (ø)
internal/cli/compress/command.go 0.00% <0.00%> (ø)
internal/cli/compress/styles.go 0.00% <0.00%> (ø)
internal/cli/quota/command.go 0.00% <0.00%> (ø)
internal/env/env.go 100.00% <ø> (ø)
internal/version/version.go 100.00% <ø> (ø)
internal/cli/app.go 25.00% <25.00%> (ø)
internal/validate/image.go 72.72% <25.00%> (ø)
cmd/tinifier/main.go 38.09% <40.00%> (-61.91%) ⬇️
... and 7 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@tarampampam tarampampam marked this pull request as ready for review November 5, 2022 15:37
@tarampampam tarampampam merged commit b05fe89 into master Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keep the original file(s) creation date/time
1 participant