6a11d462cb
API: Support versioned frontend clients ( #106545 )
...
* Update the generator to include version
* Add versioned APIs
* Update imports
* Prettier
2025-06-13 13:24:37 +03:00
e33ef2885f
Chore: Remove rollup-plugin-dts ( #106442 )
...
* chore(packages): remove rollup dts plugin
* build(packages): add rollup copy plugin settings to copy ts declarations to esm and cjs builds
* build(packages): remove copy settings as result doesnt pass attw cli checks
* build(packages): use single types output in dist/types directory
* ci(packages): update prepare and validate scripts for single type builds
* fix(grafana-schema): copy raw types to dist/esm directory for grafana/scenes support
2025-06-12 15:25:16 +02:00
5c268c1734
Dependencies: Bump Go to v1.24.4 ( #106533 )
2025-06-11 14:25:48 +02:00
279bdc2636
CI: Use publint to validate npm packages ( #106521 )
...
* ci(packages): use publint to validate npm packages are good to publish
* style(validate-npm-packages): remove extra line
2025-06-11 11:05:42 +02:00
0bdcb4d080
Internationalisation: Properly expose i18n lint rule ( #106436 )
...
* properlty expose lint rule
* don't need types
* use rollup plugin copy
* fix dist path
2025-06-10 14:45:34 +01:00
ca0ac05b39
Chore: add missing build-id to the rgm-promotion step ( #105814 )
...
add missing build-id to the rgm-promotion step
2025-05-22 12:55:35 +03:00
d692bce405
Drone: Dagger needs to use go run ( #105803 )
2025-05-22 10:14:44 +03:00
8caa62ede0
CI: Select all packages in sharded tests ( #105725 )
2025-05-21 14:25:48 +02:00
13f4cf162e
CI: move grafana-build into pkg/build ( #105640 )
...
* move grafana-build into pkg/build
2025-05-20 10:48:00 -05:00
48c5b55cdb
Chore: Move rtk-client generator to scripts ( #105548 )
...
* Chore: Move rtk-client generator to scripts
* Fix path
* Update codeowners
2025-05-16 17:58:04 +03:00
b2387c1a31
Advisor: Allow to skip a step ( #104454 )
2025-05-15 16:58:45 +02:00
d7715c4220
Dependencies: Bump packages in modules with incorrect dependencies or outside of workspace ( #105455 )
...
* Dependencies: Bump github.com/getkin/kin-openapi from v0.131.0 to v0.132.0
* Dependencies: Bump github.com/openfga/openfga from v1.8.6 to v1.8.12
* Dependencies: Bump golang.org/x to latest
2025-05-15 13:09:49 +00:00
404eff947c
Azure: Update E2E image ( #105420 )
...
Update image and trigger build
2025-05-14 18:57:43 +01:00
08c55b60ab
Actions: Shard test suite ( #105166 )
2025-05-13 13:08:19 +02:00
8f17f607fa
FEMT: Add no-restricted-img-srcs
rule ( #105006 )
2025-05-12 10:34:17 +01:00
8f79e4882f
Replace usage of http.DefaultClient and http.DefaultTransport ( #104135 )
...
Remove usage of http.DefaultClient and http.DefaultTransport
Part of grafana/data-sources#484
2025-05-09 13:26:39 -04:00
9fb20efea9
Chore: Bump Go version to 1.24.3 ( #105098 )
2025-05-08 15:28:03 +02:00
1058a1a3f1
CI: Fix json parsing in levitate workflows ( #104853 )
...
* ci(levitate): remove backticks and escaping to fix json parsing
* ci(levitate): use code tag over escaping backticks - HTML FTW
* chore(prometheus-package): dummy commit to test levitate changes
* ci(levitate): use actions/github-script@v7 everywhere
2025-05-05 13:05:03 +02:00
ec35e861e0
CI: move grafana-delivery-bot
path in Drone ( #104886 )
...
* move delivery bot creds to vault
* format-drone
2025-05-02 11:55:23 -05:00
fd4afdbd2c
CI: Use docker creds from ci/common ( #104827 )
...
Use docker creds from ci/common
2025-05-01 09:32:35 -05:00
759aa12d2b
Revert "Build swagger ui in seperate webpack build" ( #104580 )
...
Revert "Build swagger ui in seperate webpack build (#102046 )"
This reverts commit 314e337d76df9adcecfd30f4a302fa9d73e56da9.
2025-04-25 22:07:43 +01:00
cdfd3caba8
Update dependency cypress to v14 ( #99916 )
...
* Update dependency cypress to v14
* update drone image
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2025-04-25 14:49:50 +01:00
314e337d76
Build swagger ui in seperate webpack build ( #102046 )
...
* Build swagger ui in seperate webpack build
* render grafana and swagger
* include light theme
* merge main
* update webassets usage
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2025-04-25 14:22:57 +01:00
618ffd0275
API clients: Add generator ( #104093 )
...
* Add API client generator
* Extract config entry template
* Fix index file
* Fix message and file pattern
* Fix generate-rtk template
* Match generated-api
* Format
* Split helpers
* Cleanup
* Remove unused helpers
* Simplify group name handling
* Run generate-apis
* Prettier
* Format + lint
* improve lint/format
* Optional filterEndpoints
* Format
* Update readme
* More updates
* Move the helpers out
* Switch to TS
* Cleanup types
* Add support for Enterprise
* Add comments
* Refactor endpoint handling and update README
* Simplify checks
* Do not register reducers and middleware for enterprise
* More docs updates
* Remove redundant sections
* Format gitignored files
* Add limitations
* Simplify types
* Simplify path logic
* Do not format OSS paths for enterprise
* dedupe
* format
* Simplify instructions
* Update lockfile
* Add comments
* Remove custom types
2025-04-25 09:42:37 +03:00
b7c0e8bd33
Scenes: add support for sourcemaps when linking ( #104328 )
...
Scenes: add support for sourcemaps when linking
2025-04-23 09:17:47 -04:00
b887e8aa05
K8s: Dashboards: Add fine grained access control checks to /apis ( #104347 )
...
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Gabriel MABILLE <gabriel.mabille@grafana.com>
Co-authored-by: Marco de Abreu <marco.deabreu@grafana.com>
Co-authored-by: Georges Chaudy <chaudyg@gmail.com>
2025-04-23 03:29:05 +01:00
45092261ab
Playlist: Move to generated api client ( #103083 )
...
* create playlist api client
* add more api client methods
* integrate new client. TODO: tests, integrate remaining util functions
* add error handling
* fix unit tests
* refactor to remove PlaylistUI type
* cleaner PlaylistStartPage
* handle generateName
* Fix startmodal name
* create generic error handling util
* prettier
* keep migration code for now
* better syntax
2025-04-16 13:27:52 +01:00
0283c98e30
K8s/Folders: Use v1beta1 and app-sdk based spec ( #103975 )
2025-04-14 23:20:10 +03:00
3fad6183aa
CloudMigrations: Create resource dependency map to validate snapshot request ( #102594 )
...
* CloudMigrations: Create resource dependency map to validate snapshot request
* CloudMigrations: Validate resource types dependencies in create snapshot request
* CloudMigrations: Update service interface to pass parsed resource types for creation
* CloudMigrations: Conditionally append resource to snapshot if enabled
* CloudMigrations: Add /cloudmigration/resources/dependencies endpoint
* CloudMigrations: Properly filter dashboards and folders from snapshot
2025-04-08 17:46:25 +02:00
9df94718ab
[main] Go: Bump to 1.24.2 ( #103521 )
...
Go: Bump to 1.24.2
It is not likely we are actually affected by the CVEs, but updating proactively is not a bad idea nonetheless.
Fixes: CVE-2025-22871
Fixes: https://github.com/grafana/grafana-operator-experience-squad/issues/1311
2025-04-08 17:12:30 +02:00
12e3b86ebb
Auto-generate cli for advisor.grafana.app ( #103465 )
2025-04-08 16:38:19 +02:00
f96e4e9ad2
Frontend: Remove Angular ( #99760 )
...
* chore(angularsupport): delete feature toggle to disable angular
* feat(angular-support): remove config.angularSupportEnabled
* chore(jest): remove angular from setup file
* chore(angular): delete angular deprecation ui components
* refactor(angular): move migration featureflags into migration notice
* chore(dashboard): remove angular deprecation notices
* chore(annotations): remove angular editor loader
* feat(appwrapper): no more angular app loading
* feat(pluginscatalog): clean up angular plugin warnings and logic
* chore(angular): delete angular app and associated files
* feat(plugins): delete old angular graph plugin
* feat(plugins): delete old angular table panel
* feat(frontend): remove unused appEvent type
* feat(dashboards): clean up angular from panel options and menu
* feat(plugins): remove graph and table-old from built in plugins and delete sdk
* feat(frontend): remove angular related imports in routes and explore graph
* feat(theme): remove angular panel styles from global styles
* chore(i18n): run make i18n-extract
* test(api_plugins_test): refresh snapshot due to deleting old graph and table plugins
* chore(angulardeprecation): delete angular migration notice components and usage
* test(frontend): clean up tests that assert rendering angular deprecation notices
* chore(backend): remove autoMigrateOldPanels feature flag
* chore(config): remove angularSupportEnabled from config preventing loading angular plugins
* chore(graphpanel): remove autoMigrateGraphPanel from feature toggles
* chore(tablepanel): delete autoMigrateTablePanel feature flag
* chore(piechart): delete autoMigratePiechartPanel feature flag
* chore(worldmappanel): remove autoMigrateWorldmapPanel feature toggle
* chore(statpanel): remove autoMigrateStatPanel feature flag
* feat(dashboards): remove automigrate feature flags and always auto migrate angular panels
* test(pluginsintegration): fix failing loader test
* test(frontend): wip: fix failures and skip erroring migration tests
* chore(codeowners): remove deleted angular related files and directories
* test(graphite): remove angular mock from test file
* test(dashboards): skip failing exporter test, remove angularSupportEnabled flags
* test(dashbaord): skip another failing panel menu test
* Tests: fixes pkg/services/pluginsintegration/loader/loader_test.go (#100505 )
* Tests: fixes pkg/services/pluginsintegration/plugins_integration_test.go
* Trigger Build
* chore(dashboards): remove angularComponent from getPanelMenu, update test
* feat(dashboards): remove all usage of AngularComponent and getAngularLoader
* chore(betterer): refresh results file
* feat(plugins): remove PluginAngularBadge component and usage
* feat(datasource_srv): remove usage of getLegacyAngularInjector
* feat(queryeditor): delete AngularQueryComponentScope type
* Chore: removes Angular from plugin_loader
* Chore: remove angular from getPlugin
* Chore: fix i18n
* Trigger Build
* Chore: remove more Angular from importPanelPlugin
* Chore: remove search options warning
* Chore: remove and deprecate Angular related
* chore(angular): remove angular dependencies from core and runtime
* chore(runtime): delete angular injector
* chore(data): delete angular scope from event bus
* chore(plugin-catalog): remove code pushing app plugins angular config page
* chore(yarn): refresh lock file
* chore(frontend): remove ng-loader from webpack configs, remove systemjs cjs plugin
* chore(navigation): remove tether-drop cleanup from GrafanaRouter, delete dependency
* chore(runtime): delete AngularLoader
* chore(betterer): refresh results file
* chore(betterer): fix out of sync results file
* feat(query): fix type and import errors in QueryEditorRow
* test(dashboards): delete skipped angular related tests
* Tests: add back tests and fix betterer
* Tests: fix broken test
* Trigger build
* chore(i18n): remove angular deprecation related strings
* test: clean up connections and plugins catalog tests
* chore(betterer): update results file
---------
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2025-04-04 11:31:35 +02:00
c7754d7065
Scripts/Build: Remove unused CI folders ( #103374 )
...
* Scripts/Build: Remove ci-deploy
* Scripts/Build: Remove ci-e2e
* Scripts/Build: Remove ci-windows-test
* Scripts/Build: Remove ci-wix
* Scripts/Build: Remove ci-msi-build
* Dependabot: Remove unused folders from docker updates
* Chore: Run make update-workspace
2025-04-03 17:44:20 +02:00
7165bc553a
CloudMigrations: Add Cypress happy path test case scenarios ( #103250 )
2025-04-03 10:34:32 +02:00
6822805c32
Grafana Runtime: Use package.json exports for internal code ( #102100 )
...
* refactor(frontend): update runtime import paths for grafana/runtime/src -> grafana/runtime
* feat(runtime): introduce internal api entrypoint and exports property
* refactor(frontend): update runtime imports to use internal entrypoint
* chore(betterer): update results file
* refactor(bookmarks): update runtime/unstable import
* chore(betterer): update results file
* test(frontend): fix failing tests due to mocking nested runtime imports
* test(datasourcesrv): fix failing tests due to mocks
* chore(alerting): clean up redundant import
* fix(packages): fix default require export pointing to types declaration file
* docs(packages): update readme related to exports
* chore(internationalization): fix import paths
* chore(betterer): update results file
2025-03-27 08:59:57 +01:00
99e49a0548
Chore: Update remaining gomod and containers to use Go 1.24.1 ( #102794 )
2025-03-25 15:23:29 +01:00
ddd3b82581
remove webpack aliasing for runtime + data ( #102449 )
2025-03-24 10:07:03 +00:00
8becf33d31
Chore: Simplify releasefinder.sh
logic ( #102569 )
...
* baldm0mma/ simplify
* baldm0mma/ add pr info
* baldm0mma/ update logic
* baldm0mma/ update language
* baldm0mma/ add PR title
* baldm0mma/ simplify logic
* baldm0mma/ add context
* baldm0mma/ adjust logic
2025-03-21 16:01:10 -06:00
02187dcb68
Feature: Add releasefinder ( #102381 )
...
* baldm0mma/ initial commit for release finder script
* baldm0mma/ check origin branches
* baldm0mma/ restructure a more robust output
* baldm0mma/ add directives
* baldm0mma/ update to more explicit handling of hashes
* baldm0mma/ debug first tag
* baldm0mma/ update logic for initial release
* baldm0mma/ update language
* baldm0mma/ update to show all release branches
* baldm0mma/ update logic to reflect security releases also
* baldm0mma/ add commit info
* baldm0mma/ remove commit messages
* baldm0mma/ add myself as codeowner
* baldm0mma/ handle backports
* baldm0mma/ add upcoming release info
* baldm0mma/ update syntax
2025-03-19 14:45:23 -06:00
ebb3902307
CI: remove frontend unit test and frontend linting from drone PR/main pipelines ( #102221 )
...
* remove frontend unit test and frontend linting from drone PR/main pipelines
* remove unused dependency on frontend test
* fail fast on frontend unit tests
* no more main-test-frontend
* update CODEOWNERS
* make job names more identifiable
2025-03-17 09:41:17 -05:00
2b3a36b572
Query library: Add selectors and turn on feature toggle in e2e ( #101347 )
...
* add selectors and turn on feature toggle in e2e
* remove unneeded feature toggle
2025-03-17 12:31:22 +00:00
dd07d3dbbe
API client generation: centralise api clients ( #102186 )
...
* centralise iam api
* centralise folder api client
* rename to baseAPI
* centralise provisioning api
* remove iam feature folder from CODEOWNERS
* fix type name
* Update public/app/features/provisioning/utils/selectors.ts
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2025-03-14 14:34:36 +00:00
c9f563e576
Grafana UI: Use package.json exports for internal code ( #101815 )
...
* feat(grafana-ui): introduce development exports to prevent importing from grafana/ui/src
* refactor(theme-generation): move theme templates into scripts so themes continue to build
* refactor(frontend): replace grafana/ui paths that use nested src with /internal or /unstable
* chore(betterer): update better results file
* feat(grafana-ui): support enterprise, remove Text component from internal
* docs(packages): update readme with exporting code conventions
2025-03-12 14:14:32 +01:00
e645a7d8ff
Chore: update golang version in .drone.yaml ( #101894 )
2025-03-11 18:25:52 +01:00
607d39b573
Folders: Add k8s API client ( #101862 )
...
* Add folder k8s API
* Betterer
* Update index
2025-03-10 12:19:14 +01:00
3a3f781dcf
Docs: Add dashboard variables content ( #101733 )
...
* Added variables section
* Updated transformations file and Makefile
* Finished Dashboard variables in transformations section
2025-03-07 09:55:39 -05:00
f52b6a5a42
Provisioning: Update spec and dependencies ( #101746 )
...
Co-authored-by: Clarity-89 <homes89@ukr.net>
2025-03-07 10:57:13 +03:00
caabb06cd8
Chore: Bump dependencies to address security issues ( #101620 )
...
* Chore: Bump golang.org/x/net to v0.36.0
* Chore: Use github.com/moby/moby version 27.5.1 instead of 26.0.0
* Chore: Bump github.com/ua-parser/uap-go to v0.0.0-20250213224047-9c035f085b90
* Chore: Bump github.com/grpc-ecosystem/go-grpc-middleware/v2 to fix 32-bit overflow issue
2025-03-06 10:12:05 +01:00
ac9615ec7d
Grafana/schema: Expose dist directory in package.json exports ( #101626 )
...
build(schema): expose dist directory in package.json exports so scenes can consume them
2025-03-06 07:09:42 +01:00
61eb837dd6
Chore: Bump Go to 1.23.7 ( #101576 )
2025-03-05 14:55:36 +01:00