Skip to content

Releases: clajiness/qbop

v0.11.3

10 Jan 20:14
Compare
Choose a tag to compare

This release includes several updates to the qbop project, focusing on version upgrades and logging improvements. The most important changes include updating the base image in the Dockerfile, upgrading gem versions in the Gemfile, and refining log messages in the main script.

Version upgrades:

  • Dockerfile: Updated the base image from ruby:3.4-slim to ruby:3.4.1-slim.
  • Gemfile: Upgraded the logger gem to version 1.6.5 and the rubocop gem to version 1.70.

Logging improvements:

  • qbop.rb: Enhanced the log message in the loop to include the script version.
  • qbop.rb: Refined the log message for the forwarded port returned by Proton.

Full Changelog: v0.11.2...v0.11.3

v0.11.1

10 Jan 18:07
Compare
Choose a tag to compare

This release includes a change to the service/counter.rb file to simplify and improve the set_required_attempts method. The most important change involves consolidating the conversion and validation of the attempts parameter to ensure it is properly handled.

Simplification and improvement:

  • service/counter.rb: Modified the set_required_attempts method to combine the conversion of attempts to an integer and its validation into a single conditional statement, ensuring @required_attempts is set only when attempts is between 1 and 10.

Full Changelog: v0.11.0...v0.11.1

v0.11.0

10 Jan 03:11
Compare
Choose a tag to compare

This release includes several improvements and additions to the testing framework, as well as some code refactoring and documentation updates. The most important changes include the addition of RSpec tests for the Service::Counter and Service::Helpers classes, the initialization of RSpec configuration, and some refactoring to improve code clarity.

https://github.com/clajiness/qbop/pkgs/container/qbop

Testing Framework Enhancements:

  • spec/service/counter_spec.rb: Added comprehensive RSpec tests for the Service::Counter class, covering initialization and various methods.
  • spec/service/helpers_spec.rb: Added comprehensive RSpec tests for the Service::Helpers class, covering environment variables and helper methods.
  • .rspec: Added --require spec_helper to ensure the spec helper is loaded for all tests.
  • spec/spec_helper.rb: Initialized RSpec configuration with recommended settings and options for a better testing experience.

Code Refactoring:

  • service/counter.rb: Refactored set_required_attempts method to improve readability and ensure @required_attempts is always set. Removed the unused reset_all method. [1] [2]
  • service/helpers.rb: Refactored parse_loop_frequency method to provide a default value of 45 if the input is invalid.

Documentation Update:

  • README.md: Simplified the installation instructions by removing redundant information about the natpmpc command requirement.

Dependency Update:

  • Gemfile: Added the rspec gem to the dependencies to support the new tests.

Full Changelog: v0.10.2...v0.11.0

v0.10.2

07 Jan 19:22
Compare
Choose a tag to compare

This release introduces several important changes to the CI/CD workflow, Docker setup, and configuration management for the qbop project. The changes include adding a GitHub Actions workflow for Docker publishing, updating the Dockerfile to handle versioning, and modifying the way the version is managed within the application.

CI/CD Workflow:

  • Added a new GitHub Actions workflow .github/workflows/docker-publish.yml to automate Docker image building and publishing based on tags and pull request events.

Docker Setup:

  • Updated the Dockerfile to include an ARG and ENV for the version, allowing the version to be passed as a build argument.

Configuration Management:

  • Modified qbop.rb to use the version from environment variables instead of reading from a file, and adjusted the loop frequency setup.
  • Updated service/helpers.rb to include script_version in the environment variables and removed the version method. [1] [2]
  • Removed the version.yml file as it is no longer needed for version management.

Full Changelog: v0.9.5...v0.10.2

v0.9.5

02 Jan 20:41
994efd2
Compare
Choose a tag to compare

This release includes updates to the documentation, code refactoring, and minor grammatical fixes.

Full Changelog: v0.9.3...v0.9.5

v0.9.3

27 Dec 21:30
b0ece23
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.8.0...v0.9.3

This release includes several changes to improve the functionality and configuration of the qbop project. The most important changes include updating the Dockerfile, enhancing the configuration options for Docker Compose, and refactoring the code to use a new Counter class for tracking attempts.

Dockerfile Update:

  • Updated the base image from ruby:3.3.6-slim to ruby:3.4-slim in the Dockerfile.

Configuration Enhancements:

  • Updated the environment variables section in the README.md to reflect new configuration options and improved descriptions.
  • Added the REQUIRED_ATTEMPTS environment variable to the docker-compose.yml file for configuring the number of attempts before updating OPNsense and qBit.

Code Refactoring:

  • Introduced a new Counter class in service/counter.rb to track the number of attempts to change the port in OPNsense and qBit, and refactored qbop.rb to use this new class. [1] [2]
  • Added helper methods in service/helpers.rb for parsing loop frequency and checking if qBit should be skipped. [1] [2]

Minor Fixes:

  • Removed redundant URL prefixes in service/opnsense.rb and service/qbit.rb to simplify the code. [1] [2] [3] [4]
  • Updated the version number in version.yml from 0.8.0 to 0.9.3.

v0.8.0

23 Dec 16:57
759dd71
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.8.0

v0.7.0

22 Dec 03:38
42840f4
Compare
Choose a tag to compare

What's Changed

  • V0.6 by @clajiness in #8
  • Replaced Net:HTTP with Faraday to help clean up code base

Full Changelog: v0.6.0...v0.7.0

v0.6.0

21 Dec 02:34
4c8ead1
Compare
Choose a tag to compare

What's Changed

  • V0.6 by @clajiness in #7
  • Removed native installation instructions and associated files. From v0.6.0 and onward, this tool will only be container-based. That said, the code is easily cloned and ran locally or just fork it and do what you want.

Full Changelog: v0.5.2...v0.6.0

v0.5.2

02 Dec 15:02
b79350e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.1...v0.5.2