Skip to content

Releases: tektoncd/hub

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 ❤️ 🤗

v1.3.0

29 Apr 08:26
Compare
Choose a tag to compare

Hub v1.3.0 🎉

This release adds support for adding third party catalog in Hub, the process for adding the catalog is documented here.

On UI side, now user can see their GitHub profile picture once they login on top right corner. This release also makes the Hub URL more concrete while searching or filtering resource.

for eg. if you search build in search box and apply Build Tools category in filter then url will change to https://hub.tekton.dev/?query=build&category=Build+Tools and you can share this with others or bookmark it for easy use.

Also, adds tkn hub install command along with kubectl command on resource description page.

On API side, this fixes the swagger api for api documentation. Adds a new API to refresh all catalogs and also a single catalog by its name. This are internal APIs to Hub. This also adds /v1/catalogs API which is public.

On CLI side, this improves the install/upgrade/reinstall/downgrade command to check for pipelines version for resource compatibility. This adds a new command to check upgrades for resources installed using tkn hub CLI.

This release also deploys a new instance of Swagger UI which provides the API documentation in Swagger UI.

ChangeLog 🗒️

UI

  • #213 Adds multi catalog support for UI
  • #220 UI: Add tkn cli command to install task from UI
  • #236 UI: Fixes to rate a resource
  • #226 UI: Adds icon for catalogs
  • #214 UI: Adds selected filters in the url as a query parameter
  • #235 UI: Changes navigation url from home page to previous page
  • #243 UI: Scroll to top of home page when users click on the Hub logo
  • #231 UI: Adds user informations after authentication
  • #221 UI: Updates Catalog store
  • #256 UI: Fixes UI start script

API

  • #204 Updates catalog refresh API to refresh by its name
  • #225 Fixes catalog refresh tests and lint errors
  • #228 Bump Goa Version and Update Hub API server url from http --> https
  • #217 Adds implementation and test for API: /v1/catalogs
  • #219 Api to get resources from one or multiple catalogs
  • #216 API: Adds an api to get user information
  • #240 Updates /resource/<catalog>/<kind>/<name> api for compatible version
  • #244 Updates query param minpipelinesversion to pipelinesversion in APIs
  • #238 Fixes CI and catalog refresh test
  • #215 API to refresh all catalogs
  • #241 Adds examples to attribute fields
  • #247 Fixes the swagger API by copying it to a custom path

CLI

  • #200 CLI: install resource on basis of pipelines installed
  • #223 Adds catalog name in hub cli search command
  • #227 Minor bug fix in Hub CLI info command
  • #229 CLI: Respect pipelines version in CLI subcommands
  • #237 CLI: Improves error message for search command
  • #245 CLI: Add command to check upgrades

Miscellaneous

  • #230 Adds Swagger UI for Hub API's
  • #194 Creates a React App Skeleton for Hub Swagger
  • #233 Adds deployment config files for Hub Swagger UI
  • #209 Adds doc defining steps to add new catalog in Hub

New Public APIs

  • /v1/catalogs: returns list of catalogs added in Hub

New Internal APIs

  • /catalog/<catalog-name>/refresh : refresh a catalog by its name

Thanks ❤️ 🤗

v1.2.0

19 Mar 12:21
Compare
Choose a tag to compare

Hub v1.2.0 🎉

This release adds the changes requires for changing branch from master to main, adds API policy and remove force option from config refresh API which is internal to Hub so won't be affecting users.

ChangeLog 🗒️

API

  • #194 Updates catalog branch from master to main
  • #218 Update the resource url in db during catalog refresh
  • #210 Adds API policy doc
  • #211 Removes force option from config refresh API

Thanks ❤️ 🤗

v1.1.0

04 Mar 13:43
Compare
Choose a tag to compare

Hub v1.1.0 🎉

This is the second non-preview release of TektonCD Hub. In this release we have added refresh and access token for the user, fixes in UI by adding Hub logo, proper rendering of table in markdown, improving search, validating routes on details page. Also,there have been changes in the deployment docs to have a proper guide to deploy Hub, API docs are available now and also improving the config file reading mechanism.

ChangeLog 🗒️

UI

  • #173 Fix rendering of table in markdown
  • #192 Adds Hub logo in UI
  • #160 Updates npm packages that have vulnerability
  • #185 Improve search by using Debounce
  • #197 Adds a button to clear all selected filters
  • #203 Minor fixes for updating the packages and fixing lint
  • #176 Updates the access and refresh token to keep user logged in
  • #195 Validates resource details page url's params
  • #187 Fixes resource cards margin to avoid overlapping of cards on resizing the window
  • #205 Handles the refresh token and access token time interval

API

  • #184 Adds Dockerfiles for API and Db migration & Update deployment flow
  • #136 Adds an API to refresh User access token
  • #174 Refactors API service for API versioning
  • #132 Adds API to get new refresh token for user
  • #193 Updates adding users & scopes from config files

CLI

  • #180 bump deps
  • #191 Fixes CLI tests
  • #201 Drop Chmouel's cobra fork and use upstream one

Miscellaneous

  • #171 Update Deployment and Development docs
  • #179 README: Remove repo migration notes
  • #181 Updates Deployment doc
  • #183 Replaced preview url with non-preview url
  • #189 Adds Hub logo in Readme
  • #199 Fixes yamllint and golangci lint errors

Deprecation Notice 🧹

  • We are deprecating /v1/categories in this release and will be removed in the next release

Thanks ❤️ 🤗

v1.0.0

20 Jan 10:17
Compare
Choose a tag to compare

v1.0.0 Release 🎉

This is the first non-preview release of TektonCD Hub. Now, the whole codebase has been moved to tektoncd/hub repo from experimental with major refactorings and improvements. Hub is live at https://hub.tekton.dev In this release we have added some more commands like upgrade, install, reinstall etc. in CLI and are integrated with tkn cli, you can download the tkn 0.15.0 for all new commands. We have added few more categories in UI according to the latest catalog.

ChangeLog 🗒️

UI

  • #69 Adds categories store for UI using mobx-state-tree
  • #70 Adds resources store for UI using mobx-state-tree
  • #135 Adds left panel for the dashboard after refactoring from experimental
  • #122 Add Icons for filter components
  • #99 Add layout for dashboard homepage
  • #144 Add search and sort implementation on homepage
  • #140 Add resources on home page layout
  • #152 Add README and YAML on resources details page
  • #162 Add empty state for no resources found in UI
  • #165 Modify style of GitHub login on UI
  • #156 Improvements in Error Notification on UI
  • #146 Add description card for resources details page header
  • #151 Add github login on new HUB UI
  • #153 Add rating and userRating in MST store
  • #154 Add few UI improvements related to CSS

API

  • #131 Upgrades gorm to v2.0
  • #138 Fix Date Time Format in API responses
  • #163 Add v1 support for APIs
  • #128 Add expiry time in user access JWT

CLI

  • #121 Add install command
  • #133 Add --as-clustertask flag in get command
  • #134 Add info command
  • #145 Add reinstall command
  • #142 Add upgrade command
  • #149 Add downgrade command

Miscellaneous

  • #155 Update the Hub deployment docs and manifests
  • #166 Update hub config for new tags and categories

Deprecation Notice 🧹

  • Few of the API's have been moved to new URLs. We suggest to use the latest one as the old one will be removed soon. 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>

Thanks ❤️ 🤗

Hub Version v0.3.0

19 Oct 05:37
Compare
Choose a tag to compare
Hub v0.3.0