Releases: cloudfoundry/capi-release
CAPI 1.149.0
Highlights
CC API Version: 2.200.0 and 3.135.0
Service Broker API Version: 2.15
CAPI Release
- Ensure Post Backup Unlock always restarts local workers #289
- Use bosh link for cloud_controller_worker stacks #299
Dependency Bumps
- bump rubocop from 1.48.1 to 1.49.0 in /spec
- bump Golang to go1.20.3
Cloud Controller
- Add generic Korifi error cloudfoundry/cloud_controller_ng#3205
- Add db indexes for better performance cloudfoundry/cloud_controller_ng#3108
Dependency Bumps
- bump rubocop from 1.48.0 to 1.49.0
- bump net-ssh from 7.0.1 to 7.1.0
- bump rack from 2.2.6.3 to 2.2.6.4
- bump rack-test from 2.0.2 to 2.1.0
- bump activesupport from 7.0.4.2 to 7.0.4.3 in /docs/v3
- bump prometheus-client from 4.0.0 to 4.1.0
- bump psych from 4.0.6 to 5.1.0
- bump thin from 1.8.1 to 1.8.2
- bump newrelic_rpm from 8.16.0 to 9.1.0
- bump addressable from 2.8.1 to 2.8.3
- bump nokogiri from 1.14.2 to 1.14.3
- bump y18n from 3.2.1 to 3.2.2 in /docs/v3
Cloud Controller Database Migrations
- 20230308105316_add_index_to_route_mappings_route_guid.rb
- 20230308105316_add_index_to_security_groups_spaces_space_id.rb
- 20230308105316_add_index_to_service_brokers_space_id.rb
- 20230308105316_add_index_to_services_service_broker_id.rb
- 20230308105316_add_index_to_spaces_space_quota_definition_id.rb
Full Changelog: 1.148.0...1.149.0
CAPI 1.148.0
CC API Version: 2.199.0 and 3.134.0
Service Broker API Version: 2.15
CAPI Release
- Allow dynamic app renaming to be disabled (#298)
New Contributors
Full Changelog: 1.147.0...1.148.0
CAPI 1.147.0
Highlights
- Ensure that unencrypted fields and the
updated_at
timestamp are not modified during a CCDB encryption key rotation. - Update metric tags in Diego when an application is renamed.
- Correctly calculate the total memory usage when updating an application with sidecars.
- Skip superseded deployments with no running web process instances when canceling a deployment train.
CC API Version: 2.198.0 and 3.133.0
Service Broker API Version: 2.15
CAPI Release
Dependency Bumps
- Bump Golang to go1.20.2
- Bump rubocop from 1.47.0 to 1.48.0
- Bump rubocop-rspec from 2.18.1 to 2.19.0
Cloud Controller
- Keep original VCAP-Request-ID for re-enqueued ReoccurringJobs (cloudfoundry/cloud_controller_ng#3208)
- Replace .any? with more efficient SQL statements (cloudfoundry/cloud_controller_ng#2865)
- Ensure that unencrypted fields during a encryption key rotation are not modified (cloudfoundry/cloud_controller_ng#3215)
- Remove redundant JSON parsing of broker responses (cloudfoundry/cloud_controller_ng#3194)
- Update metric tags on rename (cloudfoundry/cloud_controller_ng#3107)
- Skip superseded deployments with no running instances (cloudfoundry/cloud_controller_ng#3084)
- Correctly re-raise exceptions in HTTPClient's create_socket method (cloudfoundry/cloud_controller_ng#3201)
- Don't double count updated sidecar memory (cloudfoundry/cloud_controller_ng#3198)
- Log request fields in separate hash (cloudfoundry/cloud_controller_ng#3192)
Cloud Controller Database Migrations
Dependency Bumps
- Bump rack from 2.2.6.2 to 2.2.6.3
- Bump sequel from 5.65.0 to 5.66.0
- Bump kubeclient from 4.10.1 to 4.11.0
- Bump fog-aws from 3.17.0 to 3.18.0
- Bump pg from 1.4.5 to 1.4.6
- Bump rubocop from 1.45.1 to 1.48.0
Contributors
@acrmp, @ctlong, @jochenehret, @johha, @moleske, @philippthun, @rroberts2222, @sethboyles, @xandroc
CAPI 1.146.0
Highlights
- Exclude app usage events table from using window function
- Bump parallel_test to 4.2.0
CC API Version: 2.197.0 and 3.132.0
Service Broker API Version: 2.15
CAPI Release
Dependency bumps
- Bump parallel_test to 4.2.0
Cloud Controller
- Exclude app usage events table from using window function cloudfoundry/cloud_controller_ng#3191
Dependency bumps
- Bump parallel_test to 4.2.0 cloudfoundry/cloud_controller_ng#3176
Cloud Controller Database Migrations
None
Pull Requests and Issues
Contributors
CAPI 1.145.0
Highlights
- Mitigate the risk of
Runner is unavailable
andStager is unavailable
errors by patchingHTTPClient
to acceptsocket_connect_timeout
(cloudfoundry/cloud_controller_ng#3174) - Add "default" field to
v3/stacks
(cloudfoundry/cloud_controller_ng#3157) - Ensure that delayed_job workers handle
SIGQUIT
(cloudfoundry/cloud_controller_ng#3183)
CC API Version: 2.197.0 and 3.132.0
Service Broker API Version: 2.15
CAPI Release
Dependency bumps
- Bump Golang to go1.20.1
- Bump libpq to postgres 11.18 (#288)
Cloud Controller
- Exclude
/healthz
from request logging (cloudfoundry/cloud_controller_ng#3032) - Add "default" field to
v3/stacks
(cloudfoundry/cloud_controller_ng#3157) - Fix incorrectly passing shared examples (cloudfoundry/cloud_controller_ng#3160)
- Patch
HTTPClient
to acceptsocket_connect_timeout
(cloudfoundry/cloud_controller_ng#3174) - Remove
ruby-debug-ide
anddebase
(cloudfoundry/cloud_controller_ng#3175) - Adjust docs for query parameter encoding in V3 docs (cloudfoundry/cloud_controller_ng#3187)
- Ensure that delayed_job workers handle
SIGQUIT
(cloudfoundry/cloud_controller_ng#3183)
Dependency bumps
- Update rails to 6.1.7.2 (cloudfoundry/cloud_controller_ng#3162)
- Bump rubocop from 1.43.0 to 1.45.1 (cloudfoundry/cloud_controller_ng#3161, cloudfoundry/cloud_controller_ng#3188)
- Bump oj from 3.13.23 to 3.14.2 (cloudfoundry/cloud_controller_ng#3169, cloudfoundry/cloud_controller_ng#3172, cloudfoundry/cloud_controller_ng#3184)
- Bump nokogiri from 1.14.0 to 1.14.2 (cloudfoundry/cloud_controller_ng#3167, cloudfoundry/cloud_controller_ng#3190)
- Bump clockwork from 3.0.1 to 3.0.2 (cloudfoundry/cloud_controller_ng#3185)
- Bump newrelic_rpm from 8.15.0 to 8.16.0 (cloudfoundry/cloud_controller_ng#3177)
- Bump fog-aws from 3.15.0 to 3.17.0 (cloudfoundry/cloud_controller_ng#3182, cloudfoundry/cloud_controller_ng#3164)
- Bump sequel from 5.64.0 to 5.65.0 (cloudfoundry/cloud_controller_ng#3173)
- Bump activesupport from 7.0.4 to 7.0.4.2 in /docs/v3 (cloudfoundry/cloud_controller_ng#3163)
- Bump nokogiri from 1.14.0 to 1.14.2 in /docs/v3 (cloudfoundry/cloud_controller_ng#3168, cloudfoundry/cloud_controller_ng#3189)
- Bump redcarpet from 3.5.1 to 3.6.0 in /docs/v3 (cloudfoundry/cloud_controller_ng#3166)
- Bump rack from 2.2.4 to 2.2.6.2 in /docs/v3 (cloudfoundry/cloud_controller_ng#3150)
Cloud Controller Database Migrations
None
Pull Requests and Issues
Contributors
CAPI 1.144.0
Highlights
- Remove
cc_internal_api_user
andcc_internal_api_password
. This is not needed anymore as the internal API uses mTLS authentication. - Resolves the performance issues when using Digest module with Ruby 3 (cloudfoundry/cloud_controller_ng#3111, #285)
- Performance improvements for
/v3/audit_events
endpoint (cloudfoundry/cloud_controller_ng#3117) - Canceling deployment is superseded by new deployment (cloudfoundry/cloud_controller_ng#3072)
CC API Version: 2.196.0 and 3.131.0
Service Broker API Version: 2.15
CAPI Release
- Remove
cc_internal_api_user
andcc_internal_api_password
from config (#286)
Dependency bumps
bump Golang to go1.19.5
Cloud Controller
- Optimize space supporter filter for v2 calls (cloudfoundry/cloud_controller_ng#3077)
- Use space subqueries for fetchting service credential bindings (cloudfoundry/cloud_controller_ng#3106)
- Override
empty_from_sql
for MySQL (cloudfoundry/cloud_controller_ng#3121) - Replace usage of
Digest
withOpenSSL::Digest
(cloudfoundry/cloud_controller_ng#3111, #285) - Exclude events table from using window function for pagination (cloudfoundry/cloud_controller_ng#3117)
- Canceling deployment is superseded by new deployment (cloudfoundry/cloud_controller_ng#3072)
- Remove
UaaEndpointDisabled
in favor ofUaaUnavailable
(cloudfoundry/cloud_controller_ng#3135) - Prevent deadlocks when updating managed service instances (cloudfoundry/cloud_controller_ng#2970)
- Remove
cc_internal_api_user
andcc_internal_api_password
(cloudfoundry/cloud_controller_ng#3134) - Take mode into account when filtering for
allowed_resources
(cloudfoundry/cloud_controller_ng#3136) - Remove
RoleGuidPopulate
(cloudfoundry/cloud_controller_ng#3144) - Truncate delayed job errors (cloudfoundry/cloud_controller_ng#3154)
- Optimize Role model/dataset (cloudfoundry/cloud_controller_ng#3068)
Dependency bumps
- bump rubocop from 1.40.0 to 1.43.0 (cloudfoundry/cloud_controller_ng#3118, cloudfoundry/cloud_controller_ng#3123, cloudfoundry/cloud_controller_ng#3126, cloudfoundry/cloud_controller_ng#3132)
- bump sequel from 5.63.0 to 5.64.0 (cloudfoundry/cloud_controller_ng#3124)
- bump sequel_pg from 1.17.0 to 1.17.1 (cloudfoundry/cloud_controller_ng#3128)
- bump nokogiri from 1.13.10 to 1.14.0 (cloudfoundry/cloud_controller_ng#3139)
- bump spring from 4.1.0 to 4.1.1 (cloudfoundry/cloud_controller_ng#3131)
- bump listen from 3.7.1 to 3.8.0 (cloudfoundry/cloud_controller_ng#3130)
- bump nokogiri from 1.13.10 to 1.14.0 in /docs/v3 (cloudfoundry/cloud_controller_ng#3138)
- bump newrelic_rpm from 8.14.0 to 8.15.0 (cloudfoundry/cloud_controller_ng#3129)
- bump glob from 8.0.3 to 8.1.0 in /docs/v3 (cloudfoundry/cloud_controller_ng#3142)
- bump mysql2 from 0.5.4 to 0.5.5 (cloudfoundry/cloud_controller_ng#3156)
Cloud Controller Database Migrations
None
Contributors
@will-gant, @FloThinksPi, @kathap, @MerricdeLauney, @sethboyles, @moleske, @xandroc, @Infra-Red, @philippthun, @johha
Full Changelog: 1.143.0...1.144.0
CAPI 1.143.0
Highlights
- Reverts regression regarding communication with BBS introduced in 1.142.0
- Support for asynchronous service binding creation in Space Manifests
CC API Version: 2.195.0 and 3.130.0
Service Broker API Version: 2.15
CAPI Release
- Timeout for async service bindings in manifests (#281)
Dependency bumps
bump Golang to go1.19.4
Cloud Controller
- Reverts “Diego client tries all bbs domain IPs” (cloudfoundry/cloud_controller_ng#3113)
- Reverts regression regarding communication with BBS introduced in 1.142.0 (cloudfoundry/cloud_controller_ng#3109)
- Optimize service plan visibility queries (cloudfoundry/cloud_controller_ng#3055)
- Add user_guid to request logs (cloudfoundry/cloud_controller_ng#3087)
- Loggregator: add flag to deprecate v4 bindings endpoint (cloudfoundry/cloud_controller_ng#3100)
- Add ca for syslog bindings (cloudfoundry/cloud_controller_ng#3098)
- Support for asynchronous service binding creating in Space Manifests (cloudfoundry/cloud_controller_ng#3058)
Cloud Controller Database Migrations
None
Dependency bumps
bump clockwork from 3.0.0 to 3.0.1
bump googleapis-common-protos from 1.3.12 to 1.4.0
bump json_pure from 2.6.2 to 2.6
bump loofah from 2.19.0 to 2.19.1
bump newrelic_rpm from 8.13.1 to 8.14.0
bump nokogiri from 1.13.9 to 1.13.10
bump public_suffix from 5.0.0 to 5.0.1
bump rails-html-sanitizer from 1.4.3 to 1.4.4
bump rubocop from 1.39.0 to 1.40.0
bump sequel from 5.62.0 to 5.63.0
bump sinatra-contrib from 3.0.4 to 3.0.5
bump solargraph from 0.47.2 to 0.48.0
CAPI 1.142.0
❗❗❗ Warnings ❗❗❗
This release has a regression regarding communication with BBS
Highlights
- Use Clang compiled Ruby on Jammy
- Diego client tries all bbs domain IPs
CC API Version: 2.194.0 and 3.129.0
Service Broker API Version: 2.15
CAPI Release
- Bump ruby-release to get a Clang compiled Ruby on Jammy (#279)
- Make puma max threads configurable (#282)
- Ensure that the drain log dir exists (#284)
Cloud Controller
- Catch AppStart errors in deployment create action (cloudfoundry/cloud_controller_ng#3074)
- Diego client tries all bbs domain IPs (cloudfoundry/cloud_controller_ng#3048)
- Let Sequel check if single records exist (cloudfoundry/cloud_controller_ng#3082)
- Use more efficient 'select' in place of 'select_map' (cloudfoundry/cloud_controller_ng#3070)
- Index service_instances.service_plan_id (cloudfoundry/cloud_controller_ng#3065)
- Remove more inefficient counting (cloudfoundry/cloud_controller_ng#3067)
- Finalize only deployments with 'STATUS_VALUE' 'ACTIVE' (cloudfoundry/cloud_controller_ng#3073)
- Puma Threads & Local Port (cloudfoundry/cloud_controller_ng#3063)
- Re-add db table
request_counts
(cloudfoundry/cloud_controller_ng#3076)
Cloud Controller Database Migrations
- 20221115104182_add_index_to_service_instances_service_plan_id.rb
- 20221125134500_add_request_count_table.rb
Dependency Bumps
- Bump sinatra-contrib from 3.0.3 to 3.0.4
- Bump newrelic_rpm from 8.12.0 to 8.13.1
- Bump sinatra from 3.0.2 to 3.0.3
- Bump timecop from 0.9.5 to 0.9.6
- Bump pg from 1.4.4 to 1.4.5
- Bump rubocop from 1.38.0 to 1.39.0
- Bump middleman from 4.4.2 to 4.4.3 in /docs/v3
Contributors
CAPI 1.141.0
❗❗❗ Warnings ❗❗❗
- This release contains a known performance degradation that will be fixed with 1.142.0 see: cloudfoundry/cloud_controller_ng#3070
- This release contains an update flaw. In special cases when workers get restarted during an update they can block the bosh deployment indefinitely, will be fixed with 1.142.0 see: cloudfoundry/cloud_controller_ng#3075
Highlights
v3/routes
returns shared routes- Cloud Controller processes large manifests with a hard limit of 1MB
- Various performance improvements (optimized DB queries)
CC API Version: 2.193.0 and 3.128.0
Service Broker API Version: 2.15
CAPI Release
Cloud Controller
- v3/routes additionally returns shared routes (cloudfoundry/cloud_controller_ng#3037)
- Enable CC to process large manifests (cloudfoundry/cloud_controller_ng#3034)
- Add support for multiple certs per syslog_drain_url (cloudfoundry/cloud_controller_ng#3028)
- Cut DB query complexity in permissions/visibility checks (cloudfoundry/cloud_controller_ng#3043)
- Misc db optimizations (cloudfoundry/cloud_controller_ng#3052)
- Use foreign keys more to avoid DB queries (cloudfoundry/cloud_controller_ng#3033)
- Check space/org permissions by id, not guid (cloudfoundry/cloud_controller_ng#3021)
- More readable checks to see if any row exists (cloudfoundry/cloud_controller_ng#3053)
- Clean up unused/unnecessary permissions methods (cloudfoundry/cloud_controller_ng#3038)
- Fix v3 upgrade guide for audit_events (cloudfoundry/cloud_controller_ng#3039)
- Fix two typos in API docs (cloudfoundry/cloud_controller_ng#3031)
- Fix roles table in service instance delete docs (cloudfoundry/cloud_controller_ng#3023)
- Allow dependabot to update github actions (cloudfoundry/cloud_controller_ng#3040)
Cloud Controller Database Migrations
None
Dependency Bumps
- Bump Golang to go1.19.3
- Bump oj from 3.13.21 to 3.13.23
- Bump sequel from 5.61.0 to 5.62.0
- Bump newrelic_rpm from 8.11.0 to 8.12.0
- Bump nokogiri from 1.13.8 to 1.13.9
- Bump parallel_tests from 3.13.0 to 4.0.0
- Bump rubocop from 1.36.0 to 1.38.0
- Bump rspec from 3.11.0 to 3.12.0
- Bump rspec-rails from 6.0.0 to 6.0.1
- Bump nokogiri from 1.13.8 to 1.13.9 in /docs/v3
Contributors
@dalvarado, @fhambrec, @johha, @MerricdeLauney, @moleske, @philippthun, @stephanme, @svkrieger, @will-gant
CAPI 1.140.0
❗❗❗ Warnings ❗❗❗
- This release contains an update flaw. In special cases when workers get restarted during an update they can block the bosh deployment indefinitely, will be fixed with 1.142.0 see: cloudfoundry/cloud_controller_ng#3075
Highlights
- Introduces a new syslog drain endpoint to support mTLS on syslog-agent
- Allows users to be exempted from the V2 api rate limiter
- Allows credential bindings for inactive service plans
CC API Version: 2.192.0 and 3.127.0
Service Broker API Version: 2.15
CAPI Release
- Update the blobstore max_upload_size default to remove upload size limit (#274)
- Introducing a new syslog drain endpoint (#272, cloudfoundry/cloud_controller_ng#2903)
- Remove bits-service leftovers (#273, cloudfoundry/cloud_controller_ng#3006)
- Remove unused git submodules (#277)
Cloud Controller
- V2 rate limit exclusions (cloudfoundry/cloud_controller_ng#2993)
- Increase the webdav receive_timeout to 120 seconds (cloudfoundry/cloud_controller_ng#3010)
- Return correct docker port (cloudfoundry/cloud_controller_ng#2974)
- POST /v3/service_credential_bindings can now bind inactive service plans (cloudfoundry/cloud_controller_ng#2972)
- Various sequel improvements (cloudfoundry/cloud_controller_ng#3008)
- Refactor service_instance_list_fetcher perm logic (cloudfoundry/cloud_controller_ng#3014)
- Migration to correct column name in asg_timestamps table (cloudfoundry/cloud_controller_ng#3013)
- Add an unique index to service_instance_operations (cloudfoundry/cloud_controller_ng#2929)
- Optimisations for /v3/roles API calls (cloudfoundry/cloud_controller_ng#2971)
- Reduce db queries for /organizations/:guid/domains (cloudfoundry/cloud_controller_ng#2997)
- Remove unnecessary db query as admin user for organization_quotas (cloudfoundry/cloud_controller_ng#2995)
- Return 503 in case of database connection errors (cloudfoundry/cloud_controller_ng#2969)
- Make console compatible to Ruby 3 (cloudfoundry/cloud_controller_ng#2990)
- Remove unnecessary db query as admin user for update_route_destinations (cloudfoundry/cloud_controller_ng#2986)
- Ignore sequel_pg logs (cloudfoundry/cloud_controller_ng#2982)
- Improve space supporter API doc (cloudfoundry/cloud_controller_ng#2977)
- Remove redundant locks and transactions (cloudfoundry/cloud_controller_ng#2967)
- GitHub Workflows security hardening (cloudfoundry/cloud_controller_ng#2978)
- Remove protobuf as dependency (cloudfoundry/cloud_controller_ng#2983)
- Remove RequestCount model (cloudfoundry/cloud_controller_ng#2964)
Cloud Controller Database Migrations
- 20220802160500_index_syslog_drain_url.rb
- 20220818142407_add_unique_index_to_service_instance_operations_service_instance_id.rb
- 20220915134500_drop_request_counts_table.rb
- 20221003231438_correct_asg_latest_update_id_column_name.rb
Dependency Bumps
- Bump Golang to go1.19.2
- Bump newrelic_rpm from 8.9.0 to 8.11.0
- Bump statsd-ruby from 1.4.0 to 1.5.0
- Bump google-protobuf from 3.21.2 to 3.21.7
- Bump kubeclient from 4.10.0 to 4.10.1
- Bump sequel_pg from 1.16.0 to 1.17.0
- Bump sinatra-contrib from 3.0.1 to 3.0.2
- Bump sequel from 5.60.1 to 5.61.0
- Bump psych from 4.0.5 to 4.0.6
- Bump sinatra from 2.2.2 to 3.0.1
- Bump pg from 1.4.3 to 1.4.4
- Bump rspec-rails from 5.1.2 to 6.0.0
- Bump solargraph from 0.46.0 to 0.47.2
- Bump parallel_tests from 3.12.0 to 3.13.0
- Bump spring from 4.0.0 to 4.1.0
- Bump json-schema and jsprim in /docs/v3
- Bump yargs-parser and yargs in /docs/v3
- Bump express from 4.18.1 to 4.18.2 in /docs/v3
Contributors
@dalvarado, @dark5un, @fhambrec, @ionphractal, @johha, @jpalermo, @kathap, @MerricdeLauney, @philippthun, @samcolson4, @sashashura, @stephanme, @will-gant, @xandroc