v0.17.3 - 2024-04-14
- release: ensure the Docker image exists (#411)
v0.17.2 - 2024-03-21
- add an option to output test summary at last (#395)
v0.17.1 - 2024-02-26
- assert: fix retry failure if using left arrow functions for assertion
- assert: show the correct error position even when using left arrow functions
- assert: don't wrap nil error to fix notContains
- bump the minimum go version
- plugin: set GOTOOLCHAIN env for building plugins
v0.17.0 - 2024-01-26
- assert: fix errors when using assert.(and|or)
- template: convert into string in implicit concatenation
- errors: allow adding path index
- grpc: enable querying by protobuf struct tag
- grpc: enable to access metadata etc. via the request/response variable
- http: enable to access header etc. via the request/response variable
template.Executefunction requires a context.Context value as an argument to avoid a goroutine leak.
v0.16.2 - 2023-11-02
- template: don't convert int to string
v0.16.1 - 2023-11-01
- grpc: dump invalid utf8 strings as hex
v0.16.0 - 2023-10-24
- don't panic if the protocol is empty
- add continueOnError to prevent failure due to step errors
- add if field for controlling step running
- allow to access results of each step
- enable to assert by template string expressions
- cancel request contexts after each step
- assert: enable to pass custom equalers
- config: add global variables
- template: add size() function
- template: allow to call values having Call method as a function
- template: allow '$' identifier
assert.Build function requires a context.Context value as an argument to avoid a goroutine leak.
v0.15.1 - 2023-09-15
- remove workaround
v0.15.0 - 2023-09-06
- plugin: setup plugins in the order in which they are registered
- schema: add a workaround to avoid failing to load scenarios
- template: check overflow
- template: evaluate only an expression that matched the condition
- add OrderedMap
- add dump sub-command
- add ytt integration
- add input config
- grpc: contain response status in log
- template: add time and duration type
- template: add bytes type
v0.14.2 - 2023-03-03
- bump up the version of dependent modules
v0.14.1 - 2023-02-27
- schema: add Comments field
v0.14.0 - 2023-02-20
- pass bound variables to the next step
- fix to filter correctly even if / is included in subtest names
- filter test by -run flag of go test
- plugin: make RegisterSetup() not cause an error if called in tests
- reporter: change FromT implementation
- change retry unit from request to entire step
- http: add Accept-Encoding header by default
- http: enable decoding of response bodies with character encodings other than utf-8
- http: add text/html unmarshaler
v0.13.2 - 2022-12-16
- bump up the version of dependent modules
v0.13.1 - 2022-12-15
- bump up the version of dependent modules
v0.13.0 - 2022-12-08
- enable to specify report paths by absolute path
- fix generate CREDITS workflow
- enable to read config from stdin
- enable to marshal schema.Config to YAML
- errors: change error message format
v0.12.8 - 2022-10-18
- don't bind vars if included scenario failed
v0.12.7 - 2022-09-27
- template: enable to call methods
v0.12.6 - 2022-09-13
- enable to specify step timeout
- grpc: enable to use template in error details
- http: make method name case-insensitive
v0.12.5 - 2022-08-22
- plugin: go mod tidy with -compat option
v0.12.4 - 2022-07-25
- plugin: enable to replace modules to local paths
- plugin: keep replace directives
v0.12.3 - 2022-07-21
- plugin: remove plugin modules from the cache
- plugin: check remote module source versions
v0.12.2 - 2022-07-20
- mock: fix nil error bug
- plugin: force all plugins to use the same version of package
- fix maintidx error
- fix cyclop error
v0.12.1 - 2022-06-26
- release: reduce target Go versions
v0.12.0 - 2022-06-13
- plugin: suppress unnecessary plugin build logs
- plugin: don't use "main" as module name
- template: allow functions to return an error
v0.11.2 - 2022-04-26
- plugin: allow specifying sub directories of remote modules as src
v0.11.1 - 2022-04-18
- print error if fail to open plugin
- doc: setup field was deprecated
v0.11.0 - 2022-04-15
- plugin: fix issue with plugin build failure in Go1.18
- enable to marshal scenarios into YAML
- mock: enable to assert request
- template: allow writing left arrow function call in map syntax
- template: enable to use template in map keys
- template: enable to escape { by \
v0.10.0 - 2022-01-31
- update the go directive of go.mod
- plugin: use the same module version as scenarigo for building plugins
This package requires Go 1.17 or later.
v0.9.0 - 2021-12-03
- errors: Errors returns nil if no errors
- use yaml.PathBuilder to specify the pos
- add setup feature
- add "scenarigo plugin list" command
- add "scenarigo config validate" command
- add plugin sub-command
- plugin: enable registration of setup functions to be executed for each scenario
- plugin: enable to build plugin from remote "go gettable" src
- template: add bool literals
v0.8.1 - 2021-09-27
- add workaround to avoid the bug of Go 1.17
- export functions
- list command refers to the configuration file
- remove blank lines from logs
"file" and "verbose" options are removed from the list sub-command.
v0.8.0 - 2021-09-08
- enable CGO on release build
- query: do not extract by the inline field name
- template: fix a bug by nil struct field
- template: marshal variables to YAML in LAF arguments
- template: keep the original memory address
- template: marshal LAF arguments with indent
- enable cross compile with CGO
- grpc: loose type checking for equaler
- template: execute templates of data
- version: get version from build info
v0.7.0 - 2021-07-30
- assert: fix the assertion operators
- assert: fix the logic to compare Go protobuf APIv2 messages
- grpc: rename body field to message
- query: don't access unexported field
- don't use ioutil package
- change default configuration filename
- enable to set configurations by file
- add WithConfig option
- colorize outputs
- support NO_COLOR standard
- enable strictly check on request field
- use Go protobuf APIv2
- assert: enable to change the behavior of equal assertion
- query: allow accessing anonymous fields
- reuse parsed AST node to print error tokens
This package requires Go 1.16 or later.
v0.6.3 - 2021-04-08
- enable to bind vars defined in the included scenario
v0.6.2 - 2021-04-07
- plugin: avoid the error caused by loading plugins concurrently (#78)
- assert: remove query from arguments
- assert: add length assertion
- assert: add greaterThan/greaterThanOrEqual/lessThan/lessThanOrEqual (#77)
- reporter: enable to generate test report (#83)
- reporter: include the execution time of sub-tests (#82)
v0.6.1 - 2021-01-14
- template: don't convert invalid values to avoid panic
v0.6.0 - 2021-01-12
- template: enable to set to pointer values
- export RunScenario function
- add WithScenariosFromReader option
- allow template in header assertion
- assert: add regexp function
- context: add ScenarioFilePath
v0.5.1 - 2020-10-23
- template: restore funcs in args of left arrow function
- assert: add "and" function
v0.5.0 - 2020-10-05
- assert: add "or" function
- expect: enable strict option when decoding yaml for expect to prevent field misplacement (#59)
- grpc: allow using a template as code and msg
- http: allow using a template as code
v0.4.0 - 2020-09-02
- register errdetails proto messages to unmarshal Any
- expect: use the default assertion if no expect (#55)
- template: avoid to panic (#54)
- cmd: add list sub-command (#51)
v0.3.3 - 2020-06-17
- core: add generated files to avoid the import error (#41)
- deps: update YAML library ( v1.7.12 => v1.7.15 ) (#47)
- deps: update YAML library ( v1.7.10 => v1.7.11 ) (#42)
- deps: update YAML library to fix a bug ( v1.7.9 => v1.7.10 ) (#40)
- template: fix processing for variadic arguments of function (#48)
v0.3.2 - 2020-06-15
- deps: update YAML library to fix a bug ( v1.7.8 => v1.7.9 ) (#39)
v0.3.1 - 2020-06-12
- core: fix ctx.Response() for http protocol (#35)
- errors: fix incorrect line number in YAML source (#38)
v0.3.0 - 2020-06-11
- core: support to output error with YAML (#33)
v0.2.0 - 2020-06-03
- core: replace YAML libraries to goccy/go-yaml (#31)
- core: read YAML files only as scenarios (#28)
- grpc: enable to check header/trailer metadata of gRPC response (#29)
- http: enable to check HTTP response headers (#30)
change protocl.Protocol interface
- first release