Releases: cloudfoundry/capi-release
CAPI 1.177.0
CC API Version: 2.226.0 and 3.161.0
Service Broker API Version: 2.15
CAPI Release
- Add
max_migration_statement_runtime_in_seconds
config property (#387) @FloThinksPi
Dependencies
- Bump Golang to go1.22.2
- Bump rubocop from 1.60.2 to 1.62.1
- Bump rubocop-rspec from 2.26.1 to 2.29.1
Cloud Controller
- Fix add|drop_index syntax (cloudfoundry/cloud_controller_ng#3723) @philippthun
- Introduce timeout safeguard for migration sql queries (cloudfoundry/cloud_controller_ng#3633) @FloThinksPi
- Bump rails components to 7.1.3.2 to resolve cves (cloudfoundry/cloud_controller_ng#3726) @moleske
- Enable new rubocops (cloudfoundry/cloud_controller_ng#3656) @philippthun
Dependencies
- Bump yard from 0.9.34 to 0.9.36
- Bump steno from 1.3.4 to 1.3.5
- Bump rubocop from 1.60.2 to 1.62.1
- Bump rack from 2.2.6.4 to 2.2.9 in /docs/v3
- Bump express from 4.18.2 to 4.19.2 in /docs/v3
Cloud Controller Database Migrations
None
cc-uploader / tps
- Bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.17.1
- Bump github.com/onsi/gomega from 1.31.1 to 1.32.0
CAPI 1.176.0
CC API Version: 2.225.0 and 3.160.0
Service Broker API Version: 2.15
CAPI Release
Dependencies
- Bump Golang to go1.22.1
Cloud Controller
- Print output of blobstore benchmark again cloudfoundry/cloud_controller_ng#3718 @johha
- Enhance local dev setup having a valid 'bits_path' cloudfoundry/cloud_controller_ng#3665 @c0d1ngm0nk3y
- Update lock information logging to happen on info and to happen only once per state switch cloudfoundry/cloud_controller_ng#3659 @Benjamintf1
- Set warning header for outdated CF CLIs cloudfoundry/cloud_controller_ng#3657 @johha
Dependencies
- Bump debug from 1.9.1 to 1.9.2
- Bump parallel_tests from 4.5.1 to 4.6.0
- Bump rubocop-rails from 2.23.1 to 2.24.1
Cloud Controller Database Migrations
None
CAPI 1.175.0
CAPI Release
Cloud Controller
- Expose process CPU Entitlement in stats (cloudfoundry/cloud_controller_ng#3641) @acrmp, @mkocher
Dependencies
- bump webmock from 3.21.2 to 3.23.0 (cloudfoundry/cloud_controller_ng#3649, cloudfoundry/cloud_controller_ng#3654)
- bump listen from 3.8.0 to 3.9.0 (cloudfoundry/cloud_controller_ng#3653)
- bump googleapis-common-protos from 1.4.0 to 1.5.0 (cloudfoundry/cloud_controller_ng#3655)
Cloud Controller Database Migrations
CAPI 1.173.0
Highlights
CAPI Release
- Fix default frequency_in_seconds by @philippthun in #385
Cloud Controller
- Add DISTINCT for service plan list queries - cloudfoundry/cloud_controller_ng#3648 - Thanks @philippthun and @johha!
- Fix flakey space_delete_spec - cloudfoundry/cloud_controller_ng#3642 - Thanks @philippthun!
- Replace dataset.map().flatten.map() with optimized SQL query - cloudfoundry/cloud_controller_ng#3639 - Thanks @philippthun!
- Improve performance of decorators - cloudfoundry/cloud_controller_ng#3636 - Thanks @philippthun !
- Limit the lsof result by greping for the process id. - cloudfoundry/cloud_controller_ng#3640 - Thanks @philippthun !
- Remove some outdated stuff from the v3 docs -cloudfoundry/cloud_controller_ng#3638 - Thanks @philippthun !
- Don't fetch kpack_lifecycle_data - cloudfoundry/cloud_controller_ng#3637 - Thanks @philippthun and @sethboyles !
- Improve deletion of apps - cloudfoundry/cloud_controller_ng#3595 - Thanks @philippthun!
Dependancies
- bump webmock from 3.20.0 to 3.21.2 - cloudfoundry/cloud_controller_ng#3647
- bump parallel_tests from 4.5.0 to 4.5.1 - cloudfoundry/cloud_controller_ng#3646
- bump pg from 1.5.4 to 1.5.5 - cloudfoundry/cloud_controller_ng#3643
- bump redis from 5.0.8 to 5.1.0 - cloudfoundry/cloud_controller_ng#3635 -
- bump mysql2 from 0.5.5 to 0.5.6 - cloudfoundry/cloud_controller_ng#3634
Cloud Controller Database Migrations
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