~samwhited/mux

fee92349f2a19f0aac78c0806e327e0f3d71feed — Sam Whited 8 months ago d763f44 master v0.0.4
mux: add changelog and release v0.0.4
1 files changed, 27 insertions(+), 0 deletions(-)

A CHANGELOG.md
A CHANGELOG.md => CHANGELOG.md +27 -0
@@ 0,0 1,27 @@
# Changelog

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].

[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/
[Semantic Versioning]: http://semver.org/spec/v2.0.0.html


## 0.0.4 — 2020–03–19

### Breaking

- Remove `offset` field from [`ParamInfo`] type
- Remove `ok bool` return value from [`Param`] function as it was rarely used
  and is the same as checking `paramInfo.Value != nil`

### Added

- New [`WithParam`] and [`Path`] functions to simplify route normalization

[`ParamInfo`]: https://pkg.go.dev/code.soquee.net/mux#ParamInfo
[`Param`]: https://pkg.go.dev/code.soquee.net/mux#Param
[`WithParam`]: https://pkg.go.dev/code.soquee.net/mux#WithParam
[`Path`]: https://pkg.go.dev/code.soquee.net/mux#Path