Compare commits

...

8 commits
3.9.0 ... main

Author SHA1 Message Date
Mahima Singh
74059a1442
Merge pull request #698 from puppetlabs/fix-release-notes-workflow
Some checks failed
Security / Mend Scanning (push) Has been cancelled
(maint) Fix release-notes.md and auto-generate from CHANGELOG in release workflow
2026-03-19 12:10:59 +05:30
Mahima Singh
7157f9237e (maint) Fix release-notes.md for 3.9.1 and auto-generate from CHANGELOG in workflow 2026-03-19 12:07:27 +05:30
Mahima Singh
23eb5dc949
Merge pull request #697 from puppetlabs/release_prep_3-9-1
(maint) Release prep for 3.9.1
2026-03-19 12:00:39 +05:30
Mahima Singh
e67057962b (maint) Update CHANGELOG section to match generator output 2026-03-19 11:56:23 +05:30
Mahima Singh
b6c9e15b00 (maint) Release prep for 3.9.1 2026-03-19 11:54:15 +05:30
Mahima Singh
0f5ad7aafd
Merge pull request #696 from puppetlabs/fix-wire-rate-limiter-middleware
(P4DEVOPS-9434) Wire RateLimiter middleware into API Rack stack
2026-03-19 11:53:10 +05:30
Mahima Singh
bbd299a4a5 (maint) Fix rubocop: use modifier if form for rate limiter 2026-03-19 11:48:31 +05:30
Mahima Singh
dfb2a384ab (P4DEVOPS-9434) Wire RateLimiter middleware into API Rack stack 2026-03-19 11:43:34 +05:30
6 changed files with 25 additions and 15 deletions

View file

@ -29,6 +29,13 @@ jobs:
echo "version=$version" >> $GITHUB_OUTPUT echo "version=$version" >> $GITHUB_OUTPUT
echo "Found version $version from lib/vmpooler/version.rb" echo "Found version $version from lib/vmpooler/version.rb"
- name: Generate Release Notes
run: |
version=$(grep VERSION lib/vmpooler/version.rb |rev |cut -d "'" -f2 |rev)
awk "/^## \[${version}\]/{found=1; next} found && /^## \[/{exit} found{print}" CHANGELOG.md > release-notes.md
echo "Generated release-notes.md for version ${version}:"
cat release-notes.md
- name: Tag Release - name: Tag Release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1
with: with:

View file

@ -1,5 +1,13 @@
# Changelog # Changelog
## [3.9.1](https://github.com/puppetlabs/vmpooler/tree/3.9.1) (2026-03-19)
[Full Changelog](https://github.com/puppetlabs/vmpooler/compare/3.9.0...3.9.1)
**Merged pull requests:**
- \(P4DEVOPS-9434\) Wire RateLimiter middleware into API Rack stack [\#696](https://github.com/puppetlabs/vmpooler/pull/696) ([smahima27](https://github.com/smahima27))
## [3.9.0](https://github.com/puppetlabs/vmpooler/tree/3.9.0) (2026-03-17) ## [3.9.0](https://github.com/puppetlabs/vmpooler/tree/3.9.0) (2026-03-17)
[Full Changelog](https://github.com/puppetlabs/vmpooler/compare/3.8.1...3.9.0) [Full Changelog](https://github.com/puppetlabs/vmpooler/compare/3.8.1...3.9.0)

View file

@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
vmpooler (3.9.0) vmpooler (3.9.1)
concurrent-ruby (~> 1.1) concurrent-ruby (~> 1.1)
connection_pool (~> 2.4) connection_pool (~> 2.4)
deep_merge (~> 1.2) deep_merge (~> 1.2)

View file

@ -3,7 +3,7 @@
module Vmpooler module Vmpooler
class API < Sinatra::Base class API < Sinatra::Base
# Load API components # Load API components
%w[helpers dashboard v3 request_logger healthcheck].each do |lib| %w[helpers dashboard v3 request_logger healthcheck rate_limiter].each do |lib|
require "vmpooler/api/#{lib}" require "vmpooler/api/#{lib}"
end end
# Load dashboard components # Load dashboard components
@ -50,6 +50,9 @@ module Vmpooler
# Enable API request logging only if required # Enable API request logging only if required
use Vmpooler::API::RequestLogger, logger: logger if config[:config]['request_logger'] use Vmpooler::API::RequestLogger, logger: logger if config[:config]['request_logger']
# Enable rate limiting if configured
use Vmpooler::API::RateLimiter, redis, config if config[:config]['rate_limiting_enabled']
use Vmpooler::Dashboard use Vmpooler::Dashboard
use Vmpooler::API::Dashboard use Vmpooler::API::Dashboard
use Vmpooler::API::V3 use Vmpooler::API::V3

View file

@ -1,5 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
module Vmpooler module Vmpooler
VERSION = '3.9.0' VERSION = '3.9.1'
end end

View file

@ -1,15 +1,7 @@
## [3.8.1](https://github.com/puppetlabs/vmpooler/tree/3.8.1) (2026-01-14) ## [3.9.1](https://github.com/puppetlabs/vmpooler/tree/3.9.1) (2026-03-19)
[Full Changelog](https://github.com/puppetlabs/vmpooler/compare/3.7.0...3.8.1) [Full Changelog](https://github.com/puppetlabs/vmpooler/compare/3.9.0...3.9.1)
**Implemented enhancements:** **Merged pull requests:**
- \(P4DEVOPS-9434\) Add rate limiting and input validation security enhancements [\#690](https://github.com/puppetlabs/vmpooler/pull/690) ([mahima-singh](https://github.com/mahima-singh)) - \(P4DEVOPS-9434\) Wire RateLimiter middleware into API Rack stack [\#696](https://github.com/puppetlabs/vmpooler/pull/696) ([smahima27](https://github.com/smahima27))
- \(P4DEVOPS-8570\) Add Phase 2 optimizations: status API caching and improved Redis pipelining [\#689](https://github.com/puppetlabs/vmpooler/pull/689) ([mahima-singh](https://github.com/mahima-singh))
- \(P4DEVOPS-8567\) Add DLQ, auto-purge, and health checks for Redis queues [\#688](https://github.com/puppetlabs/vmpooler/pull/688) ([mahima-singh](https://github.com/mahima-singh))
- Add retry logic for immediate clone failures [\#687](https://github.com/puppetlabs/vmpooler/pull/687) ([mahima-singh](https://github.com/mahima-singh))
**Fixed bugs:**
- \(P4DEVOPS-8567\) Prevent VM allocation for already-deleted request-ids [\#688](https://github.com/puppetlabs/vmpooler/pull/688) ([mahima-singh](https://github.com/mahima-singh))
- Prevent re-queueing requests already marked as failed [\#687](https://github.com/puppetlabs/vmpooler/pull/687) ([mahima-singh](https://github.com/mahima-singh))