Skip to content

Releases: tektoncd/hub

v1.10.0

20 Sep 12:55
Compare
Choose a tag to compare

Hub Release Note

Hub v1.10.0 πŸŽ‰

This release updates the install command on the description page to use recently added new Hub API endpoint to install a resource. This release disables the search in the sort dropdown. There has been dependency bumps included like pipeline v0.40.0 release etc.

ChangeLog :spiral_note_pad:

UI

  • Fix background color for Footer #660
  • Disables search in the sort by dropdown #658
  • Updates Install command on description page #637

Miscellaneous

  • Bump github.com/ikawaha/goahttpcheck from 1.11.3 to 1.11.4 #607
  • Bump gorm.io/driver/postgres from 1.3.8 to 1.3.9 #608
  • Bump alpine from 3.16.1 to 3.16.2 in /images #609
  • Bump gorm.io/driver/postgres from 1.3.8 to 1.3.9
  • Manually trigger github action #620
  • Updates go version to 1.18.x in goa gen workflow #623
  • Bump ejs and react-scripts in /swagger #612
  • Bump ansi-regex from 5.0.0 to 5.0.1 in /swagger #624
  • Bump @braintree/sanitize-url and swagger-ui-react in /swagger #625
  • Adds committer in github workflows #634
  • Bumps goa version and updates the gen folder #622
  • Bump go.uber.org/zap from 1.22.0 to 1.23.0 #630
  • Bump github.com/go-co-op/gocron from 1.16.2 to 1.17.0 #629
  • Bump github.com/ikawaha/goahttpcheck from 1.11.4 to 1.12.0 #631
  • Fixes react-scripts errors and type check warnings #626
  • Removes react-test-renderer npm package #639
  • Bumps goa version and updates the gen folder #642
  • Bump @types/react-syntax-highlighter from 15.5.2 to 15.5.5 in /ui #641
  • Bump @testing-library/jest-dom from 5.16.4 to 5.16.5 in /ui #640
  • Bump github.com/ikawaha/goahttpcheck from 1.12.0 to 1.12.1 #644
  • Bump github.com/spf13/viper from 1.12.0 to 1.13.0 #643
  • Bump @typescript-eslint/parser from 4.0.1 to 5.36.2 in /ui #646
  • Bump @typescript-eslint/eslint-plugin from 5.30.7 to 5.36.2 in /ui #645
  • Bump react-hotkeys-hook from 3.4.4 to 3.4.7 in /ui #648
  • Bump github.com/AlecAivazis/survey/v2 from 2.3.5 to 2.3.6 #649
  • Bump @patternfly/patternfly from 4.196.7 to 4.210.2 in /ui #650
  • Bump gorm.io/driver/postgres from 1.3.9 to 1.3.10 #653
  • Bump gorm.io/gorm from 1.23.8 to 1.23.9 #654
  • Updates release scripts to create new release branch #657
  • Bump github.com/tektoncd/pipeline from 0.39.0 to 0.40.0 #659

Thanks ❀️ :hugging_face:

v1.9.0

10 Aug 05:53
Compare
Choose a tag to compare

Hub v1.9.0 πŸŽ‰

This release adds an endpoint to fetch a Tekton Resource Raw YAML which can be used to apply the resource directly on cluster. On the UI, now the resources can also be filtered on the basis of their last updated date. Along with that, refactoring to show error messages on UI when API server is not reachable. This release also contains few dependency bumps.

ChangeLog πŸ—’οΈ

UI

  • Adds an error message to show on ui if api server is down #345
  • Allow sorting the resources by Last Updated At #469

API

  • Add an Endpoint for Fetching a Tekton Resource Raw YAML File #539

Miscellaneous

  • Bump github.com/go-testfixtures/testfixtures/v3 from 3.8.0 to 3.8.1 #602
  • πŸ€– Adds bot for updating gen directory πŸ€– #596
  • Bump github.com/tektoncd/pipeline from 0.38.1 to 0.38.2 #600
  • Bump github.com/go-co-op/gocron from 1.16.1 to 1.16.2 #598
  • Bumps Goa to 3.8.2 and updates gen folder #603
  • Bumps goa version to v3.7.14 and updates the gen folder #597
  • Run all tests if changes are made to test/ dir #594
  • Bump github.com/go-co-op/gocron from 1.15.1 to 1.16.1 #595
  • Bump node from 17-alpine3.14 to 18-alpine3.14 in /images #481
  • Bump github.com/tektoncd/pipeline from 0.37.2 to 0.38.1 #593
  • Bump @typescript-eslint/eslint-plugin from 4.0.1 to 5.30.7 in /ui #591
  • Adds type for axios error due to typescript bump #572
  • Bump typescript from 3.9.7 to 4.7.4 in /ui #572
  • Bump github.com/go-co-op/gocron from 1.15.0 to 1.15.1 #586
  • Run tests if changes are detected in specific dir #585
  • Bump alpine from 3.16.0 to 3.16.1 in /images #589
  • Bump github.com/ikawaha/goahttpcheck from 1.11.2 to 1.11.3 ht88s://github.com//pull/588
  • Fix Swagger UI Catalog example typo #578
  • Updates gen folder for preview and v1 api's #590
  • Bump goa.design/plugins/v3 from 3.7.12 to 3.7.13 #590
  • Bump terser from 4.8.0 to 4.8.1 in /swagger #583
  • Bump terser from 4.8.0 to 4.8.1 in /ui #582
  • Bump goa to v3.7.12 #581
  • Bump moment from 2.29.3 to 2.29.4 in /ui #571
  • Bump github.com/ikawaha/goahttpcheck from 1.11.1 to 1.11.2 #569
  • Bump gorm.io/gorm from 1.23.7 to 1.23.8 #570
  • Bump github.com/tektoncd/pipeline from 0.37.1 to 0.37.2 #568
  • Move to go 1.17 #567
  • Bump github.com/go-testfixtures/testfixtures/v3 from 3.7.0 to 3.8.0 #565
  • Bump gorm.io/driver/postgres from 1.3.7 to 1.3.8 #563
  • Bump tektoncd/pipeline to v0.37.1 #562
  • Bump gorm.io/gorm from 1.23.6 to 1.23.7 #560
  • Bump mobx from 6.5.0 to 6.6.1 in /ui #559
  • Bump github.com/go-co-op/gocron from 1.14.0 to 1.15.0 #555
  • Bump github.com/markbates/goth from 1.72.0 to 1.73.0 #550
  • Bump github.com/ikawaha/goahttpcheck from 1.11.0 to 1.11.1 #552
  • Bump goa.design/plugins/v3 from 3.7.6 to 3.7.10 #557
  • Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 #554
  • Update gen folder for goa 3.7.10 #558
  • Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 #551
  • Bump github.com/stretchr/testify from 1.7.2 to 1.7.5 #553

Thanks ❀️ πŸ€—

v1.8.0

27 Jun 12:59
Compare
Choose a tag to compare

Hub v1.8.0 πŸŽ‰

This release adds a feature to automatically refresh the catalogs at a default interval (default 30 minutes) so that the changes made to the catalogs are reflected on the Hub. The interval for catalog refresh can be configured in tekton-hub-api configmap.
Now at the time of hub deployment, resources will be available on first start of api server without manually performing steps. Also, hub can be deployed without setting up OAuth, resulting in rating and login disabled on UI. Few dependency bumps and refactoring in UI.

ChangeLog πŸ—’οΈ

UI

  • Fix spinner css and update css classname#500
  • Disable login and rating on UI #542
  • Update UI dockerfile to imclude .npmrc file #548

API

  • Updates gen folder for preview and v1 api's #499
  • Add resources to database during api start#510
  • Skip to read JWTconfig env if AUTH_BASE_URL is empty#541
  • Automate the catalog refresh by job scheduling package in api#547

Miscellaneous

  • Adds POSTGRES_HOST as a secret for db #543
  • Update deployment doc and api config to automate the catalog refresh #547
  • Bump gotest.tools/v3 from 3.2.0 to 3.3.0#545
  • Bump @testing-library/user-event from 14.2.0 to 14.2.1 in /ui #544
  • Bump prettier from 2.6.2 to 2.7.0 in /ui #540
  • Bump @testing-library/user-event from 14.1.1 to 14.2.0 in /ui #538
  • Bump @types/node from 17.0.38 to 17.0.42 in /ui #537
  • Bump @types/react-syntax-highlighter from 13.5.2 to 15.5.2 in /ui #536
  • Bump github.com/ikawaha/goahttpcheck from 1.10.0 to 1.11.0 #535
  • Bump github.com/AlecAivazis/survey/v2 from 2.3.4 to 2.3.5 #534
  • Bump enzyme-to-json from 3.5.0 to 3.6.2 in /ui #533
  • Bump gorm.io/gorm from 1.23.4 to 1.23.6 #532
  • Bump @patternfly/patternfly from 4.185.1 to 4.196.7 in /ui #531
  • Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 #529
  • Bump goa to 3.7.6 and updates gen folder for preview and v1 api's #528
  • Bump goa.design/plugins/v3 from 3.7.5 to 3.7.6 #527
  • Add label dependabot PRs ok-to-test… #525
  • Bump fuzzysort from 1.2.1 to 2.0.1 in /ui #524
  • Bump use-debounce from 7.0.1 to 8.0.1 in /ui #523
  • dependabot: move to a weekly basis #522
  • Bump moment from 2.29.2 to 2.29.3 in /ui #521
  • Bump eslint-plugin-prettier from 3.1.4 to 4.0.0 in /ui #520
  • Bump eventsource from 1.1.0 to 1.1.1 in /swagger #519
  • Bump @types/node from 17.0.26 to 17.0.38 in /ui #518
  • Bump eventsource from 1.1.0 to 1.1.1 in /ui #517
  • Bump axios from 0.26.1 to 0.27.2 in /ui #516
  • Bump gorm.io/driver/postgres from 1.3.6 to 1.3.7 #515
  • Bump github.com/go-gormigrate/gormigrate/v2 from 2.0.1 to 2.0.2 #514
  • Bump github.com/go-testfixtures/testfixtures/v3 from 3.6.2 to 3.7.0 #513
  • Bump github.com/spf13/viper from 1.11.0 to 1.12.0 #512
  • Bump swagger-ui-react from 3.45.1 to 4.1.3 in /swagger #511
  • Bump alpine from 3.15.4 to 3.16.0 in /images #509
  • Bump gorm.io/driver/postgres from 1.3.5 to 1.3.6 #508
  • Bump goa.design/plugins/v3 from 3.7.3 to 3.7.5 #507
  • Bump goa.design/goa/v3 from 3.7.3 to 3.7.5 #505
  • Bump github.com/go-testfixtures/testfixtures/v3 from 3.6.1 to 3.6.2 #503
  • Bump golang from 1.18.1-alpine3.14 to 1.18.2-alpine3.14 in /images #501
  • Bump github.com/markbates/goth from 1.71.1 to 1.72.0 #497
  • Bump goa.design/plugins/v3 from 3.7.2 to 3.7.3 #496
  • Bump goa.design/goa/v3 from 3.7.2 to 3.7.3 #495
  • Bump cross-fetch from 3.1.3 to 3.1.5 in /swagger #494

Thanks ❀️ πŸ€—

v1.7.3

02 May 10:41
Compare
Choose a tag to compare

Hub v1.7.3 πŸŽ‰

This minor release splits the nginx.conf by separating locations directive so that it works with images like registry.access.redhat.com/ubi8/nginx-120 where the nginx.conf is present and only locations directive
is required

ChangeLog πŸ—’οΈ

Misc πŸ”¨

  • Split the nginx.conf by separating locations directive #493

Thanks ❀️ πŸ€—

v1.7.2

11 Apr 09:08
Compare
Choose a tag to compare

Hub v1.7.2 πŸŽ‰

This release adds GOMAXPROCS to support k8s CPU quota, adds resource requests and limits for db, api and ui. This release also redirects all the preview api's to /v1

ChangeLog πŸ—’οΈ

API ✨

  • Add GOMAXPROCS to support CPU quota #402
  • Adds resource requests and limits for api, db and ui #403
  • Redirects preview API's to /v1 #435

Thanks ❀️ πŸ€—

v1.7.1

21 Mar 06:15
Compare
Choose a tag to compare

Hub v1.7.1 πŸŽ‰

This release updates the clone path for catalog. For /resources api it adds a redirection to v1/resources and also revert the /resource/{id}/versiosn api to support backward
compatibility .

ChangeLog πŸ—’οΈ

API ✨

  • Redirects /resources api to /v1/resources #398
  • Revert /resource/{id}/versions api #397

Misc πŸ”¨

  • Change catalog default clone path and update docs #396

Thanks ❀️ πŸ€—

v1.7.0

07 Mar 13:39
Compare
Choose a tag to compare

Hub v1.7.0 πŸŽ‰

This release was majorly focused on adding support for private git instance where it clone the private catalog repo as well and refresh the catalog. It also adds two new endpoints /readme and /yaml where now UI can get the readme and yaml from the api server instead of getting it from Github. In this release preview api's are also removed. Adds a doc for upgrading Hub from v1.6.0 to v1.7.0 .

Deprecation Notice ⚠️

We deprecated the preview APIs in v1.0.0 release, i.e., all the APIs related to resources are removed now. Please use the /v1 APIs. Details are as follows:

  • /query -> /v1/query
  • /resources -> /v1/resources
  • /resource/<id> -> /v1/resource/<id>
  • /resource/<catalog>/<kind>/<name> -> /v1/resource/<catalog>/<kind>/<name>
  • /resource/<catalog>/<kind>/<name>/<version> -> /v1/resource/<catalog>/<kind>/<name>/<version>
  • /resource/<id>/versions -> /v1/resource/<id>/versions
  • /resource/version/<versionID> -> /v1/resource/version/<versionID>

ChangeLog πŸ—’οΈ

API ✨

  • Add ability to clone private git repos and add /readme and /yaml Endpoints #376
  • Store the cloned catalog in persistent storage #380
  • Fix Generation of Raw Readme and YAMLs in v1 APIs #369
  • Bump golang to 1.16 in Dockerfile #390
  • Removes hub preview APIs for resources #386
  • Updated deps to latest for pipeline #387
  • Fixes username check when the pod gets restarted #382

UI ✨

  • Update UI to fetch README and YAML from Hub APIs #376

CLI ✨

  • Update Hub CLI to use /v1 api's as preview api will be removed #358
  • Updates get , install, reinstall, upgrade and downgrade commands to use latest api #388

Misc πŸ”¨

  • Fixes the path for building the images in release script #392
  • Trims Api and UI config urls #385
  • Adds a doc for upgrading Hub v1.6.0 to v1.7.0 #389
  • Updates deployment configs to include the prefix tekton-hub- #379
  • Adds Hub Swagger UI url in readme #370
  • Update ingress for swagger #368
  • Vendoring, root go.mod and Dockerfile updates #367

Thanks ❀️ πŸ€—

v1.6.0

03 Feb 06:50
Compare
Choose a tag to compare

Hub v1.6.0 πŸŽ‰

This release was majorly focused on adding a new OAuth server along with support of Gitlab and BitBucket as new OAuth providers. With this new OAuth server it has now become easy to plug in a new git provider whenever required.

On API side, we have added support for Gitlab and BitBucket apart from Github as OAuth provider for login and for that we are using Goth as OAuth provider. We have also modified the response of resources API to return the Hub UI endpoint for each resource.

On UI side, we can now share a particular version of the task from Hub UI. Also we have enhanced the Login view which can now incorporate multiple oauth providers.

On CLI side, Hub commands are now made compatible with development version of Pipelines apart from released Pipelines version. Moreover, we have started to use /v1 APIs for resources.

Deprecation Notice ⚠️

We deprecated the preview APIs in v1.0.0 release, i.e., all the APIs relate to resources were deprecated and now will be removing that in the next release. Please start using /v1 APIs instead. Details are as follows:

  • /query -> /v1/query
  • /resources -> /v1/resources
  • /resource/<id> -> /v1/resource/<id>
  • /resource/<catalog>/<kind>/<name> -> /v1/resource/<catalog>/<kind>/<name>
  • /resource/<catalog>/<kind>/<name>/<version> -> /v1/resource/<catalog>/<kind>/<name>/<version>
  • /resource/<id>/versions -> /v1/resource/<id>/versions
  • /resource/version/<versionID> -> /v1/resource/version/<versionID>

ChangeLog πŸ—’οΈ

API ✨

  • Adds implementation for Auth Server Using Goth #315
  • Migrate User API's to auth server #325
  • Handle user data and add Gitlab,Bitbucket Support #334
  • Change user_name to userName in /info API #352
  • Adds Hub Url path in resources api response #346
  • Handles user data username case formatting #359

UI ✨

  • Updates auth UI to supports multiple auth provider #306
  • Fixes error handling condition for login #364
  • Adds selected resource's version as param to the details page url #347

CLI ✨

  • Update Hub CLI to use /v1 api's as preview api will be removed #358
  • Allow installing Hub tasks on development version of Pipelines #333

Misc πŸ”¨

  • Minor fixes in API and UI and Config files updates #357
  • Updates the CONFIG_JS variable in start.sh by making it parameterized #355
  • Update UI snapshots to match the current year #350
  • Update deployment configs with latest envs #349
  • Updates the gen folder #339
  • Adds a script to generate release yamls #335
  • Adds Vinamra as Hub Owner πŸŽ‰ #365
  • Update Deployment and Development docs based on new auth changes #362
  • Add annotations in ingress for API and Oauth #366

Thanks ❀️ πŸ€—

v1.5.0

25 Oct 14:01
Compare
Choose a tag to compare

Hub v1.5.0 πŸŽ‰

This release was focussed for supporting platforms on Tekton Hub, couple of fixes in dependencies and test cases. Handles deprecation and deletion of resources on both api and ui

On UI side, fixes security vulnerability in npm dependencies. Adds platform related information where user can filter the resources based on selected platforms on home page and on different platforms for selected version on details page.

On API side, couple of fixes in test, returns the error if the migration fails, handles deprecation by updating the API response and deletion of resources by updating the catalog sync

On CLI side, adds platform and categories support, adds -o wide in search command and adds initial e2e test for get and info command

On Docs side, add guidelines to add new categories in Hub and bumps the images for api and ui

ChangeLog πŸ—’οΈ

UI

  • #296 Adds warning icon having a tooltip to point out the deprecation of a version
  • #326 Show Open Resource in <provider> on the basis of provider
  • #329 Show platforms information for each resource version
  • #308 Fixes security vulnerability in npm dependencies
  • #328 Filter resources based on platforms

API

  • #284 Parses deprecation info from resources and update the API's Response
  • #313 Add support for GitHub Enterprise
  • #305 Remove username formatting(convert lowercase) while saving
  • #317 Switch jwt libraries to golang-jwt/jwt.
  • #318 Return err if db-migration fails
  • #321 Catalog refresh for different git providers
  • #323 Minor text fixes in the information about platforms
  • #292 Update the Catalog sync to delete the removed resources info from existing db
  • #330 Minor fix in the test fixtures

CLI

  • #311 Adds o wide flag and categories in search command
  • #307 Add platform support to hub cli
  • #285 Init e2e Test for Get Command
  • #327 Adds e2e test for Hub info command

Miscellaneous

  • #310 Adds docs to define steps to add new categories in Hub
  • #309 Removes namespace from swagger config files to maintain consistency
  • #331 Give Vinamra & Piyush Hub scopes
  • #332 Bump base images in API and UI Dockerfiles

Thanks ❀️ πŸ€—

v1.4.0

11 Aug 09:08
Compare
Choose a tag to compare

Hub v1.4.0 πŸŽ‰

This release adds support for Github Enterprise for auth and implemented TEP-0062 to manage Hub categories and resources's tags and removes mapping between categories and tags. Now resources can be searched by name, displayName and tags. For exact match, users can search with the format tags:<tag_name>.

On UI side, fixed debounce for search and url link in the resource README. Adds keyboard shortcut / to quick focus on search bar and added search hint icon on showing details about ways to search.

On API side, added a new api to fetch catalog errors which occurrs while refreshing a catalog. Updated resources API's to include categories and categories api to remove tags.

Implemeted part of TEP 70, updated resources and resource versions APIs to include platform information.

On CLI side, added interactive mode for get and info command and also added support for reading HUB_API_SERVER URL from a file at location $HOME/.tekton/hub-config.

On Docs side, updated deployment docs to include steps for deploying hub on disconnected cluster and also updated README to include contribution, development and public hub api integration guidelines.

Adds Makefile for API and UI for Unit test, Build and Yamllint check and a bash script to deploy new version of hub on a cluster using Tekton Pipelines.

This release also adds an ingress to redirect from Hub Preview to Hub and updates category list in the config.yaml.

ChangeLog πŸ—’οΈ

UI

  • #279 Updates search to search resources by tags
  • #270 Updates the resource store based on updated resources api
  • #267 Updates the category store based on updated categories api
  • #259 Fixes search bar and debounce for search
  • #263 Improves url link in the resource README
  • #261 Updates year to current year in the footer
  • #257 Adds a keyboard shortcut / to focus on search bar
  • #298 Deletes existing tag params before appending new tags to it
  • #280 Add search tips to helps in resources search
  • #299 Improves sentences of search hint
  • #300 Updates React Github Enterprise Login package

API

  • #290 Adds a migration to remove existing categories which are not present in predefined category list
  • #286 Updates the Catalog Sync to handle Categories if not present in Hub
  • #273 Updates the response of Resources API's by adding array of Categories
  • #269 Updates the resource API by adding Resource Categories Mapping
  • #275 Add github enterprise support for auth
  • #264 Updates /categories api to list categories only and removes tags
  • #274 Update the Catalog Errors order to fetch the errors from db in the specific order
  • #249 Api to fetch catalog errors which occured while refreshing a catalog
  • #303 Updates /system/config/refresh/ api to delete the removed categories
  • #282 Add platform information support for resources

CLI

  • #260 Reads Hub API Server URL from '.tekton/hub-config' if present
  • #265 Adds interactive mode for info command
  • #271 Adds interactive mode for get command
  • #281 Refactors info and get interactive mode
  • #278 Fetch installed tekton component version from ConfigMap
  • #262 Remove unwanted debug message
  • #297 Replace maze.io/x/duration to git.maze.io/go/duration

Miscellaneous

  • #266 Adds an ingress to redirect from Hub Preview to Hub
  • #212 Add an ROADMAP for Hub
  • #277 Adds Makefile Targets for API and UI and Updates the pre-submit PR script
  • #202 Adds script to create a release using Tekton
  • #272 Update deployment doc for disconnected cluster
  • #176 Update Readme to include contribution,development and public hub api integration guideline
  • #268 Updates the Swagger API route in config
  • #253 Update Deployment Docs for catalog refresh
  • #291 Adds a CRD FrontendConfig to redirect http --> https
  • #301 Refeshes all tables in Hub DB and makes it compatible with gorm 2.0
  • #302 Updates the Categories List in Config
  • #304 Handles the last value of the sequence table while refreshing all tables

New Internal APIs

  • /catalog/<catalog_name>/error: Fetch catalog errors by its name

Thanks ❀️ πŸ€—