Releases: akamai/AkamaiOPEN-edgegrid-golang
Releases · akamai/AkamaiOPEN-edgegrid-golang
GTM Maintenance Update
This release contains maintenance updates to configgtm-v1_3:
- Domain Delete added.
- Updated CommonError functions and references
- Corrected Object Structure typos
Removal of rules tree logic for merging items
This release removes merging of rules child rules behaviors and criteria so rules tree is deployed as is from terraform provider
Only exception behaviors that still merge
if behavior.Name == "cpCode" || behavior.Name == "origin"
Go module travis tooling port to go modules
Merge pull request #57 from akamai/AT-20 [AT-20][Change] Fix TXT SPF records to not remove quotes
Add support for GTM
Merge pull request #34 from viveksyngh/example_update Update API's used in documentation examples
Bug fixes, PAPI v1 Compatibility
v0.5.0 Bump client version to 0.5.0
Expanded/Simplified FastDNS/Property Manager (PAPI) APIs
DNS v1
- No longer marshal records in favor of a simpler API:
- Added
FindRecordsByName()
- Added
AddRecord()
andSetRecord()
- Added
RemoveRecord()
andRemoveRecordsByName()
- Added
- Fix API endpoint to point to correct
/config-dns
PAPI v1
- Add methods for working with the rule tree
FindRule()
FindBehavior()
FindParentRule()
AddRule()
- Add
RuleFormats.GetLatest
- Renamed
Rules.AddRule
toRules.AddChildRule()
for clarity - Added
Rules.SetChildRule()
- Added
Rules.AddChildbehavior()
- Added
Rules.SetChildBehavior()
- Added
Rules.SetCriteriaOptions()
- Added
Rules.AddCriteriaOptions()
- Added
Rules.AddChildCriteria()
- Added
Rules.SetChildCriteria()
- Added
Rules.FindCriteria()
- Added
Rules.Freeze()
- Move
Rules.PrintRules()
topapi.PrintRules()
inutil.go
Refactor and Add Concrete API implementations
This release refactors the entire package to:
- Move the client under the
client
package (in./client-v1
) - Move the edgegrid signer under
./edgegrid
(stilledgegrid
package) and splitting out the signer itself from theConfig
data structure and creation - Adds a concrete implementation of the Property Manager API (PAPI) (
papi
in./papi-v1
) - Adds a concrete implementation of the Config DNS (FastDNS) API (
configdns
in./configdns-v1
) - Adds a jsonhooks package to ensure consistency around marshaling between the JSON encoding/decoding and the Go API (
jsonhooks
injsonhooks-v1
)
Currently backwards compatibility in maintained, but is deprecated, and will be removed in v1.0. Note that the client in particular has been drastically changed — it is no longer a wrapper around http.Client
and simply provides some convenience functions to make working with http.Client
easier.
Adding Environment Support
Merge pull request #7 from dshafik/add-client [WIP] Add edgegrid.Client