Skip to content

Releases: arnetheduck/nph

v0.6.0

19 Jul 14:10
Compare
Choose a tag to compare
  • avoid putting , on its own line after complex expressions, where possible
  • allow compiling with a wider range of Nim 2.0 versions, hoping it won't break
  • a few bugfixes

v0.5.1

28 Feb 15:04
Compare
Choose a tag to compare

What's Changed

  • fix length computation of node with postifx comment (fixes #64) in #65

Full Changelog: v0.5...v0.5.1

v0.5

26 Feb 15:23
Compare
Choose a tag to compare

What's Changed

  • put overlong enum strings on new line (fixes #54) in #55
  • count = for proc / template / etc length (fixes #50) in #56
  • Allow function calls to partially fill RHS (fixes #52) in #58
  • extend trailing comma style to lists (fixes #57) in #59
  • allow first item in simple list to be complex (fixes #53) in #60
  • remove accentedName and surrounding cruft in #61
  • Make section postfix comment sticky at the right indent in #62
  • Add trailing comma at end of any long list (fixes #57) in #63

Full Changelog: v0.4.1...v0.5

v0.4.1

09 Feb 15:48
Compare
Choose a tag to compare

What's Changed

  • Update style examples for 0.4 in #48
  • fix missing comments after infix operator (fixes #47) in #49

Full Changelog: v0.4...v0.4.1

v0.4

05 Feb 10:55
537f1ce
Compare
Choose a tag to compare

What's Changed

  • .. and ..< gained spaces around them like all other infixes
  • chains of dot-calls get aligned
  • prefer putting things on a new line if this helps fit the whole expression
  • add . to simple expressions
  • fix several cases of over-indent
  • render infix expressions with operator ending the line where possible

New Contributors

Full Changelog: v0.3...v0.4

v0.3

04 Jan 16:04
Compare
Choose a tag to compare
  • Back to , as parameter separator - this helps compatibility with inline procs
  • 100% Nim compiler/stdlib compatibility
  • New manual at https://arnetheduck.github.io/nph/
  • Assorted bugfixes

Continuous prerelease

27 Dec 13:12
2bef10b
Compare
Choose a tag to compare
Continuous prerelease Pre-release
Pre-release
the comma (#23)

It turns out that `;` cannot consistently be used for parameter lists
with defaults, so we revert back to using `,` to separate identdefs
except when doing so would result in AST inequality - this works for all
known cases and returns us to comma-land generally.

* fix missing `:` in command post-statements
* fix parsing of top-level statements with `;`
(https://github.com/nim-lang/Nim/pull/23088)
* fix doc-comment support after `=` for vars, consts etc

v0.2

21 Dec 12:14
Compare
Choose a tag to compare
  • Initial versioned release
  • Comes with VSCode integration and 99% compatibibility