Skip to content

Commit d9c5ae1

Browse files
committed
chore: update changelog for version 1.1.0 and clean up version.go comments
2 parents d2dcdce + 0b43a9d commit d9c5ae1

2 files changed

Lines changed: 25 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ All notable changes to FARP will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.1.0](https://github.com/xraph/farp/compare/v1.0.2...v1.1.0) (2026-04-12)
9+
10+
11+
### Features
12+
13+
* add collapse_service_tags option to MergerConfig and implement default method for Merger ([6f1a987](https://github.com/xraph/farp/commit/6f1a9874c2a6e3a974ce94a510e2a7acd8de5979))
14+
* add path matching and rules for API route inclusion/exclusion ([52f9c46](https://github.com/xraph/farp/commit/52f9c4602a7cd011efabdc10c7f9c717be823a7d))
15+
* Enhance OpenAPI provider to build paths from application routes ([8407831](https://github.com/xraph/farp/commit/840783156bb70d2635d3de053cda2c8fe7e952af))
16+
* Enhance service routing capabilities with route table and checksum ([5f25ffb](https://github.com/xraph/farp/commit/5f25ffb4fda698e87544d275da3df30ea4be0d1e))
17+
* implement v1.1.0 service discovery, manifest route checksums, and extended specification documentation ([09ce459](https://github.com/xraph/farp/commit/09ce4596ad254fe645a481cc4eb04e5c48c53ce4))
18+
* update release workflow to support manual triggers and improve CI status checks ([3162b6c](https://github.com/xraph/farp/commit/3162b6ca6163f2b811e82016ce69af642f50e864))
19+
20+
21+
### Code Refactoring
22+
23+
* clean up code by adding missing line breaks and comments for clarity ([d8fc45d](https://github.com/xraph/farp/commit/d8fc45d6e2e76c48fb543158d677a2c766825c84))
24+
825
## [1.0.2](https://github.com/xraph/farp/compare/v1.0.1...v1.0.2) (2025-12-08)
926

1027

version.go

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,22 @@ package farp
22

33
import "fmt"
44

5-
// Protocol version constants.
5+
// Protocol version constants
66
const (
77
// ProtocolVersion is the current FARP protocol version (semver)
8-
// v1.1.0: Added route table, routes checksum, atomic route swap,
9-
// rate limiting, circuit breaker, CORS, observability, caching,
10-
// load balancing, API versioning, middleware declarations,
11-
// and graceful shutdown configuration.
128
ProtocolVersion = "1.1.0"
139

14-
// ProtocolMajor is the major version.
10+
// ProtocolMajor is the major version
1511
ProtocolMajor = 1
1612

17-
// ProtocolMinor is the minor version.
13+
// ProtocolMinor is the minor version
1814
ProtocolMinor = 1
1915

20-
// ProtocolPatch is the patch version.
16+
// ProtocolPatch is the patch version
2117
ProtocolPatch = 0
2218
)
2319

24-
// VersionInfo provides version information about the protocol.
20+
// VersionInfo provides version information about the protocol
2521
type VersionInfo struct {
2622
// Version is the full semver string
2723
Version string `json:"version"`
@@ -36,7 +32,7 @@ type VersionInfo struct {
3632
Patch int `json:"patch"`
3733
}
3834

39-
// GetVersion returns the current protocol version information.
35+
// GetVersion returns the current protocol version information
4036
func GetVersion() VersionInfo {
4137
return VersionInfo{
4238
Version: ProtocolVersion,
@@ -48,11 +44,10 @@ func GetVersion() VersionInfo {
4844

4945
// IsCompatible checks if a manifest version is compatible with this protocol version
5046
// Compatible means the major version matches and the manifest's minor version
51-
// is less than or equal to the protocol's minor version.
47+
// is less than or equal to the protocol's minor version
5248
func IsCompatible(manifestVersion string) bool {
5349
// Parse manifest version (simple parsing for semver)
5450
var major, minor, patch int
55-
5651
_, err := fmt.Sscanf(manifestVersion, "%d.%d.%d", &major, &minor, &patch)
5752
if err != nil {
5853
return false
@@ -66,3 +61,4 @@ func IsCompatible(manifestVersion string) bool {
6661
// Protocol must support manifest's minor version or higher
6762
return minor <= ProtocolMinor
6863
}
64+

0 commit comments

Comments
 (0)