From 488697049e57ecb00df5bc0adda123ee5d265a9a Mon Sep 17 00:00:00 2001 From: tlarrain Date: Tue, 25 Aug 2026 12:25:18 -0400 Subject: [PATCH] ci: add release workflow and bump to 1.3.0 Co-Authored-By: Claude Fable 5 --- .github/workflows/release.yml | 50 +++++++++++++++++++++++++++++++++++ CHANGELOG.md | 12 +++++++++ Gemfile.lock | 2 +- lib/fintoc/version.rb | 2 +- 4 files changed, 64 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..3aeeb6a --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,50 @@ +name: release + +on: + workflow_dispatch: + inputs: + bump: + description: 'Tipo de bump' + type: choice + required: true + default: minor + options: [patch, minor, major] + release-notes: + description: 'Release notes (markdown, opcional)' + type: string + required: false + +jobs: + release: + if: github.ref == 'refs/heads/main' + runs-on: ubuntu-latest + permissions: + contents: write + id-token: write + steps: + - uses: actions/checkout@v4 + + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.2.2' + bundler-cache: true + + - run: bundle exec rspec + + - uses: fintoc-com/release-action/prepare@main + id: prep + with: + bump: ${{ inputs.bump }} + version-format: ruby + tag-prefix: v + app-id: ${{ vars.FIN_RELEASES_APP_ID }} + app-private-key: ${{ secrets.FIN_RELEASES_PRIVATE_KEY }} + + - uses: rubygems/release-gem@v1 + + - uses: fintoc-com/release-action/finalize@main + with: + tag: ${{ steps.prep.outputs.tag }} + release-notes: ${{ inputs.release-notes }} + app-id: ${{ vars.FIN_RELEASES_APP_ID }} + app-private-key: ${{ secrets.FIN_RELEASES_PRIVATE_KEY }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 1218807..6049e10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 1.3.0 - 2026-08-25 + +### 🚀 New Features + +- **Entity Onboardings**: Added `entities` resource with `create`, and `onboardings` under entities, including legal representative document upload +- **Webhook Endpoints**: Added `webhook_endpoints` manager +- **Multipart Uploads**: HTTP client now supports `multipart/form-data` requests + +### 🐛 Bug Fixes + +- **HTTP 6 Compatibility**: Request options are passed as keyword arguments + ## 1.2.0 - 2026-04-08 ### 🚀 New Features diff --git a/Gemfile.lock b/Gemfile.lock index 740b740..b186a4f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - fintoc (1.2.0) + fintoc (1.3.0) http money-rails tabulate diff --git a/lib/fintoc/version.rb b/lib/fintoc/version.rb index 661b9f1..3d2cbcf 100644 --- a/lib/fintoc/version.rb +++ b/lib/fintoc/version.rb @@ -1,3 +1,3 @@ module Fintoc - VERSION = '1.2.0' + VERSION = '1.3.0' end