Releases: cloudfoundry/capi-release
CAPI 1.172.0
In certain situations the /v3/service_plans
endpoint returns duplicate entries. This is caused by an error in the database query fetching service plans based on their visibility in organizations accessible by the user issuing the request. These duplicates may result in failing service-related commands, e.g. cf create-service
failing with Service offering '...' is provided by multiple service brokers.
This has been fixed in CAPI 1.173.0.
Highlights
CC API Version: 2.223.0 and 3.158.0
Service Broker API Version: 2.15
CAPI Release
Dependencies
- Bump rspec from 3.12.0 to 3.13.0 in /spec (#383)
- Bump Golang to go1.22.0
Cloud Controller
- Remove
distinct
when fetching security groups (cloudfoundry/cloud_controller_ng#3623) @johha - Put service key binding/instance creation and job creation in one transaction (cloudfoundry/cloud_controller_ng#3618) @kathap
- Remove dead code (cloudfoundry/cloud_controller_ng#3627) @philippthun
- Use single SQL statement to fetch additional data in decorators (cloudfoundry/cloud_controller_ng#3629) @philippthun
- Set
work_mem
for annotation/label migration (cloudfoundry/cloud_controller_ng#3632) @johha
Dependencies
- Bump sequel from 5.76.0 to 5.77.0 (cloudfoundry/cloud_controller_ng#3622)
- Bump rspec from 3.12.0 to 3.13.0 (cloudfoundry/cloud_controller_ng#3624)
- Bump nokogiri from 1.16.0 to 1.16.2 (cloudfoundry/cloud_controller_ng#3625)
- Bump hmarr/debug-action from 2 to 3 (cloudfoundry/cloud_controller_ng#3626)
- Bump nokogiri from 1.15.3 to 1.16.2 in /docs/v3 (cloudfoundry/cloud_controller_ng#3628)
Cloud Controller Database Migrations
None
Pull Requests and Issues
CAPI 1.171.0
CC API Version: 2.222.0 and 3.157.0
Service Broker API Version: 2.15
CAPI Release
- Add public TLS endpoint for blobstore in #377. Thanks @sethboyles!
- Create bumping_ruby_packaging.md in #382. Thanks @MarcPaquette!
- Add cpu weight config options in #380. Thanks @dimivel!
Dependencies
- Bump rubocop from 1.60.1 to 1.60.2
- Bump Ruby to version 3.2.3. Thanks @MarcPaquette!
Cloud Controller
- Add annotations removal to prune_completed_tasks. Encapsulated the database activity into a transaction. Task labels were not getting deleted causing issues with foreign key violations. cloudfoundry/cloud_controller_ng#3612 - Thank you @gururajsh & @MarcPaquette !
- Switch to "using" Zeitwerk Rails autoloader - cloudfoundry/cloud_controller_ng#3576. Thanks @Gerg!
- Remove distinct for service plan list queries - cloudfoundry/cloud_controller_ng#3620 - Thanks @johha !
- Make MIN/MAX_CPU_PROXY values that are used for capping the cpu weight configurable cloudfoundry/cloud_controller_ng#3610 - Thank you @dimivel !
Dependencies
- bump rspec-rails from 6.1.0 to 6.1.1
- bump mock_redis from 0.43.0 to 0.44.0
- bump newrelic_rpm from 9.7.0 to 9.7.1
- bump Ruby version to 3.2.3
- Upgrade to Rails 7.1
Cloud Controller Database Migrations
None
cc-uploader
None
tps
None
CAPI 1.170.0
CC API Version: 2.221.0 and 3.156.0
Service Broker API Version: 2.15
CAPI Release
- Introduce new config attribute for Puma (#378 + cloudfoundry/cloud_controller_ng#3601) @iaftab-alam
- Add dedicated config file for cc local workers (#372 + cloudfoundry/cloud_controller_ng#3597) @iaftab-alam
- Add config attribute to override max_con for rotate-cc-database-key errand (#373) @iaftab-alam
- Add config option to disable statsd metrics on api vms (#375 + cloudfoundry/cloud_controller_ng#3585) @kathap
Dependencies
- Bump rubocop from 1.60.0 to 1.60.1
Cloud Controller
- switch to using digest-xxhash (cloudfoundry/cloud_controller_ng#3609) @rkoster
- Add deserialization spec for 'ActiveSupport::Duration' (cloudfoundry/cloud_controller_ng#3608) @johha
- Enable new cops Capybara/RedundantWithinField and FactoryBot/ExcessiveCreateList (cloudfoundry/cloud_controller_ng#3602) @moleske
Dependencies
- Bump rubocop from 1.60.0 to 1.60.2
- Bump mock_redis from 0.41.0 to 0.43.0
Cloud Controller Database Migrations
None
cc-uploader
Dependencies
- Bump github.com/onsi/gomega from 1.30.0 to 1.31.1
- Bump github.com/onsi/ginkgo/v2 from 2.14.0 to 2.15.0
tps
Dependencies
- Bump github.com/onsi/gomega from 1.30.0 to 1.31.1
- Bump github.com/onsi/ginkgo/v2 from 2.14.0 to 2.15.0
CAPI 1.169.0
CC API Version: 2.220.0 and 3.155.0
Service Broker API Version: 2.15
CAPI Release
- Add legacy_md5_buildpack_paths_enabled param (#370) @philippthun
- Fix rubocop configuration warning (#368) @moleske
- Add experimental jemalloc support (#367) @johha
Dependencies
- Bump Golang to go1.21.6
- Bump Redis to 7.2.4
- Bump rubocop from 1.59.0 to 1.60.0
- Bump rubocop-rspec from 2.25.0 to 2.26.1
Cloud Controller
- Fix regression of clean up degenerate deployments (cloudfoundry/cloud_controller_ng#3596) @WeiQuan0605, @philippthun
- Add process readiness changed controller and event (cloudfoundry/cloud_controller_ng#3554) @ameowlia, @geofffranks
- Add tags to task logs (cloudfoundry/cloud_controller_ng#3564) @mkocher, @rroberts2222, @acrmp, @ctlong
- Use xxhash64 instead of MD5 when calculating buildpack paths (cloudfoundry/cloud_controller_ng#3562) @rkoster
- Fix the annotation migration for mysql (cloudfoundry/cloud_controller_ng#3591) @FloThinksPi, @sethboyles
- Ensure uniqueness of labels and annotations (cloudfoundry/cloud_controller_ng#3394) @FloThinksPi, @kathap
Cloud Controller Database Migrations
Dependencies
- Bump sequel from 5.75.0 to 5.76.0
- Bump newrelic_rpm from 9.6.0 to 9.7.0
- Bump puma from 6.4.1 to 6.4.2
- Bump rubocop from 1.59.0 to 1.60.0
- Bump rubocop-rspec from 2.25.0 to 2.26.1
cc-uploader
Dependencies
- Bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.14.0
tps
- Watch for readiness health check changes (cloudfoundry/tps#49) @ameowlia, @geofffranks
Dependencies
- Bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.14.0
CAPI 1.168.0
- This capi-release contains a db migration which may fail if there are dependent deployment processes (
ForeignKeyViolation
). Further details can be found in #3592 & #3538. This issue is fixed with PR (#3596). The PR is integrated in capi-release >= v1.169.0. If you want to be on the safe side, you should skip this version of cf-deployment and use a later version with the fixed migration.
Highlights
CC API Version: 2.219.0 and 3.154.0
Service Broker API Version: 2.15
CAPI Release
- Make CCNG healthcheck script tolerate nginx unavailability #365
- Support Content-Digest header in cc-uploader #31
Bump golang.org/x/crypto from 0.14.0 to 0.17.0
Cloud Controller
- Make user lookup resilient and consistent #3529
- Enhance /v3/organizations/:guid/usage_summary. #3513 The endpoint now additionally shows the following information:
total_routes
total_service_instances
total_reserved_ports
total_domains
per_app_tasks
total_service_keys
- Bump default key length to 2048 and change fingerprint to SHA1 #3555
- Remove
DEGENERATE
status from deployments #3538 - Use xxHash in Rate Limiter #3557
- Support Content-Digest header in StagingsController #3558
- Align Annotations Key Column with Labels #3401
- Put binding and job creation in one transaction #3567
- Fix migrate failures on vms with missing spec folder #3581
Dependencies:
bump oj from 3.16.2 to 3.16.3
bump hashdiff from 1.0.1 to 1.1.0
bump net-ssh from 7.2.0 to 7.2.1
bump fluent-logger from 0.9.0 to 0.9.1
bump nokogiri from 1.15.5 to 1.16.0 (#3575)
bump sinatra-contrib and sinatra
bump mime-types from 3.5.1 to 3.5.2
bump puma from 6.4.0 to 6.4.1
Cloud Controller Database Migrations
- 20231205143526_remove_deployments_with_degenerate.rb
- 20231221123000_rename_annotations_key_column.rb
Pull Requests and Issues
CAPI 1.167.0
Highlights
CC API Version: 2.218.0 and 3.153.0
Service Broker API Version: 2.15
CAPI Release
Dependency Bumps
- Bump rubocop to v1.59.0 (#361 & #362) @philippthun
- Bump Golang to go1.21.5 (commit)
Cloud Controller
- Adapt Periodic Puma Metrics (cloudfoundry/cloud_controller_ng#3521) @philippthun
- Expose puma stats as prometheus metrics (cloudfoundry/cloud_controller_ng#3528) @philippthun
- Use sub query for user visibility filter (cloudfoundry/cloud_controller_ng#3537) @philippthun @johha
- Fix: Polling stopped after failed service instance update last operation fetch (cloudfoundry/cloud_controller_ng#3539) @svkrieger
- Fix missing statsd config error on workers (cloudfoundry/cloud_controller_ng#3547) @philippthun
- Remove unused statsd clients (cloudfoundry/cloud_controller_ng#3526) @philippthun
- Improve draining (for Puma) (cloudfoundry/cloud_controller_ng#3524) @philippthun
Dependency Bumps
- Bump rubocop from 1.57.2 to 1.58.0 (cloudfoundry/cloud_controller_ng#3534) @moleske
- Bump openssl to v3.2.0 (cloudfoundry/cloud_controller_ng#3541) @johha
- Bump json_pure from 2.6.3 to 2.7.1 (cloudfoundry/cloud_controller_ng#3530 & cloudfoundry/cloud_controller_ng#3536 )
- Bump fog-google from 1.22.0 to 1.23.0 (cloudfoundry/cloud_controller_ng#3535)
- Bump sequel from 5.74.0 to 5.75.0 (cloudfoundry/cloud_controller_ng#3533)
- Bump oj from 3.16.1 to 3.16.2 (cloudfoundry/cloud_controller_ng#3545)
- Bump solargraph from 0.49.0 to 0.50.0 (cloudfoundry/cloud_controller_ng#3540)
- Bump debug from 1.8.0 to 1.9.0 (cloudfoundry/cloud_controller_ng#3548)
- Bump addressable from 2.8.5 to 2.8.6 (cloudfoundry/cloud_controller_ng#3549)
- Bump rubocop from 1.58.0 to 1.59.0 (cloudfoundry/cloud_controller_ng#3550)
cc-uploader
Dependency Bumps
- Bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 (cloudfoundry/cc-uploader#28)
- Bump actions/setup-go from 4 to 5 (cloudfoundry/cc-uploader#29)
- Bump code.cloudfoundry.org/lager/v3 from 3.0.2 to 3.0.3 (cloudfoundry/cc-uploader#30)
tps
Dependency Bumps
- Bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 (cloudfoundry/tps#46)
- Bump actions/setup-go from 4 to 5 (cloudfoundry/tps#47)
- Bump code.cloudfoundry.org/lager/v3 from 3.0.2 to 3.0.3 (cloudfoundry/tps#48)
Cloud Controller Database Migrations
None
CAPI 1.166.0
CC API Version: 2.217.0 and 3.152.0
Service Broker API Version: 2.15
CAPI Release
- Add config flag to disable prom_scraper (#356) @svkrieger
- Add statsd_host + statsd_port to cloud_controller_clock job (#359) @philippthun
Dependency Bumps
Cloud Controller
- Fix/Improve PumaRunner Setup and Configuration (cloudfoundry/cloud_controller_ng#3520) @philippthun
- Prometheus on Thin (cloudfoundry/cloud_controller_ng#3445) @svkrieger
- Refactoring UAA client (cloudfoundry/cloud_controller_ng#3474) @philippthun
- Remove unreachable rescue (cloudfoundry/cloud_controller_ng#3508) @philippthun
- Enable Rails/EnvLocal rubocop (cloudfoundry/cloud_controller_ng#3514) @moleske
Dependency Bumps
- bump spring from 4.1.2 to 4.1.3 (cloudfoundry/cloud_controller_ng#3522)
- bump rspec-rails from 6.0.3 to 6.1.0 (cloudfoundry/cloud_controller_ng#3519 & cloudfoundry/cloud_controller_ng#3523)
- bump puma from 5.6.7 to 6.4.0 (cloudfoundry/cloud_controller_ng#3444)
- bump nokogiri from 1.15.4 to 1.15.5 (cloudfoundry/cloud_controller_ng#3517)
- bump rubocop-rails from 2.22.1 to 2.22.2 (cloudfoundry/cloud_controller_ng#3516)
- bump public_suffix from 5.0.3 to 5.0.4 (cloudfoundry/cloud_controller_ng#3515)
- bump spring from 4.1.1 to 4.1.2 (cloudfoundry/cloud_controller_ng#3510)
- bump mock_redis from 0.39.0 to 0.40.0 (cloudfoundry/cloud_controller_ng#3512)
Cloud Controller Database Migrations
None
CAPI 1.165.0
Highlights
CC API Version: 2.216.0 and 3.151.0
Service Broker API Version: 2.15
CAPI Release
- Remove copilot #329
Dependency Bumps
- Bump golang from 1.21.3 to 1.21.4
- Bump redis from 7.2.2 to 7.2.3
Cloud Controller
- Enable CF API to present routable field for app processes cloudfoundry/cloud_controller_ng#3500
- Remove copilot cloudfoundry/cloud_controller_ng#3355
- Prevent parallel test failures in request_spec cloudfoundry/cloud_controller_ng#3505
- Update diego sync to not fetch every bit of every object, only completely fetch objects that need syncing cloudfoundry/cloud_controller_ng#3503
- Introduce single source of truth for audit events cloudfoundry/cloud_controller_ng#3504
- v3 should allow to update docker registry credentials cloudfoundry/cloud_controller_ng#3467
- Require cloud_controller.read access(or equivalent) to access list endpoints cloudfoundry/cloud_controller_ng#3450
- Fetch service plan visibilities with eager loading cloudfoundry/cloud_controller_ng#3507
Dependency Bumps
- Bump prometheus-client from 4.2.1 to 4.2.2
- Bump sequel from 5.73.0 to 5.74.0
- Bump mock_redis from 0.38.0 to 0.39.0
cc-uploader
Dependency Bumps
- Bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.1
- Bump github.com/onsi/gomega from 1.29.0 to 1.30.0
tps
Dependency Bumps
- Bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.1
- Bump github.com/onsi/gomega from 1.29.0 to 1.30.0
Cloud Controller Database Migrations
CAPI 1.164.0
Highlights
CC API Version: 2.215.0 and 3.150.0
Service Broker API Version: 2.15
CAPI Release
Dependency Bumps
- Bump rubocop from 1.56.4 to 1.57.2
- Bump Redis from 7.2.1 to 7.2.2
- Bump rubocop-rspec from 2.24.1 to 2.25.0
Cloud Controller
- Restructure runner spec cloudfoundry/cloud_controller_ng#3462
- Throw different error when route binding status is delete_failed or delete_in_progess / Treat route binding in status create_failed as non-existent cloudfoundry/cloud_controller_ng#3469
- Use consistent hash structure for process stats cloudfoundry/cloud_controller_ng#3470
- Exclude the newly added Readme.md file when checking applied migrations cloudfoundry/cloud_controller_ng#3475
- Connection should not fail in case of diego issues cloudfoundry/cloud_controller_ng#3471
- Run the ensure_migrations_are_current rake task in a spec cloudfoundry/cloud_controller_ng#3476
- Remove unneeded psych gem cloudfoundry/cloud_controller_ng#3486
- replace --auto-correct with --autocorrect cloudfoundry/cloud_controller_ng#3487
- Correct list of buildpack states in docs cloudfoundry/cloud_controller_ng#3489
- Fix issue with rake spec creating 'cc_test_' database instead of 'cc_test' cloudfoundry/cloud_controller_ng#3483
- Adds microsecond timestamp precision on the asg_latest_update table cloudfoundry/cloud_controller_ng#3484
- Implement additional audit events cloudfoundry/cloud_controller_ng#3490
- Update JDK for UAA development Docker container cloudfoundry/cloud_controller_ng#3497
Dependency Bumps
- Bump rubocop from 1.56.4 to 1.57.2
- Bump honeycomb-beeline from 3.0.0 to 3.0.1
- Bump cf-uaa-lib from 4.0.3 to 4.0.4
- Bump redis from 5.0.7 to 5.0.8
- Bump mock_redis from 0.37.0 to 0.38.0
- Bump rubocop-rspec from 2.24.1 to 2.25.0
- Bump rubocop-rails from 2.21.2 to 2.22.1
- Bump rake from 13.0.6 to 13.1.0
- Bump newrelic_rpm from 9.5.0 to 9.6.0
cc-uploader
Dependency Bumps
- Bump golang.org/x/net from 0.14.0 to 0.17.0
- Bump github.com/onsi/gomega from 1.28.0 to 1.29.0
tps
Dependency Bumps
- Bump golang.org/x/net from 0.14.0 to 0.17.0
- Bump github.com/onsi/gomega from 1.28.0 to 1.29.0
- Bump google.golang.org/grpc from 1.57.0 to 1.57.1
Cloud Controller Database Migrations
CAPI 1.163.0
Highlights
CC API Version: 2.214.0 and 3.149.0
Service Broker API Version: 2.15
CAPI Release
- Add 'fog_gcp_storage_options' parameter #351
Dependency Bumps
- Bump rubocop from 1.56.3 to 1.56.4
- Bump golang from 1.21.2 to 1.21.3
Cloud Controller
- Introduce shared context for migrations and add documentation cloudfoundry/cloud_controller_ng#3407
- Enable new rubocop cops cloudfoundry/cloud_controller_ng#3448
- Fix ambiguous column in AppListFetcher cloudfoundry/cloud_controller_ng#3459
- fix app revision pruning log to only include count of rows deleted cloudfoundry/cloud_controller_ng#3461
- Un-pluck Rubocop changes cloudfoundry/cloud_controller_ng#3455
- Do some housekeeping cloudfoundry/cloud_controller_ng#3464
- Add support for gcp fog storage options cloudfoundry/cloud_controller_ng#3463
- Adapt response handling for /v3/service_credential_bindings/:guid/parameters cloudfoundry/cloud_controller_ng#3465
- Don't show service route binding parameters not in state create succeeded cloudfoundry/cloud_controller_ng#3443
Dependency Bumps
- Bump fog-aws from 3.19.0 to 3.21.0
- Bump rubocop from 1.56.3 to 1.56.4
- Bump rspec-collection_matchers from 1.2.0 to 1.2.1
- Bump sequel from 5.72.0 to 5.73.0
- Bump rubocop-rails from 2.21.1 to 2.21.2
- Bump parallel_tests from 4.2.2 to 4.3.0
cc-uploader
Dependency Bumps
- Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0
- Bump github.com/onsi/gomega from 1.27.10 to 1.28.0
tps
Dependency Bumps
- Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0
- Bump github.com/onsi/gomega from 1.27.10 to 1.28.0