Releases: OpsLevel/opslevel-go
Releases · OpsLevel/opslevel-go
v2024.7.5
July 05, 2024
Feature
- add team_member and standards_admin UserRole enums
Removed
- remove deprecated UserRoleBasicUser enum, not used in API anymore
v2024.7.2
v2024.6.17
June 17, 2024
Feature
- add abililty to list Categories on Scorecards
- add filter predicate config validation
Dependency
- Bump github.com/go-playground/validator/v10 from 10.21.0 to 10.22.0
- Bump github.com/hasura/go-graphql-client from 0.12.1 to 0.12.2
v2024.6.11
June 11, 2024
Bugfix
- enable unsetting predicates of type PredicateUpdateInput with custom JSON marshal
Dependency
- Bump github.com/hashicorp/go-retryablehttp from 0.7.6 to 0.7.7
- Bump github.com/go-playground/validator/v10 from 10.20.0 to 10.21.0
v2024.5.31
May 31, 2024
Feature
- add Validate func to Predicate struct
Dependency
- Bump github.com/rs/zerolog from 1.32.0 to 1.33.0
v2024.5.28
May 28, 2024
Bugfix
- make FileContentsPredicate a pointer in RepositorySearchCheckFragment to allow unsetting
Refactor
- BREAKING CHANGE - pointers of Predicate fields updated for AlertSourceUsageCheckFragment, RepositoryGrepCheckFragment, and RepositorySearchCheckFragment
v2024.5.13
May 13, 2024
Bugfix
- fix listing repositories. added default "visible" bool to query variables
Feature
- Add ability to get the "default repo" of a service
- Introduce Nullable generic type allows string only (to support for unsetting fields in update input structs)
- Add ServiceUpdateInputV2 - can be used to unset fields on a service like
description
,framework
,lifecycleAlias
,tierAlias
Refactor
- BREAKING - update "Usage" field in Repository struct. Was float32, is now float64
Deprecated
- Deprecate ServiceUpdateInput, is being replaced by ServiceUpdateInputV2
Dependency
- Bump github.com/go-playground/validator/v10 from 10.19.0 to 10.20.0
- Bump goreleaser/goreleaser-action from 5.0.0 to 5.1.0
- Bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.6
v2024.4.26
April 26, 2024
Bugfix
- include Schema field during infrastructure update
Feature
- Add externalId and isDefault fields to contact struct
- add listing services by filter
- add "visible" payload variable to listing repositories
Dependency
- Bump golang.org/x/net from 0.22.0 to 0.23.0
v2024.3.15
March 15, 2024
Bugfix
- CreateTags will now return joined errors
- fix list services maturity query, crashed if over 100 services
Feature
- Add support for Property.Locked and PropertyDefinition.AllowedInConfigFiles
- Add support for parent (system) on service object
Refactor
- Convert deprecated graphql.Int's to normal int's
Removed
- Removed examples since they use deprecated functions
- Removed deprecated NewClient, NewString, Bool, NewInt
Dependency
- Bump github.com/gosimple/slug from 1.13.1 to 1.14.0
- Bump github.com/go-playground/validator/v10 from 10.18.0 to 10.19.0
- Bump github.com/hasura/go-graphql-client from 0.11.0 to 0.12.1
v2024.2.26
February 26, 2024
Bugfix
- BREAKING - NewJSONInput() will not json.Marshal() on string input containing a json array/obj to prevent adding unnecessary backlashes.
Feature
- Add support for managedAliases on Teams
Refactor
- NewTagArgs(string) will return error if string is not in exact format 'key:value'
Docs
- Added godoc for json constructor and to string functions.
Dependency
- Bump github.com/relvacode/iso8601 from 1.3.0 to 1.4.0
- Bump github.com/rs/zerolog from 1.31.0 to 1.32.0
- Bump github.com/hasura/go-graphql-client from 0.10.2 to 0.11.0
- Bump codecov/codecov-action from 3 to 4
- Bump arduino/setup-task from 1 to 2
- Bump github.com/go-playground/validator/v10 from 10.16.0 to 10.18.0