diff --git a/examples/browser_summarizer/pubspec.lock b/examples/browser_summarizer/pubspec.lock index cda7e771..da08ad5c 100644 --- a/examples/browser_summarizer/pubspec.lock +++ b/examples/browser_summarizer/pubspec.lock @@ -518,10 +518,10 @@ packages: dependency: transitive description: name: uuid - sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90" + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff url: "https://pub.dev" source: hosted - version: "4.4.2" + version: "4.5.1" vector_math: dependency: transitive description: diff --git a/examples/docs_examples/pubspec.lock b/examples/docs_examples/pubspec.lock index 350d8700..66c2a609 100644 --- a/examples/docs_examples/pubspec.lock +++ b/examples/docs_examples/pubspec.lock @@ -446,10 +446,10 @@ packages: dependency: transitive description: name: uuid - sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90" + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff url: "https://pub.dev" source: hosted - version: "4.4.2" + version: "4.5.1" vector_math: dependency: transitive description: diff --git a/examples/hello_world_backend/pubspec.lock b/examples/hello_world_backend/pubspec.lock index 58f549a5..283add6f 100644 --- a/examples/hello_world_backend/pubspec.lock +++ b/examples/hello_world_backend/pubspec.lock @@ -241,10 +241,10 @@ packages: dependency: transitive description: name: uuid - sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90" + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff url: "https://pub.dev" source: hosted - version: "4.4.2" + version: "4.5.1" web: dependency: transitive description: diff --git a/examples/hello_world_cli/pubspec.lock b/examples/hello_world_cli/pubspec.lock index 93450e1c..362c4485 100644 --- a/examples/hello_world_cli/pubspec.lock +++ b/examples/hello_world_cli/pubspec.lock @@ -201,10 +201,10 @@ packages: dependency: transitive description: name: uuid - sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90" + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff url: "https://pub.dev" source: hosted - version: "4.4.2" + version: "4.5.1" web: dependency: transitive description: diff --git a/examples/hello_world_flutter/pubspec.lock b/examples/hello_world_flutter/pubspec.lock index cfc3475e..f7ee62c4 100644 --- a/examples/hello_world_flutter/pubspec.lock +++ b/examples/hello_world_flutter/pubspec.lock @@ -374,10 +374,10 @@ packages: dependency: transitive description: name: uuid - sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90" + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff url: "https://pub.dev" source: hosted - version: "4.4.2" + version: "4.5.1" vector_math: dependency: transitive description: diff --git a/examples/wikivoyage_eu/pubspec.lock b/examples/wikivoyage_eu/pubspec.lock index 82120202..7abf253f 100644 --- a/examples/wikivoyage_eu/pubspec.lock +++ b/examples/wikivoyage_eu/pubspec.lock @@ -319,10 +319,10 @@ packages: dependency: transitive description: name: uuid - sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90" + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff url: "https://pub.dev" source: hosted - version: "4.4.2" + version: "4.5.1" vector_math: dependency: transitive description: diff --git a/melos.yaml b/melos.yaml index ff6f52ba..96d44214 100644 --- a/melos.yaml +++ b/melos.yaml @@ -59,7 +59,7 @@ command: shelf: ^1.4.2 shelf_router: ^1.1.4 supabase: ^2.2.7 - uuid: ^4.4.2 + uuid: ^4.5.1 web_socket_channel: ^3.0.1 dev_dependencies: build_runner: ^2.4.11 diff --git a/packages/langchain/lib/src/embeddings/cache.dart b/packages/langchain/lib/src/embeddings/cache.dart index 3a67cd39..d44c0935 100644 --- a/packages/langchain/lib/src/embeddings/cache.dart +++ b/packages/langchain/lib/src/embeddings/cache.dart @@ -135,7 +135,7 @@ class EmbeddingsByteStoreEncoder @override String encodeKey(final String key) { final keyHash = sha1.convert(utf8.encode(key)).toString(); - return uuid.v5(Namespace.URL, keyHash); + return uuid.v5(Namespace.url.value, keyHash); } @override diff --git a/packages/langchain/pubspec.yaml b/packages/langchain/pubspec.yaml index 872d9b5c..72d66037 100644 --- a/packages/langchain/pubspec.yaml +++ b/packages/langchain/pubspec.yaml @@ -21,7 +21,7 @@ dependencies: crypto: ^3.0.3 langchain_core: 0.3.6 meta: ^1.11.0 - uuid: ^4.4.2 + uuid: ^4.5.1 dev_dependencies: test: ^1.25.8 diff --git a/packages/langchain/test/embeddings/cache.dart b/packages/langchain/test/embeddings/cache.dart index c29f4e41..d9924cb3 100644 --- a/packages/langchain/test/embeddings/cache.dart +++ b/packages/langchain/test/embeddings/cache.dart @@ -91,7 +91,7 @@ void main() async { const uuid = Uuid(); const key = 'key'; final keyHash = sha1.convert(utf8.encode(key)).toString(); - final expectedEncodedKey = uuid.v5(Uuid.NAMESPACE_URL, keyHash); + final expectedEncodedKey = uuid.v5(Namespace.url.value, keyHash); final value = [0.1, 0.2, 0.3]; final expectedEncodedValue = Uint8List.fromList(utf8.encode(json.encode(value))); diff --git a/packages/langchain_chroma/pubspec.yaml b/packages/langchain_chroma/pubspec.yaml index 95e99fad..a8425fb2 100644 --- a/packages/langchain_chroma/pubspec.yaml +++ b/packages/langchain_chroma/pubspec.yaml @@ -21,7 +21,7 @@ dependencies: http: ^1.2.2 langchain_core: 0.3.6 meta: ^1.11.0 - uuid: ^4.4.2 + uuid: ^4.5.1 dev_dependencies: test: ^1.25.8 diff --git a/packages/langchain_community/pubspec.yaml b/packages/langchain_community/pubspec.yaml index d92f94a9..4c034c34 100644 --- a/packages/langchain_community/pubspec.yaml +++ b/packages/langchain_community/pubspec.yaml @@ -27,7 +27,7 @@ dependencies: meta: ^1.11.0 objectbox: ^4.0.1 tavily_dart: ^0.1.0 - uuid: ^4.4.2 + uuid: ^4.5.1 dev_dependencies: build_runner: ^2.4.11 diff --git a/packages/langchain_firebase/example/pubspec.lock b/packages/langchain_firebase/example/pubspec.lock index 4cec2b94..8db2e2c6 100644 --- a/packages/langchain_firebase/example/pubspec.lock +++ b/packages/langchain_firebase/example/pubspec.lock @@ -414,10 +414,10 @@ packages: dependency: transitive description: name: uuid - sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90" + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff url: "https://pub.dev" source: hosted - version: "4.4.2" + version: "4.5.1" vector_math: dependency: transitive description: diff --git a/packages/langchain_firebase/pubspec.lock b/packages/langchain_firebase/pubspec.lock index 2300463c..54681afe 100644 --- a/packages/langchain_firebase/pubspec.lock +++ b/packages/langchain_firebase/pubspec.lock @@ -352,10 +352,10 @@ packages: dependency: "direct main" description: name: uuid - sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90" + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff url: "https://pub.dev" source: hosted - version: "4.4.2" + version: "4.5.1" vector_math: dependency: transitive description: diff --git a/packages/langchain_firebase/pubspec.yaml b/packages/langchain_firebase/pubspec.yaml index 74f496b2..6d3f52b6 100644 --- a/packages/langchain_firebase/pubspec.yaml +++ b/packages/langchain_firebase/pubspec.yaml @@ -25,7 +25,7 @@ dependencies: firebase_vertexai: ^0.2.2 langchain_core: 0.3.6 meta: ^1.11.0 - uuid: ^4.4.2 + uuid: ^4.5.1 dev_dependencies: flutter_test: diff --git a/packages/langchain_google/pubspec.yaml b/packages/langchain_google/pubspec.yaml index 514fdbe9..9754ef41 100644 --- a/packages/langchain_google/pubspec.yaml +++ b/packages/langchain_google/pubspec.yaml @@ -26,7 +26,7 @@ dependencies: http: ^1.2.2 langchain_core: 0.3.6 meta: ^1.11.0 - uuid: ^4.4.2 + uuid: ^4.5.1 vertex_ai: ^0.1.0+2 dev_dependencies: diff --git a/packages/langchain_ollama/pubspec.yaml b/packages/langchain_ollama/pubspec.yaml index eb2c1fc8..6b266c7a 100644 --- a/packages/langchain_ollama/pubspec.yaml +++ b/packages/langchain_ollama/pubspec.yaml @@ -23,7 +23,7 @@ dependencies: langchain_tiktoken: ^1.0.1 meta: ^1.11.0 ollama_dart: ^0.2.2 - uuid: ^4.4.2 + uuid: ^4.5.1 dev_dependencies: test: ^1.25.8 diff --git a/packages/langchain_openai/pubspec.yaml b/packages/langchain_openai/pubspec.yaml index 869b3cce..2f6b5467 100644 --- a/packages/langchain_openai/pubspec.yaml +++ b/packages/langchain_openai/pubspec.yaml @@ -23,7 +23,7 @@ dependencies: langchain_tiktoken: ^1.0.1 meta: ^1.11.0 openai_dart: ^0.4.2+1 - uuid: ^4.4.2 + uuid: ^4.5.1 dev_dependencies: langchain: ^0.7.7 diff --git a/packages/langchain_pinecone/pubspec.yaml b/packages/langchain_pinecone/pubspec.yaml index 96da57c1..80e58ced 100644 --- a/packages/langchain_pinecone/pubspec.yaml +++ b/packages/langchain_pinecone/pubspec.yaml @@ -21,7 +21,7 @@ dependencies: langchain_core: 0.3.6 meta: ^1.11.0 pinecone: ^0.7.2 - uuid: ^4.4.2 + uuid: ^4.5.1 dev_dependencies: test: ^1.25.8