diff --git a/CHANGELOG.md b/CHANGELOG.md index d52251e..6067291 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [0.0.13] - 2025-01-30 + +- Make sure manifest is ran in detached context + ## [0.0.12] - 2025-01-28 - Fix potential issue with default serializer inheritance/overriding diff --git a/Gemfile.lock b/Gemfile.lock index 0083986..204cd12 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - foobara-http-command-connector (0.0.12) + foobara-http-command-connector (0.0.13) foobara GEM @@ -54,7 +54,7 @@ GEM foobara-type-generator foobara-typescript-react-command-form-generator foobara-typescript-remote-command-generator - foobara (0.0.51) + foobara (0.0.53) bigdecimal foobara-util foobara-autocrud-generator (0.0.1) @@ -260,4 +260,4 @@ RUBY VERSION ruby 3.4.1p0 BUNDLED WITH - 2.6.2 + 2.6.3 diff --git a/src/http/commands/describe.rb b/src/http/commands/describe.rb index 726d5d0..3fd46e5 100644 --- a/src/http/commands/describe.rb +++ b/src/http/commands/describe.rb @@ -6,6 +6,12 @@ class Describe < Foobara::CommandConnector::Commands::Describe def stamp_request_metadata manifest[:metadata] = super.merge(url: request.url) end + + def build_manifest + Thread.foobara_with_var("foobara_manifest_context", detached: true) do + super + end + end end end end diff --git a/version.rb b/version.rb index f747b8b..cc1ea13 100644 --- a/version.rb +++ b/version.rb @@ -1,6 +1,6 @@ module Foobara module HttpCommandConnector - VERSION = "0.0.12".freeze + VERSION = "0.0.13".freeze local_ruby_version = File.read("#{__dir__}/.ruby-version").chomp local_ruby_version_minor = local_ruby_version[/\A(\d+\.\d+)\.\d+\z/, 1]