-
Notifications
You must be signed in to change notification settings - Fork 7
/
VERSION
150 lines (101 loc) · 6.66 KB
/
VERSION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
v9.5.2
v9.5.2 Bug fix in baggage options for JS client, wag-js baggage is now always a map. Server propagation now uses clever-request-id provided in baggage if available, and produces a uuid if it is not, instead of defaulting to traceid.
v9.5.1 Minor bug fix in the typing of options in the generated JS client
v9.5.0 Bugfix composite keys in a GSI with no range key. Also, generated tests are only added when opted in via a new flag, instead of by default.
v9.4.2 Add updated clientconfig to release
v9.4.1 Fix generated DynamoDB tests
v9.4.0
- Add support for date keys for dynamodb codegen
- Fix bug in transaction codegen where transaction funcs where generated multiple times
v9.3.4 go 1.21 update
v9.3.3 Fix typo for generating warning logs
v9.3.2 Fix string enums as GSIs for dynamodb
v9.3.1 4xxs errors now log at warn level
v9.3.0 Upgrade wag js to node v18, add baggage to wag js clients. Log/Propagate all baggage.
v9.2.2 fixes an unused import caused by deleting code in 9.2.1
v9.2.1 package `db` no longer provides default table names, instead `db.New` errors when a table name is not provided. This eliminates ambiguous errors when this step is missed.
v9.2.0 Fix for clientconfig overwriting global tracing providers/exporters, cleaner tracing setup
v9.1.8 Bugfix for generated JS client sync forEach method
v9.1.7 Fix a model that's just "type:string" generates invalid code
v9.1.6 Fix dynamodb codegen for datetime HASH keys in GSIs
v9.1.5 Fix import for transaction codegen
v9.1.4 Fix dynamodb codegen for transactions on multiple tables
v9.1.3 Fix for generated code supporting filtering on an enum
v9.1.2 Fixes for models attributes for DynamoDB generated tests
v9.1.1 Fixes for unused aws import in DynamoDB tests
v9.1.0 Introduce new API for generated go client creation
v9.0.3 Fixed missing include in generated client.
v9.0.2 Separated client and models modules, reduced kv and otel deps.
v8.2.1 Sort attributes list used in v8.2.0 to reduce diffs
v8.2.0 Allow filtering with non key fields on auto generated dynamo db code
v8.1.8: Allow batch read and write for arrays of size 0
v8.1.7: Fix for dynamo batch deletes when using common initialisms in composite index
v8.1.6: Add dynamodb codegen support for batch deleting arrays of objects
v8.1.5: Fixed dynamodb codegen error involving fields marked with x-nullable
v8.1.4: Add dynamodb codegen support for batch writing arrays of objects
v8.1.3: Support TS methods with a single hyphenated header variable
v8.1.2: Improve TS type for close method on js client
v8.1.1: Revert update of open-api spec dependency bump
v8.1.0: Add dynamodb codegen support for same and cross table transactions
v8.0.3: Fix generated TS types (index.d.ts) when fields might not be valid JS identifiers.
v8.0.2: Fix potential nil pointer panic when implementing your own custom RetryPolicy
v8.0.1: Remove the dependency of `wag` on `samples`. This should allow other packages to import
`github.com/Clever/wag/v8` e.g. to use the `swagger` package.
v8.0.0 is a small but breaking release.
- It brings the Go Opentelemetry dependencies up to v0.20.0 - this is breaking compared to the Wag
v7 on v0.15.0; wag v7 and v8 tracing cannot be used in the same application.
- As a result of the above change, the wag-generated Go code now requires Go 1.16 (since OTel code
does)
- There are a two minor but breaking changes in the generated Go models in some cases. Here,
breaking means that any package which commits and exports the generated Go models, for example
exposing the Go client.
For more information on the changes to generated models, and how to keep your application using the
existing behavior, please see https://github.com/Clever/wag/pull/379.
The OpenTelemetry change ports the existing behavior with no functional changes to the newer OTel
SDK version; see https://github.com/Clever/wag/pull/381. Note that tracing will still be considered
experimental in v8.x. If a new version of wag produces code that cannot be used simultaneously with
v8, we will bump wag's major version as we do here, but the details of the instrumentation, such as
which attributes are set, should not be considered stable.
## v7.x
- v7.1.1: Add close() to TypeScript clients to release outstanding handles
- v7.1.0: Properly generate TypeScript types for allOf
- v7.0.1 bugfix --client-only not generating tracing files
- v7.0.0
v7 removes all references to OpenTracing and begins adding OpenTelemetry to replace it. For now,
OpenTelemetry parts should be considered _unstable_, especially as the OpenTelemetry Go SDKs are
themselves unstable.
Support for the glide package manager for Go is also removed. Previously, wag could update your
Glide dependencies to set up the packages used by the wag generated code. Now, you should follow the
example go.mod file under samples/.
## v6.x and older
- v6.4.5: shutdown-initiated log should be info not critical
- v6.4.4: Catch engineer error for old dependencies during building
- v6.4.3: Patch bump for publishing testing
- v6.4.2: Code cleanup around timeouts for clients
- v6.4.1: Fix generated go clients logging circuit breaker events for other clients
- v6.4.0: Generate server handler with binary request body
- v6.3.0: Generate client with binary request body
- v6.2.0: Add --dynamo-only and --dynamo-path flags
- v6.1.0: Add --client-only and --client-language flags to generate only client code
- v6.0.3: Modify which fields initialized in tests, reduced to bare minimum
- v6.0.2: Fix to allow composite attributes to be used for more than one index range key
- v6.0.1: Add the status code to the client's error message when the status code is not recognized.
- v6.0.0: Revert the breaking changes to go-openapi/swag from 5.0.0.
- v5.0.0: Convert to modules
- v4.1.0: Support limiting the number of items returned by DynamoDB scans.
- v4.0.1: Fix scans on DynamoDB indexes with composite attributes
- v4.0.0: import package with correct module version
- v3.23.0: add forEachAsync method for JS clients
- v3.22.2: Fix for enum hash keys in GSIs
- v3.22.1: Fix for enum hash keys
- v3.22.0: Use http.Server.Shutdown for graceful end of life handling
- v3.21.0: Go client now uses context to control request lifecycle
- v3.20.0: Add dynamodb codegen support for scanning over global secondary indexes.
- v3.19.1: Codegen fix for KEYS_ONLY index with composite property made of required properties
- v3.19.0: JSON with Marshal() instead of MarshalIndent()
- v3.18.0: Generate TypeScript string unions for inputs that are enums.
- v3.17.0: Add support for configuration options and paramatrized settings.
- v3.16.0: Support for binary fields.
- v3.15.0: JS client enable compression
- v3.14.3: Remove unused code.
- v3.14.2: Stricter span checks to prevent tracing errors.