- fix: Wrong typings for compute method by @cyjake in #87
Full Changelog: https://github.com/cyjake/ssh-config/compare/v5.0.0...v5.0.1
- fix: reserve quotation marks when handling multiple values by @cyjake in #85
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.4.4...v5.0.0
- fix: trailing comments, to be or not to be? by @cyjake in #80
- fix: determine dns lookup result with status code by @cyjake in #82
- fix: canonicalized hostname should not contain glob pattern by @cyjake in #83
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.4.3...v4.4.4
- fix: os.userInfo() might throw SystemError if homedir isn't available by @cyjake in #78
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.4.2...v4.4.3
- fix: directives with trailing comments by @cyjake in #76
- fix: match criteria with = separator by @cyjake in #75
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.4.1...v4.4.2
- remove console.log statement by @khaledez in #72
- @khaledez made their first contribution in #72
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.4.0...v4.4.1
- Export public interface by @BenjaminGrayNp1 in #70
- fix: do another pass if host canonicalization is enabled by @cyjake in #71
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.3.0...v4.4.0
- test: .compute({ Host, User }) by @cyjake in #67
- Improve TypeScript by @matthew-e-brown in #66
- Improve support for obscure ssh_config(5) rules by @BenjaminGrayNp1 in #68
- @matthew-e-brown made their first contribution in #66
- @BenjaminGrayNp1 made their first contribution in #68
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.2.1...v4.3.0
- fix: not matched sections should not present in compute result by @cyjake in #63
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.2.0...v4.2.1
- feat: parse Match criteria into an object by @cyjake in #59
- refactor: migrate to typescript by @cyjake in #60
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.1.6...v4.2.0
- Allow to remove section by function by @colas31 in #57
- @colas31 made their first contribution in #57
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.1.5...v4.1.6
- docs: config.push(...config)
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.1.4...v4.1.5
- fix: declaration of sshConfig.find() by @cyjake in #55
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.1.3...v4.1.4
- fix: IdentityAgent should be quoted if necessary by @cyjake in #52
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.1.2...v4.1.3
- docs: types field in package.json by @cyjake in #50
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.1.1...v4.1.2
- docs:
.prepend
and type definitions by @cyjake in #47 - fix: improper parsing of ProxyCommand with quotation marks by @tanhakabir in #48
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.1.0...v4.1.1
- test: switching to github actions by @cyjake in #44
- feat: add prepend function to prepend options onto config by @tanhakabir in #45
- build: switch to codecov by @cyjake in #46
- @tanhakabir made her first contribution in #45
Full Changelog: https://github.com/cyjake/ssh-config/compare/v4.0.6...v4.1.0
- fix: IdentityFile parameter value should be quoted if contains space
- fix: multiple LocalForward values should be formartted into multiple lines
- fix: should not quote directives like LocalForward (#38)
- fix: quote values that contain white spaces (36)
- fix: 'compute' fails when hosts contain regex chars #34 @roblourens
- Fix: parsing
Host
values with trailing spaces
- Fix: allow forwarding directives (and
CertificateFile
) to have multiple values (#30)
- Fix: append new section to empty config (#27)
- Breaking: prefer to separate sections with
\n\n
(#23, #24) - Breaking: drop
SSHConfig.find()
, please useSSHConfig.prototype.find()
instead
- Breaking: parse
Host
values as an Array to hold multiple patterns - Breaking: an extra line break will always be added when
.append()
ing config - Fix:
Host
can contain spaces if quoted with double quotes - Fix: quoted values can contain double quotes once they are escaped with backslash
- Fix: escape + when converting patterns to regexp
- Fix: parameter/value pairs separated with tab charactor
- Fix: appending to empty config
- Fix: auto insert newline when
.append()
ing existing config without trailing newlines. #15
- Fix: appended config shall comply with existing style, otherwhise default to two spaces. Also an extra linebreak is added after the last line.
- Fix: nagate patterns shall be matched first and fail early
- Fix: values of
IdentityFile
will now be quoted if contain space. - Fix: quoted values will have their double quotations stripped while parsed, which is a slightly breaking behavior but I think a patch version will just be fine.
- New:
config.append({ Host: '*' })
Allow appending sections via config.append({ ... })
method. Closes #12.
- Fix: trim spaces at value beginning and endding
- Fix: make example east more compact
- Fix: updated readme to be reflect 1.x changes
- Breaking: parse into a simple ast
This is a breaking change. The parse result is now a subclass of Array instead of vanila Object.
- Fix: code style and one more test case
- Merge pull request #7 from petemill/fix-leading-newline
- Only add a newline between sections if there are previous lines. Fixes #6
- Added converage with istanbul
- Added .append, .find, and .remove; fixes #4
- Added documentations about said methods
- Added badges about npm downloads, version, and build status
- Added .travis.yml
- Implemented .query and support pattern matching (poorly)
- Init repo
- Implemented
.parse
and.stringify