Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fastly/go-fastly
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.5.4
Choose a base ref
...
head repository: fastly/go-fastly
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.5.5
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Mar 31, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    4d8457a View commit details
  2. v7.5.5 (#421)

    Integralist authored Mar 31, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    558e0b1 View commit details
Showing with 13 additions and 1 deletion.
  1. +8 −0 CHANGELOG.md
  2. +1 −1 fastly/client.go
  3. +4 −0 fastly/erl.go
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [v7.5.5](https://github.com/fastly/go-fastly/releases/tag/v7.5.5) (2023-03-31)

[Full Changelog](https://github.com/fastly/go-fastly/compare/v7.5.4...v7.5.5)

**Enhancements:**

* feat(ratelimiter): add uri_dictionary_name property [#420](https://github.com/fastly/go-fastly/pull/420)

## [v7.5.4](https://github.com/fastly/go-fastly/releases/tag/v7.5.4) (2023-03-31)

[Full Changelog](https://github.com/fastly/go-fastly/compare/v7.5.3...v7.5.4)
2 changes: 1 addition & 1 deletion fastly/client.go
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ const DefaultRealtimeStatsEndpoint = "https://rt.fastly.com"
var ProjectURL = "github.com/fastly/go-fastly"

// ProjectVersion is the version of this library.
var ProjectVersion = "7.5.4"
var ProjectVersion = "7.5.5"

// UserAgent is the user agent for this particular client.
var UserAgent = fmt.Sprintf("FastlyGo/%s (+%s; %s)",
4 changes: 4 additions & 0 deletions fastly/erl.go
Original file line number Diff line number Diff line change
@@ -274,6 +274,8 @@ type CreateERLInput struct {
ServiceID string `url:"-"`
// ServiceVersion is the specific configuration version (required).
ServiceVersion int `url:"-"`
// URIDictionaryName is the name of an Edge Dictionary containing URIs as keys. If not defined or null, all origin URIs will be rate limited.
URIDictionaryName *string `url:"uri_dictionary_name,omitempty"`
// WindowSize is the number of seconds during which the RPS limit must be exceeded in order to trigger a violation (1, 10, 60).
WindowSize *ERLWindowSize `url:"window_size,omitempty"`
}
@@ -383,6 +385,8 @@ type UpdateERLInput struct {
ResponseObjectName *string `url:"response_object_name,omitempty"`
// RpsLimit is an upper limit of requests per second allowed by the rate limiter.
RpsLimit *int `url:"rps_limit,omitempty"`
// URIDictionaryName is the name of an Edge Dictionary containing URIs as keys. If not defined or null, all origin URIs will be rate limited.
URIDictionaryName *string `url:"uri_dictionary_name,omitempty"`
// WindowSize is the number of seconds during which the RPS limit must be exceeded in order to trigger a violation (1, 10, 60).
WindowSize *ERLWindowSize `url:"window_size,omitempty"`
}