legion-data 1.10.0 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 739e9ec69b2eba4278f8f29356692ac681d6326ee610cb669fde4d09da3db811
4
- data.tar.gz: 9d03eb784f291637651350362e7315f8124172e71f5c168f34b59c9d3e6484e2
3
+ metadata.gz: ec6d2ef95eb45caa64e713c5dc236752a856cb7298e6b054099587b4faedcda1
4
+ data.tar.gz: 7df69945231cc4e38501cd1e49149ea44110db060600ea6606fb11008c5d1df6
5
5
  SHA512:
6
- metadata.gz: 1af6dbc468fe9d6ea80a72b19b6a0135e4f21e5038b20d4f7966278275ad8c7ab5f84da35bb32ba64d844aaf5bd2241948a403cd1b30a5a8bf0cbaf94a49ab98
7
- data.tar.gz: 5f5da115ddda7ad10a1afecd6b3336ec96fdee7c301dd9c91fa76e301f88c85e481238604c67dbd9f0d6fdfcc73fc4b37b574f478d3b468f85be24987663301b
6
+ metadata.gz: 3bd4a9fc8ed37d9fcbf92796baab4891601dbbed4b75a4bc1f752ee164a437af5a6e22516796977051c67c1bf555145fab2d2043a8754c7f7bf86175ebc977df
7
+ data.tar.gz: 3af41e387d8b98a3c7a8b527b88c6824b022d3baacc27c7243b5bafb7e7dc8c7e2876edc71e66994456667ade8a9b4b8854f55b1cffcfd1630ac082ffd87cdb0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Legion::Data Changelog
2
2
 
3
+ ## [1.10.1] - 2026-06-01
4
+
5
+ ### Added
6
+
7
+ - Migration 130: adds `pii_types_json` (TEXT), `jurisdictions_json` (TEXT), and `schema_version` (Integer, default 15) to `llm_conversations`. Required by lex-llm-ledger OfficialRecordWriter for compliance metadata.
8
+ - Migration 131: adds `schema_version` (Integer, default 15) to `llm_tool_calls`. Required by lex-llm-ledger OfficialRecordWriter.
9
+
3
10
  ## [1.10.0] - 2026-06-01
4
11
 
5
12
  ### Added
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ Sequel.migration do
4
+ up do
5
+ alter_table(:llm_conversations) do
6
+ add_column :pii_types_json, :text, null: true
7
+ add_column :jurisdictions_json, :text, null: true
8
+ add_column :schema_version, Integer, null: false, default: 15
9
+ end
10
+ end
11
+
12
+ down do
13
+ alter_table(:llm_conversations) do
14
+ drop_column :schema_version
15
+ drop_column :jurisdictions_json
16
+ drop_column :pii_types_json
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ Sequel.migration do
4
+ up do
5
+ alter_table(:llm_tool_calls) do
6
+ add_column :schema_version, Integer, null: false, default: 15
7
+ end
8
+ end
9
+
10
+ down do
11
+ alter_table(:llm_tool_calls) do
12
+ drop_column :schema_version
13
+ end
14
+ end
15
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Legion
4
4
  module Data
5
- VERSION = '1.10.0'
5
+ VERSION = '1.10.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legion-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity
@@ -276,6 +276,8 @@ files:
276
276
  - lib/legion/data/migrations/127_add_llm_message_inference_requests_audit_columns.rb
277
277
  - lib/legion/data/migrations/128_add_identity_columns_to_shared_tables.rb
278
278
  - lib/legion/data/migrations/129_create_llm_skill_events.rb
279
+ - lib/legion/data/migrations/130_add_llm_conversations_compliance_columns.rb
280
+ - lib/legion/data/migrations/131_add_llm_tool_calls_schema_version.rb
279
281
  - lib/legion/data/model.rb
280
282
  - lib/legion/data/models/apollo/access_log.rb
281
283
  - lib/legion/data/models/apollo/entries.rb