All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Use Otto instead of Goja
- Conform tests (format/style) with Golang standard
- Get accessors for PACman information
- Upgraded CI to Go-1.19
- Updated dependencies
- Linting
- Renamed PACMAN_PROXIES_CREDENTIAL to PACMAN_PROXIES_AUTH
- Renamed PACMAN_CREDENTIAL to PACMAN_AUTH env var
- Updated dependencies
- Upgraded golang-ci version (CI pipeline)
- Updated dependencies
- Added ability to handle PAC filepath with or without URI, *nix or Windows, local or remote.
- Upgrade golang-ci version (CI pipeline)
- standardized Go version to 1.16
- Added ability to handle
localhost
pac proxy URI synonyms (127.0.0.1
, and0.0.0.0
).
- Upgraded dependencies, removed
PACMAN_LOG_LEVEL
. Sypl supports logging filtering, and max level fine-control.
- Added ability to specify credentials (PAC URI, PAC proxies URI) via env var.
- Prints redacted URI instead of plain one.
- Added the ability to request PAC content from a protected remote (HTTP/HTTPS) server.
- Added Sypl.
PACMAN_LOG_LEVEL
env var controls the logging level.
- Added
GetXYZ
accessors for private fields. - Added the ability to set credentials for PAC proxies.
- Added more tests, and covered more cases.
- Added more validation, and validators.
- Started breaking down code into packages (
internal
,pkg
). - Now the type of the PAC proxy is an enum (
mode
). - Improved some of the matching algol using pre-compiled (optimized) regex.
- Fixed some of the naming inconsistencies.
- Improved documentation.
- Refresh registry.
parser.Source
now returns the source of the PAC content.- Added more tests.
parser.Source
renamed toparser.Content
.
- Universal loader (text, file, remote).
parser.Source
returns the loaded PAC content.
First release.
- CI Pipeline:
- Lint
- Tests
- Documentation:
- Package's documentation (
doc.go
) - Meaningful code comments, and symbol names (
const
,var
,func
) -
GoDoc
server tested -
README.md
-
LICENSE
- Files has LICENSE in the header
- Useful
CHANGELOG.md
-
CONTRIBUTION.md
- Package's documentation (
- Automation:
-
Makefile
-
- Testing:
- Coverage 80%+
- Unit test
- Real testing
- Examples:
- Example's test file
- Errors:
- Consistent, and standardized errors (powered by
CustomError
)
- Consistent, and standardized errors (powered by
- Logging:
- Consistent, and standardized logging (powered by
Sypl
) - Output to
stdout
- Output to
stderr
- Output to file
- Consistent, and standardized logging (powered by