Skip to content

Commit 4f66f0c

Browse files
authored
Add CHANGELOG.md to document project updates (#178)
This commit introduces a new CHANGELOG.md file that adheres to the Keep a Changelog format. It documents notable changes, including version updates, improvements, and fixes across various releases, ensuring better tracking of project history and modifications.
1 parent 584d5d7 commit 4f66f0c

File tree

1 file changed

+337
-0
lines changed

1 file changed

+337
-0
lines changed

CHANGELOG.md

Lines changed: 337 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,337 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [4.2.5]
9+
10+
### Changed
11+
- Improved error handling (#177)
12+
13+
## [4.2.4]
14+
15+
### Changed
16+
- Improved panic error recovery (#176)
17+
18+
### Dependencies
19+
- Bumped github.com/grafana/grafana-plugin-sdk-go (#175)
20+
- Bumped github.com/go-sql-driver/mysql in the all-go-dependencies group (#174)
21+
22+
## [4.2.3]
23+
24+
### Added
25+
- Added panic recovery mechanism (#173)
26+
27+
### Dependencies
28+
- Bumped github.com/grafana/grafana-plugin-sdk-go (#171)
29+
- Bumped actions/setup-go in the all-github-action-dependencies group (#172)
30+
31+
### Infrastructure
32+
- Updated workflows (#170)
33+
34+
## [4.2.2]
35+
36+
### Dependencies
37+
- Bumped the all-go-dependencies group with 2 updates (#167)
38+
- Bumped golang.org/x/net from 0.36.0 to 0.38.0 in the go_modules group (#168)
39+
- Bumped github.com/go-sql-driver/mysql in the all-go-dependencies group (#166)
40+
- Bumped the all-go-dependencies group across 1 directory with 2 updates (#164)
41+
42+
## [4.2.1]
43+
44+
### Added
45+
- Made row limit configurable (#165)
46+
47+
## [4.2.0]
48+
49+
### Added
50+
- Enabled dataproxy.row_limit configuration option from Grafana (#162)
51+
52+
### Dependencies
53+
- Bumped the all-go-dependencies group with 2 updates (#160)
54+
- Bumped golang.org/x/net from 0.35.0 to 0.36.0 in the go_modules group (#161)
55+
- Bumped the all-go-dependencies group across 1 directory with 4 updates (#159)
56+
- Bumped github.com/grafana/grafana-plugin-sdk-go (#157)
57+
- Bumped github.com/grafana/grafana-plugin-sdk-go from 0.263.0 to 0.265.0 (#155)
58+
- Bumped grafana-plugin-sdk-go and removed experimental error source (#153)
59+
60+
## [4.1.7]
61+
62+
### Fixed
63+
- Fixed: return error if not nil when connecting (#151)
64+
65+
### Dependencies
66+
- Bumped x/net to v0.33.0 (#150)
67+
- Bumped github.com/grafana/grafana-plugin-sdk-go (#149)
68+
69+
## [4.1.6]
70+
71+
### Dependencies
72+
- Bumped golang.org/x/crypto from 0.29.0 to 0.31.0 in the go_modules group (#148)
73+
- Bumped github.com/grafana/grafana-plugin-sdk-go (#146)
74+
- Bumped the all-go-dependencies group with 2 updates (#145)
75+
- Bumped github.com/grafana/grafana-plugin-sdk-go (#144)
76+
77+
## [4.1.5]
78+
79+
### Added
80+
- Added pre and post health check methods (#147)
81+
82+
### Dependencies
83+
- Bumped golang.org/x/crypto from 0.29.0 to 0.31.0 in the go_modules group (#148)
84+
- Bumped github.com/grafana/grafana-plugin-sdk-go (#146)
85+
- Bumped the all-go-dependencies group with 2 updates (#145)
86+
- Bumped github.com/grafana/grafana-plugin-sdk-go (#144)
87+
88+
## [4.1.4]
89+
90+
### Fixed
91+
- Fixed error source coming from getFrames function (#142)
92+
- Fixed mistyped macros being incorrectly reported as plugin error (#141)
93+
94+
### Infrastructure
95+
- Migrated from Drone to GitHub Actions (#143)
96+
97+
## [4.1.3]
98+
99+
### Fixed
100+
- Fixed: mark incorrect macros arguments error as downstream (#140)
101+
- Fixed: implement InstanceDisposer to close db connections (#136)
102+
103+
### Dependencies
104+
- Updated dependencies and added Dependabot configuration (#138)
105+
106+
### Infrastructure
107+
- Bumped actions/checkout in the all-github-action-dependencies group (#139)
108+
109+
## [4.1.2]
110+
111+
### Security
112+
- Updated dependencies for CVE fixes (#134)
113+
114+
## [4.1.1]
115+
116+
### Changed
117+
- Updated Go version and SDK version (#130)
118+
119+
### Dependencies
120+
- Bumped google.golang.org/grpc from 1.64.0 to 1.64.1 (#129)
121+
122+
## [4.1.0]
123+
124+
### Added
125+
- Added support for context modification (#127)
126+
127+
## [4.0.0]
128+
129+
### Changed
130+
- **BREAKING**: Major version release v4.0.0 (#126)
131+
- Updated grafana-plugin-sdk-go to v0.233.0 (#125)
132+
133+
### Improved
134+
- Enhanced test coverage with more no-error checks (#123)
135+
136+
## [3.4.2]
137+
138+
### Fixed
139+
- Adjusted handling of zero-rows results (#121)
140+
141+
## [3.4.1]
142+
143+
### Added
144+
- Added SLO support: capture query and health duration with error source labeling (#122)
145+
146+
## [3.4.0]
147+
148+
### Added
149+
- Unit tests for zero-rows-returned situations (#119)
150+
- Capture duration and label with error source (#116)
151+
- Return executed query string when error occurs (#117)
152+
153+
### Fixed
154+
- Fixed Next() method in tests (#120)
155+
156+
### Documentation
157+
- Added release instructions (#115)
158+
159+
## [3.3.0]
160+
161+
### Dependencies
162+
- Updated grafana-plugin-sdk-go to v0.231.0 (#114)
163+
164+
## [3.2.0]
165+
166+
### Added
167+
- Added multi timeseries return format (#106)
168+
169+
### Changed
170+
- Used functions migrated to sqlutil (#107)
171+
172+
### Infrastructure
173+
- Added CODEOWNERS file (#104)
174+
175+
## [3.1.0]
176+
177+
### Added
178+
- Added error source support (#103)
179+
180+
## [3.0.0]
181+
182+
### Changed
183+
- **BREAKING**: Major version release v3.0.0 (#102)
184+
- Updated Go plugin SDK to 0.184.0 (#100)
185+
- Enhanced error source functionality (#99)
186+
187+
### Documentation
188+
- Updated installation instructions (#101)
189+
190+
## [2.7.2]
191+
192+
### Fixed
193+
- Fixed functions passed into macros with multiple arguments to parse correctly (#98)
194+
195+
### Added
196+
- Added capability for implementing datasources to set query args (#95)
197+
198+
## [2.7.1]
199+
200+
### Added
201+
- Added QueryFailTimes check to the test driver (#94)
202+
203+
## [2.7.0]
204+
205+
### Added
206+
- Added test driver functionality (#93)
207+
208+
## [2.6.0]
209+
210+
### Added
211+
- Added query errors handling (#92)
212+
213+
## [2.5.1]
214+
215+
### Added
216+
- Added header forwarding capability (#90)
217+
218+
## [2.5.0]
219+
220+
### Added
221+
- Added support for mutateResponse functionality (#89)
222+
223+
## [2.4.1]
224+
225+
### Fixed
226+
- Fixed map write panic (#88)
227+
228+
## [2.4.0]
229+
230+
### Added
231+
- Added QueryMutator interface for driver (#87)
232+
233+
### Infrastructure
234+
- Used organization ISSUE_COMMANDS_TOKEN with reduced scope (#86)
235+
236+
## [2.3.21]
237+
238+
### Added
239+
- Added format option for trace (#81)
240+
241+
### Fixed
242+
- Fixed macro parsing issues:
243+
- Close macro match on space if no arguments (#83)
244+
- Fixed parsing macros in more complex queries (#78)
245+
- Fixed connection leak on query retry reconnect (#79)
246+
247+
### Improved
248+
- Added retry on message functionality (#80)
249+
250+
## [2.3.0]
251+
252+
### Added
253+
- Updated Completable interface with custom options (#47)
254+
255+
## [2.2.0]
256+
257+
### Added
258+
- Added default macros support (#45)
259+
260+
### Fixed
261+
- Fixed panic issues (#40)
262+
- Fixed integration test backoff/limit
263+
264+
## [2.1.0]
265+
266+
### Added
267+
- Added support for logs format (#38)
268+
269+
## [2.0.3]
270+
271+
### Fixed
272+
- Fixed error frame return during macro parsing errors (#37)
273+
274+
## [2.0.2]
275+
276+
### Added
277+
- Added integration tests
278+
- Added tests for query timeout
279+
- Added backoff mechanism with ticker
280+
281+
## [2.0.1]
282+
283+
### Changed
284+
- Updated import path to v2
285+
286+
## [2.0.0]
287+
288+
### Changed
289+
- **BREAKING**: Major version release v2.0.0 (#33)
290+
- Updated import path to v2 (#33)
291+
- Used QueryContext for context cancellation handling
292+
- Replaced github.com/pkg/errors with stdlib
293+
294+
### Added
295+
- Added query args to modify current DB (#30)
296+
- Added timeout functionality with no results fallback
297+
- Added support for any route (#29)
298+
299+
## [1.3.0]
300+
301+
### Added
302+
- Added ability to modify query FillMode (#27)
303+
304+
### Infrastructure
305+
- Signed Drone's configuration YAML file for repository protection
306+
307+
## [1.2.0]
308+
309+
### Added
310+
- Added schema evaluation when requesting tables (#24)
311+
- Added macros with no arguments support (#23)
312+
- Added possible macros to Query struct (#22)
313+
- Added ability to return tables, schemas and columns as resources (#21)
314+
- Used refId as frame name (#18)
315+
316+
## [1.0.0]
317+
318+
### Added
319+
- Initial stable release of sqlds
320+
- Core SQL datasource functionality
321+
- Basic macro support
322+
- Connection management
323+
324+
## About
325+
326+
This changelog documents changes for the `sqlds` package, which provides a common foundation for SQL-driven datasources in Grafana. The package centralizes common SQL datasource logic to reduce code duplication across datasources like Postgres, MySQL, and MSSQL.
327+
328+
### Categories
329+
330+
- **Added**: New features
331+
- **Changed**: Changes in existing functionality
332+
- **Deprecated**: Soon-to-be removed features
333+
- **Removed**: Removed features
334+
- **Fixed**: Bug fixes
335+
- **Security**: Vulnerability fixes
336+
- **Dependencies**: Dependency updates
337+
- **Infrastructure**: CI/CD and tooling changes

0 commit comments

Comments
 (0)