From 9035ef4d29ebcef0f4faaf3399e0edaedbb2a051 Mon Sep 17 00:00:00 2001 From: Daniele Briggi Date: Fri, 11 Sep 2026 11:22:37 +0200 Subject: [PATCH 1/2] chore(license): change for pypi package --- README.md | 2 +- packages/python/pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6b6d6c6..d8ba5ee 100644 --- a/README.md +++ b/README.md @@ -465,7 +465,7 @@ You can deploy powerful similarity search capabilities right inside your app or ## License -Free Use in Open-Source Projects: You may use, copy, distribute, and prepare derivative works of the software — in source or object form, with or without modification — freely and without fee, provided the software is incorporated into or used by an open-source project licensed under an OSI-approved open-source license. Everything else is licensed under the [Elastic License 2.0](./LICENSE.md). You can use, copy, modify, and distribute it under the terms of the license for non-production use. For production or managed service use, please [contact SQLite Cloud, Inc](mailto:info@sqlitecloud.io) for a commercial license. +This project is licensed under the [Apache License 2.0](./LICENSE.md). --- diff --git a/packages/python/pyproject.toml b/packages/python/pyproject.toml index f514d71..23a2fc1 100644 --- a/packages/python/pyproject.toml +++ b/packages/python/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=61.0", "build", "wheel"] +requires = ["setuptools>=77.0.3", "build", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -10,7 +10,7 @@ authors = [ { name = "SQLite AI Team" } ] readme = "README.md" -license = "LicenseRef-Elastic-2.0-Modified-For-Open-Source-Use" +license = "Apache-2.0" license-files = ["LICENSE.md"] requires-python = ">=3" From 52d30b7ab50d477b0c238530f6217c4aa3b57a05 Mon Sep 17 00:00:00 2001 From: Gioele Cantoni Date: Fri, 11 Sep 2026 12:02:43 +0200 Subject: [PATCH 2/2] update to Apache License 2.0 across multiple packages file --- packages/android/build.gradle | 4 ++-- packages/flutter/hook/build.dart | 2 +- packages/flutter/lib/sqlite_vector.dart | 2 +- packages/flutter/lib/src/sqlite_vector.dart | 11 ++++++----- packages/node/README.md | 6 ++---- packages/node/generate-platform-packages.js | 2 +- packages/node/package.json | 2 +- 7 files changed, 14 insertions(+), 15 deletions(-) diff --git a/packages/android/build.gradle b/packages/android/build.gradle index a566ba7..4dd674a 100644 --- a/packages/android/build.gradle +++ b/packages/android/build.gradle @@ -70,8 +70,8 @@ afterEvaluate { licenses { license { - name = 'Elastic License 2.0' - url = 'https://www.elastic.co/licensing/elastic-license' + name = 'Apache License 2.0' + url = 'https://www.apache.org/licenses/LICENSE-2.0.txt' } } diff --git a/packages/flutter/hook/build.dart b/packages/flutter/hook/build.dart index 34ce21f..277d903 100644 --- a/packages/flutter/hook/build.dart +++ b/packages/flutter/hook/build.dart @@ -1,5 +1,5 @@ // Copyright (c) 2025 SQLite Cloud, Inc. -// Licensed under the Elastic License 2.0 (see LICENSE.md). +// Licensed under the Apache License 2.0 (see LICENSE.md). import 'dart:io'; diff --git a/packages/flutter/lib/sqlite_vector.dart b/packages/flutter/lib/sqlite_vector.dart index bb89890..ebdf3a0 100644 --- a/packages/flutter/lib/sqlite_vector.dart +++ b/packages/flutter/lib/sqlite_vector.dart @@ -1,5 +1,5 @@ // Copyright (c) 2025 SQLite Cloud, Inc. -// Licensed under the Elastic License 2.0 (see LICENSE.md). +// Licensed under the Apache License 2.0 (see LICENSE.md). library sqlite_vector; diff --git a/packages/flutter/lib/src/sqlite_vector.dart b/packages/flutter/lib/src/sqlite_vector.dart index 99bef77..1b3b7bd 100644 --- a/packages/flutter/lib/src/sqlite_vector.dart +++ b/packages/flutter/lib/src/sqlite_vector.dart @@ -1,5 +1,5 @@ // Copyright (c) 2025 SQLite Cloud, Inc. -// Licensed under the Elastic License 2.0 (see LICENSE.md). +// Licensed under the Apache License 2.0 (see LICENSE.md). import 'dart:ffi'; @@ -27,10 +27,11 @@ extension SqliteVectorExtension on Sqlite3 { ensureExtensionLoaded( SqliteExtension( Native.addressOf< - NativeFunction< - Int Function(Pointer, Pointer, Pointer)>>( - sqlite3_vector_init, - ).cast(), + NativeFunction< + Int Function(Pointer, Pointer, Pointer) + > + >(sqlite3_vector_init) + .cast(), ), ); } diff --git a/packages/node/README.md b/packages/node/README.md index 32b97f5..7d725e7 100644 --- a/packages/node/README.md +++ b/packages/node/README.md @@ -1,7 +1,7 @@ # @sqliteai/sqlite-vector [![npm version](https://badge.fury.io/js/@sqliteai%2Fsqlite-vector.svg)](https://badge.fury.io/js/@sqliteai%2Fsqlite-vector) -[![License](https://img.shields.io/badge/license-Elastic%202.0-blue.svg)](LICENSE.md) +[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE.md) > SQLite Vector extension packaged for Node.js @@ -140,9 +140,7 @@ Error thrown when the SQLite Vector extension cannot be found for the current pl ## License -This project is licensed under the [Elastic License 2.0](LICENSE.md). - -For production or managed service use, please [contact SQLite Cloud, Inc](mailto:info@sqlitecloud.io) for a commercial license. +This project is licensed under the [Apache License 2.0](LICENSE.md). ## Contributing diff --git a/packages/node/generate-platform-packages.js b/packages/node/generate-platform-packages.js index 4916583..a6a135d 100755 --- a/packages/node/generate-platform-packages.js +++ b/packages/node/generate-platform-packages.js @@ -99,7 +99,7 @@ function generatePackageJson(platform, version) { ...platform.name.split('-'), ], author: 'Gioele Cantoni (gioele@sqlitecloud.io)', - license: 'SEE LICENSE IN LICENSE.md', + license: 'Apache-2.0', repository: { type: 'git', url: 'https://github.com/sqliteai/sqlite-vector.git', diff --git a/packages/node/package.json b/packages/node/package.json index 4878d01..556d21a 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -41,7 +41,7 @@ "sqlite-extension" ], "author": "Gioele Cantoni (gioele@sqlitecloud.io)", - "license": "SEE LICENSE IN LICENSE.md", + "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/sqliteai/sqlite-vector.git",