Releases: codecrafters-io/kafka-tester
Releases · codecrafters-io/kafka-tester
v31
Changelog
- 265a79f Merge pull request #39 from codecrafters-io/update-random-method
- 703a05d refactor: update random topic UUID generation method
- 0234e2f chore: update tester-utils dependency to v0.2.40
- 7a78ebe refactor: replace custom random integer function with tester-utils method
- d995685 chore: update dependencies in go.mod and go.sum
v30
v29
Changelog
v28
Changelog
- 586d4dd Merge pull request #35 from codecrafters-io/fix-response-logging
- a7a8cbd fix: update regex to replace hexdump lines
- 94f571a test: update fixtures
- 3307ad4 refactor: update regex pattern for hexdump in normalizeTesterOutput function
- 6a11198 test: update fixtures
- 93a2424 refactor: update all stages to use full response payload while logging out hexdump
- baa4c1c refactor: update framework methods to use new response format
- 61cbb95 refactor: add
Response
struct and update SendAndReceive method
v27
Changelog
- 586d4dd Merge pull request #35 from codecrafters-io/fix-response-logging
- a7a8cbd fix: update regex to replace hexdump lines
- 94f571a test: update fixtures
- 3307ad4 refactor: update regex pattern for hexdump in normalizeTesterOutput function
- 6a11198 test: update fixtures
- 93a2424 refactor: update all stages to use full response payload while logging out hexdump
- baa4c1c refactor: update framework methods to use new response format
- 61cbb95 refactor: add
Response
struct and update SendAndReceive method
v26
Changelog
- 234e099 Merge pull request #33 from codecrafters-io/alpha-fixes-8
- 2148566 tests: update fixtures
- 3c92ab9 tests: update fixtures
- c719738 refactor: add regex replace for Record Value and RecordBatch BaseOffset
- a7950fa tests: add tests and update fixtures
- fa05c65 chores: add comments
- 62085ec fix: fix byte comparison issue in f6
- 2b320f3 refactor: update logging and add comments for byte comparison
- 87dd6c2 refactor: update BaseOffset in cluster metadata serialization
- dc05e88 refactor: add recordBatch byte matching logic to assertion framework
- b545882 refactor: add custom byte matching logic
- 07812b0 refactor: update LastOffsetDelta in cluster metadata serialization
- 84b8498 refactor: update partition IDs in cluster metadata
v25
Changelog
- 54440f0 Merge pull request #32 from codecrafters-io/alpha-fixes-7
- d14ec39 refactor: log sent hexDump before sending is completed
- d594778 Merge pull request #31 from codecrafters-io/alpha-fixes-6
- 65a0420 refactor: update regex pattern for topic name validation
- a790a0c test: update fixtures
- 24b026c chore: update gitignore
- 036111d refactor: pass quietLogger to generate log dirs method when applicable
- 3d23d1a refactor: pass param to the generateLogDir from all stages
- 223b9de refactor: add parameter to skip writing topic directory data
- 643c60c Merge pull request #30 from codecrafters-io/alpha-fixes-5
- 7b4d5cf test: add fixtures
- 25082ad refactor: update regex pattern for topic name validation
- 48f43aa refactor: update apiVersionAssertion success logs
- 7f7e3a7 refactor: update values in our serializer for custer metadata
- d07c86f feat: add randomized unknown topic names
- 74846df test: update cluster metadata payload tests
- 2e47ced chore: add binspec cluster metadata generator + spec
- a06631e Create LICENSE
v24
Changelog
- 54440f0 Merge pull request #32 from codecrafters-io/alpha-fixes-7
- d14ec39 refactor: log sent hexDump before sending is completed
- d594778 Merge pull request #31 from codecrafters-io/alpha-fixes-6
- 65a0420 refactor: update regex pattern for topic name validation
- a790a0c test: update fixtures
- 24b026c chore: update gitignore
- 036111d refactor: pass quietLogger to generate log dirs method when applicable
- 3d23d1a refactor: pass param to the generateLogDir from all stages
- 223b9de refactor: add parameter to skip writing topic directory data
- 643c60c Merge pull request #30 from codecrafters-io/alpha-fixes-5
- 7b4d5cf test: add fixtures
- 25082ad refactor: update regex pattern for topic name validation
- 48f43aa refactor: update apiVersionAssertion success logs
- 7f7e3a7 refactor: update values in our serializer for custer metadata
- d07c86f feat: add randomized unknown topic names
- 74846df test: update cluster metadata payload tests
- 2e47ced chore: add binspec cluster metadata generator + spec
- a06631e Create LICENSE
v23
Changelog
- 2824c0f Merge pull request #29 from codecrafters-io/fetch-assertion
- 479ca57 test: update fixtures
- d1ee0ab feat: add more error codes to mapping
- 478cb34 chore: setup tester prerequisites
- 6379d91 feat: add testFetchWithMultiMessages function in f6
- 553612c feat: add testFetchWithSingleMessage function in f5
- 294ca04 refactor: update testFetchNoMessages function in f4
- 4e7e278 feat: add more error codes to mapping
- e722692 fix: update error code string issue
- 623722a refactor: remove custom checks in f3
- 971a567 refactor: call AssertNoTopics method to f2
- c5cce86 refactor: Add AssertNoTopics method to FetchResponseAssertion
- c155555 refactor: remove custom checks in f2
- 3532d7e refactor: remove custom checks in f4
- db1c7b0 refactor: utilise FetchResponseAssertion in f4
- 34fb813 refactor: improve error code logging in FetchResponseAssertion
- 9609ab7 refactor: add assertions for recordBatch + Records too in FetchResponseAssertion
- 3f2a12f refactor: add minimal FetchResponseAssertion for testing fetch responses
- 8ad5ee9 Merge pull request #28 from codecrafters-io/dtp-assertion-1
- d058718 refactor: update describeTopicPartitionsResponseAssertion fields
- c16f35b refactor: simplify error handling in test functions
- 1be4255 chore: update gitignore
- 96c574c Merge pull request #27 from codecrafters-io/dtp-assertion
- 166d72a chore: update fixture replacement regexes
- a038f6a refactor: rename assertion filename
- 9c5a59e test: update fixtures
- 3e39c2c refactor: rename files p5 to p4 and p6 to p5
- baab382 refactor: update TOPICX_UUID constant and add unknown topic name constant
- 87cef17 refactor: replace custom assertions with describeTopicAssertions in p3
- f268e74 refactor: replace custom assertions with describeTopicAssertions in p2
- 69184f7 refactor: handle nil partitionFields in DescribeTopicPartitionsResponseAssertion
- 2243f23 refactor: use updated assertion function signature
- f181d9c refactor: update assertPartitions method
- 59f4ba1 refactor: refactor AssertTopics method to use assertPartitions internally
- cc4f03f feat: add indentation to success logs
- ff3c944 refactor: add indentation to succes logs from assertion
- 8383edf refactor: update error logs in assertion framework to include minimal context
- 4f80aec refactor: replace custom assertions with header_assertion in p2
- 63ce3a8 refactor: remove log for
cursor_is_null
instead lognext_cursor (null)
- 59ed47d fix: update DescribeTopicPartition to plural
- 57360b4 refactor: replace custom assertions with describe_topic_assertion in p6
- 1b1096a refactor: replace custom assertions with header_assertion in p5
- 1d9ed2c refactor: replace custom assertions with describe_topic_assertion in p5
- e85d628 feat: add describe_topic_assertion
- 2f5a700 feat: add builder pattern for asserting topics and main body
- b872959 refactor: add DescribeTopicPartitionsResponseAssertion to assertions package
v22
Changelog
- 9db82cc Merge pull request #26 from codecrafters-io/alpha-fixes-4
- 3cf4669 refactor: use responseheaderAssertion in fetch stages
- ad19d3b refactor: remove unused imports and functions in cluster_metadata_payload_test.go
- b59b186 refactor: add checks to minVersion in ApiVersionResponseKey array
- 52a230b test: update test function names to be more descriptive
- b0ec023 fix: update decoding of partitionRecord payloads
- 70f91ab fix: update decoding of topicRecord payloads
- adb56e1 test: clean up payload decoder tests
- c97e0a0 test: clean up fetch tests
- 9813b6d fix: update decoding of featurelevel payloads
- 3abf69d fix: update decoding of begintransaction payloads
- ce3c3f7 refactor: update error message for remaining bytes after decoding cluster meta payloads
- 1378200 test: update fixtures
- 95e2ec2 refactor: reduce indentation in file generation logs
- 01b5cd4 refactor: update order of log directory generation
- 34a1b4e refactor: add .kafka_cleanshutdown file during log directory generation
- 0308c6e fix: fix hex representation for signed ints
- 9fb7a05 ci: update setup go action version to v5 in test workflow
- 9e33f6d fiix: fix logging for next_cursor struct
- 7d3cc49 refactor: improve error handling and logging in decoding cursor_presence field