Full Mattermost server source with integrated Community Enterprise features. Includes vendor directory for offline/air-gapped builds. Structure: - enterprise-impl/: Enterprise feature implementations - enterprise-community/: Init files that register implementations - enterprise/: Bridge imports (community_imports.go) - vendor/: All dependencies for offline builds Build (online): go build ./cmd/mattermost Build (offline/air-gapped): go build -mod=vendor ./cmd/mattermost 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 KiB
23 KiB
CHANGELOG
Inspired from Keep a Changelog
4.5.0
Dependencies
- Bump
github.com/aws/aws-sdk-go-v2/configfrom 1.29.6 to 1.29.14 (#692) - Bump
github.com/aws/aws-sdk-gofrom 1.55.6 to 1.55.7 (#696) - Bump
github.com/wI2L/jsondifffrom 0.6.1 to 0.7.0 (#700)
Added
- Adds DataStream field to IndicesGetResp struct (#701)
- Adds
InnerHitsfield toSearchResp(#672) - Adds
FilterPathparam (#673) - Adds
Aggregationsfield toMSearchResp(#690)
Changed
- Bump golang version to 1.22 (#691)
- Change ChangeCatRecoveryItemResp Byte fields from int to string (#691)
- Changed log formatted examples code (#694)
- Improve the error reporting of invalid body response (#699)
Deprecated
Removed
Fixed
Security
4.4.0
Added
- Adds
Highlightfield toSearchHit(#654) - Adds
MatchedQueriesfield toSearchHit(#663) - Adds support for Opensearch 2.19 (#668)
Changed
Deprecated
Removed
Fixed
Security
Dependencies
- Bump
github.com/aws/aws-sdk-gofrom 1.55.5 to 1.55.6 (#657) - Bump
github.com/wI2L/jsondifffrom 0.6.0 to 0.6.1 (#643) - Bump
github.com/aws/aws-sdk-go-v2from 1.32.2 to 1.36.1 (#664) - Bump
github.com/stretchr/testifyfrom 1.9.0 to 1.10.0 (#644) - Bump
github.com/aws/aws-sdk-go-v2/configfrom 1.27.43 to 1.29.6 (#665)
4.3.0
Added
Changed
Deprecated
Removed
Fixed
- Fix ISM Transition to omitempty Conditions field (#609)
- Fix ISM Allocation field types (#609)
- Fix ISM Error Notification types (#612)
- Fix signer receiving drained body on retries (#620)
- Fix Bulk Index Items not executing failure callbacks on bulk request failure (#626)
Security
Dependencies
- Bump
github.com/aws/aws-sdk-go-v2/configfrom 1.27.31 to 1.27.43 (#611, #630, #632) - Bump
github.com/aws/aws-sdk-go-v2from 1.32.1 to 1.32.2 (#631)
4.2.0
Dependencies
- Bump
github.com/aws/aws-sdk-go-v2/configfrom 1.27.23 to 1.27.31 (#584, #588, #593, #605) - Bump
github.com/aws/aws-sdk-gofrom 1.54.12 to 1.55.5 (#583, #590, #595, #596)
Added
Changed
- Split SnapshotGetResp into sub structs (#603)
Deprecated
Removed
- Remove workflow tests against gotip (#604)
Fixed
Security
4.1.0
Added
- Adds the
Routingfield in SearchHit interface. (#516) - Adds the
SearchPipelinesfield toSearchParams(#532) - Adds support for OpenSearch 2.14 (#552)
- Adds the
Cachesfield to Node stats (#572) - Adds the
SeqNoandPrimaryTermfields inSearchHit(#574) - Adds guide on configuring the client with retry and backoff (#540)
- Adds OpenSearch 2.15 to compatibility workflow test (#575)
Changed
- Security roles get response struct has its own sub structs without omitempty (#572)
Deprecated
Removed
Fixed
- Fixes empty request body on retry with compression enabled (#543)
- Fixes
ConditionsinPolicyStateTransitionof ISM plugin (#556) - Fixes integration test response validation when response is null (#572)
- Adjust security Role struct for FLS from string to []string (#572)
- Fixes wrong response parsing for indices mapping and recovery (#572)
- Fixes wrong response parsing for security get requests (#572)
- Fixes opensearchtransport ignores request context cancellation when
retryBackoffis configured (#540) - Fixes opensearchtransport sleeps unexpectedly after the last retry (#540)
- Improves ParseError response when server response is an unknown json (#592)
Security
Dependencies
- Bump
github.com/aws/aws-sdk-gofrom 1.51.21 to 1.54.12 (#534, #537, #538, #545, #554, #557, #563, #564, #570, #579) - Bump
github.com/wI2L/jsondifffrom 0.5.1 to 0.6.0 (#535, #566) - Bump
github.com/aws/aws-sdk-go-v2/configfrom 1.27.11 to 1.27.23 (#546, #553, #558, #562, #567, #571, #577) - Bump
github.com/aws/aws-sdk-go-v2from 1.27.0 to 1.30.1 (#559, #578)
4.0.0
Added
- Adds GlobalIOUsage struct for nodes stats (#506)
- Adds the
Explanationfield containing the document explain details to theSearchHitstruct. (#504) - Adds new error types (#512)
- Adds handling of non json errors to ParseError (#512)
- Adds the
Failuresfield to opensearchapi structs (#510) - Adds the
Fieldsfield containing the document fields to theSearchHitstruct. (#508) - Adds security plugin (#507)
- Adds security settings to container for security testing (#507)
- Adds cluster.get-certs to copy admin certs out of the container (#507)
- Adds the
Fieldsfield containing stored fields to theDocumentGetRespstruct (#526) - Adds ism plugin (#524)
Changed
- Uses docker compose v2 instead of v1 (#506)
- Updates go version to 1.21 (#509)
- Moves Error structs from opensearchapi to opensearch package (#512)
- Moves parseError function from opensearchapi to opensearch package as ParseError (#512)
- Changes ParseError function to do type assertion to determine error type (#512)
- Removes unused structs and functions from opensearch (#517)
- Adjusts and extent opensearch tests for better coverage (#517)
- Bumps codecov action version to v4 (#517)
- Changes bulk error/reason field and some cat response fields to pointer as they can be nil (#510)
- Adjust workflows to work with security plugin (#507)
- Updates USER_GUIDE.md and /_samples/ (#518)
- Updates opensearchtransport.Client to use pooled gzip writer and buffer (#521)
- Use go:build tags for testing (#52?)
Deprecated
Removed
Fixed
- Fixes search request missing a slash when no indices are given (#470)
- Fixes opensearchtransport check for nil response body (#517)
Security
Dependencies
- Bumps
github.com/aws/aws-sdk-go-v2from 1.25.3 to 1.26.1 - Bumps
github.com/wI2L/jsondifffrom 0.4.0 to 0.5.1 - Bumps
github.com/aws/aws-sdk-gofrom 1.50.36 to 1.51.21 - Bumps
github.com/aws/aws-sdk-go-v2/configfrom 1.27.7 to 1.27.11
3.1.0
Added
- Adds new struct fields introduced in OpenSearch 2.12 (#482)
- Adds initial admin password environment variable and CI changes to support 2.12.0 release (#449)
- Adds
merge_idfield for indices segment request (#488)
Changed
- Updates workflow action versions (#488)
- Changes integration tests to work with secure and unsecure OpenSearch (#488)
- Moves functions from
opensearch/internal/testtointernal/testfor more general test uses (#488) - Changes
custom_foldernamefield to pointer as it can benull(#488) - Changs cat indices Primary and Replica field to pointer as it can be
null(#488) - Replaces
ioutilwithioin examples and integration tests #495
Fixed
- Fix incorrect SigV4
x-amz-content-sha256with AWS SDK v1 requests without a body (#496)
Dependencies
- Bumps
github.com/aws/aws-sdk-gofrom 1.48.13 to 1.50.36 - Bumps
github.com/aws/aws-sdk-go-v2/configfrom 1.25.11 to 1.27.7 - Bumps
github.com/stretchr/testifyfrom 1.8.4 to 1.9.0
3.0.0
Added
- Adds
Err()function to Response for detailed errors (#246) - Adds golangci-lint as code analysis tool (#313)
- Adds govulncheck to check for go vulnerablities (#405)
- Adds opensearchapi with new client and function structure (#421)
- Adds integration tests for all opensearchapi functions (#421)
- Adds guide on making raw JSON REST requests (#399)
- Adds IPV6 support in the DiscoverNodes method (#458)
Changed
- Removes the need for double error checking (#246)
- Updates and adjusted golangci-lint, solve linting complains for signer (#352)
- Solves linting complains for opensearchtransport (#353)
- Updates Developer guide to include docker build instructions (#385)
- Tests against version 2.9.0, 2.10.0, run tests in all branches, changes integration tests to wait for OpenSearch to start (#392)
- Makefile: uses docker golangci-lint, run integration test on
.folder, change coverage generation (#392) - golangci-lint: updates rules and fail when issues are found (#421)
- go: updates to golang version 1.20 (#421)
- guids: updates to work for the new opensearchapi (#421)
- Adjusts tests to new opensearchapi functions and structs (#421)
- Changes codecov to comment code coverage to each PR (#410)
- Changes module version from v2 to v3 (#444)
- Handle unexpected non-json errors with the response body (#523)
Deprecated
- Deprecates legacy API
/_template(#390)
Removed
Fixed
- Corrects AWSv4 signature on DataStream
Statswith no index name specified (#338) - Fixes GetSourceRequest
Sourcefield and deprecated theSourceparameter (#402) - Corrects developer guide summary with golang version 1.20 (#434)
Dependencies
- Bumps
github.com/aws/aws-sdk-gofrom 1.44.263 to 1.48.13 - Bumps
github.com/aws/aws-sdk-go-v2from 1.18.0 to 1.23.5 - Bumps
github.com/aws/aws-sdk-go-v2/configfrom 1.18.25 to 1.25.11 - Bumps
github.com/stretchr/testifyfrom 1.8.2 to 1.8.4 - Bumps
golang.org/x/netfrom 0.7.0 to 0.17.0 - Bumps
github.com/golangci/golangci-lint-actionfrom 1.53.3 to 1.54.2
2.3.0
Added
- Adds implementation of Data Streams API (#257)
- Adds Point In Time API (#253)
- Adds InfoResp type (#253)
- Adds markdown linter (#261)
- Adds testcases to check upsert functionality (#269)
- Adds @Jakob3xD to co-maintainers (#270)
- Adds dynamic type to _source field (#285)
- Adds testcases for Document API (#285)
- Adds
index_lifecycleguide (#287) - Adds
bulkguide (#292) - Adds
searchguide (#291) - Adds
document_lifecycleguide (#290) - Adds
index_templateguide (#289) - Adds
advanced_index_actionsguide (#288) - Adds testcases to check UpdateByQuery functionality (#304)
- Adds additional timeout after cluster start (#303)
- Adds docker healthcheck to auto restart the container (#315)
Changed
- Uses
[]stringinstead ofstringinSnapshotDeleteRequest(#237) - Updates workflows to reduce CI time, consolidate OpenSearch versions, update compatibility matrix (#242)
- Moves @svencowart to emeritus maintainers (#270)
- Reads, closes and replaces the http Reponse Body (#300)
Fixed
- Corrects curl logging to emit the correct URL destination (#101)
Dependencies
- Bumps
github.com/aws/aws-sdk-gofrom 1.44.180 to 1.44.263 - Bumps
github.com/aws/aws-sdk-go-v2from 1.17.4 to 1.18.0 - Bumps
github.com/aws/aws-sdk-go-v2/configfrom 1.18.8 to 1.18.25 - Bumps
github.com/stretchr/testifyfrom 1.8.1 to 1.8.2
2.2.0
Added
- Adds Github workflow for changelog verification (#172)
- Adds Go Documentation link for the client (#182)
- Adds support for Amazon OpenSearch Serverless (#216)
Removed
- Removes info call before performing every request (#219)
Fixed
- Renames the sequence number struct tag to if_seq_no to fix optimistic concurrency control (#166)
- Fixes
RetryOnConflicton bulk indexer (#215)
Dependencies
- Bumps
github.com/aws/aws-sdk-go-v2from 1.17.1 to 1.17.3 - Bumps
github.com/aws/aws-sdk-go-v2/configfrom 1.17.10 to 1.18.8 - Bumps
github.com/aws/aws-sdk-gofrom 1.44.176 to 1.44.180 - Bumps
github.com/aws/aws-sdk-gofrom 1.44.132 to 1.44.180 - Bumps
github.com/stretchr/testifyfrom 1.8.0 to 1.8.1 - Bumps
github.com/aws/aws-sdk-gofrom 1.44.45 to 1.44.132