From 0a95edf34563830c4e0d68eb30898bf040536ed3 Mon Sep 17 00:00:00 2001 From: Dennis Paler Date: Sat, 18 Jul 2026 22:36:28 +0800 Subject: [PATCH] changed license to apache 2.0 from mit --- .github/workflows/ci.yml | 36 ++--- .github/workflows/docs.yml | 6 +- .github/workflows/release.yml | 54 ++++---- CHANGELOG.md | 10 ++ CONTRIBUTING.md | 4 +- Cargo.toml | 1 + LICENSE | 223 +++++++++++++++++++++++++++--- NOTICE | 5 + README.md | 7 +- cli/package.json | 2 +- core/Cargo.toml | 1 + dashboard/src/pages/Login.tsx | 2 +- dashboard/src/pages/Setup.tsx | 2 +- docs/.vitepress/config.ts | 2 +- docs/guide/what-is-checkgate.md | 2 +- docs/index.md | 2 +- edge/package.json | 2 +- sdks/flutter/dart/README.md | 2 +- sdks/flutter/dart/rust/Cargo.toml | 1 + sdks/nodejs/Cargo.toml | 1 + sdks/nodejs/package.json | 2 +- sdks/react-native/Cargo.toml | 1 + sdks/react-native/package.json | 2 +- sdks/web/Cargo.toml | 1 + sdks/web/package.json | 2 +- server/Cargo.toml | 1 + ssr/package.json | 2 +- 27 files changed, 292 insertions(+), 84 deletions(-) create mode 100644 NOTICE diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9d3bca..355d3d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: name: Rust tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable @@ -73,7 +73,7 @@ jobs: --health-timeout 5s --health-retries 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable @@ -120,7 +120,7 @@ jobs: --health-timeout 5s --health-retries 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable @@ -128,7 +128,7 @@ jobs: - name: Cache Rust build artifacts uses: Swatinem/rust-cache@v2 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 @@ -165,7 +165,7 @@ jobs: name: Dashboard build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: oven-sh/setup-bun@v2 with: @@ -190,9 +190,9 @@ jobs: name: CLI tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 @@ -211,9 +211,9 @@ jobs: name: Edge evaluator tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 @@ -228,9 +228,9 @@ jobs: name: SSR helpers tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 @@ -246,9 +246,9 @@ jobs: name: Node SDK tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 @@ -268,9 +268,9 @@ jobs: matrix: sdk: [web, react-native] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 @@ -290,7 +290,7 @@ jobs: name: Flutter SDK tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: subosito/flutter-action@v2 with: @@ -318,9 +318,9 @@ jobs: - integrations/terraform-provider-checkgate - integrations/kubernetes-operator steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-go@v5 + - uses: actions/setup-go@v6 with: go-version: "1.25" cache-dependency-path: ${{ matrix.module }}/go.sum diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0a3a1ac..a42bb44 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,9 +21,9 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: '22.x' cache: npm @@ -51,4 +51,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4ca942..8cc382c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,9 +40,9 @@ jobs: name: Verify — JS packages runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 @@ -116,7 +116,7 @@ jobs: artifact: checkgate.win32-x64-msvc.node steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable @@ -128,7 +128,7 @@ jobs: with: key: ${{ matrix.target }} - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 @@ -152,7 +152,7 @@ jobs: fi - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: node-${{ matrix.target }} path: sdks/nodejs/${{ matrix.artifact }} @@ -164,7 +164,7 @@ jobs: # publish job to assemble alongside all six `.node` binaries. - name: Upload JS dispatch loader if: matrix.target == 'x86_64-unknown-linux-gnu' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: node-js-binding path: | @@ -177,7 +177,7 @@ jobs: name: Verify — web WASM runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable @@ -190,7 +190,7 @@ jobs: - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 @@ -219,7 +219,7 @@ jobs: run: node scripts/smoke-core.mjs - name: Upload built WASM - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: web-dist path: sdks/web/dist @@ -230,7 +230,7 @@ jobs: name: Verify — Flutter package runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Flutter (stable) uses: subosito/flutter-action@v2 @@ -269,7 +269,7 @@ jobs: name: Verify — Docker image runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up QEMU (multi-arch) uses: docker/setup-qemu-action@v3 @@ -313,15 +313,15 @@ jobs: contents: read id-token: write # OIDC token for npm provenance steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 registry-url: https://registry.npmjs.org - name: Download all native artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: pattern: node-* merge-multiple: true @@ -382,15 +382,15 @@ jobs: contents: read id-token: write # OIDC token for npm provenance steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 registry-url: https://registry.npmjs.org - name: Download built WASM - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: web-dist path: sdks/web/dist @@ -428,8 +428,8 @@ jobs: contents: read id-token: write # OIDC token for npm provenance steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: node-version: 22 registry-url: https://registry.npmjs.org @@ -455,8 +455,8 @@ jobs: contents: read id-token: write # OIDC token for npm provenance steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: node-version: 22 registry-url: https://registry.npmjs.org @@ -482,8 +482,8 @@ jobs: contents: read id-token: write # OIDC token for npm provenance steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: node-version: 22 registry-url: https://registry.npmjs.org @@ -509,8 +509,8 @@ jobs: contents: read id-token: write # OIDC token for npm provenance steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: node-version: 22 registry-url: https://registry.npmjs.org @@ -539,7 +539,7 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Flutter (stable) uses: subosito/flutter-action@v2 @@ -581,7 +581,7 @@ jobs: packages: write id-token: write # Required for Cosign keyless signing steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up QEMU (multi-arch) uses: docker/setup-qemu-action@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index ee6742c..9e3444e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/). ## [0.1.22] - 2026-07-18 +### Changed — License + +- **Checkgate is now licensed under the Apache License 2.0** (previously MIT). Both are permissive + and neither restricts commercial or closed-source use; Apache 2.0 adds an **explicit patent grant** + from contributors to users, which MIT is silent on, plus a defensive patent-retaliation clause and + an explicit statement that trademark rights are not granted. The SPDX identifier on every crate + and npm package is now `Apache-2.0`, and a `NOTICE` file has been added. +- Releases up to and including **`v0.1.21` remain MIT-licensed** — that grant is irrevocable for + those versions and for anyone who already received them. + ### Added - **Slack & Microsoft Teams alerts** — flag and change-request activity can now be delivered straight diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2f2970a..22eba00 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -100,4 +100,6 @@ Use the GitHub issue templates: ## License -By contributing you agree that your changes will be licensed under the [MIT License](LICENSE). +By contributing you agree that your changes will be licensed under the +[Apache License 2.0](LICENSE), and that you have the right to grant that licence +for the work you submit. diff --git a/Cargo.toml b/Cargo.toml index f96cbc7..68851a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,3 +11,4 @@ resolver = "2" [workspace.package] version = "0.1.22" +license = "Apache-2.0" diff --git a/LICENSE b/LICENSE index 605a128..b6c9789 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,202 @@ -MIT License - -Copyright (c) 2025 ThinkGrid Labs - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2025 ThinkGrid Labs + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..752331c --- /dev/null +++ b/NOTICE @@ -0,0 +1,5 @@ +Checkgate +Copyright 2025 ThinkGrid Labs + +This product includes software developed at ThinkGrid Labs +(https://github.com/thinkgrid-labs/checkgate). diff --git a/README.md b/README.md index 8ba4cb1..6b95965 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ # Checkgate — Feature Flags Without the Round-Trip. [![CI](https://github.com/ThinkGrid-Labs/checkgate/actions/workflows/ci.yml/badge.svg)](https://github.com/ThinkGrid-Labs/checkgate/actions/workflows/ci.yml) -[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) +[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE) [![npm @checkgate/node](https://img.shields.io/npm/v/@checkgate/node?label=npm%20node)](https://www.npmjs.com/package/@checkgate/node) [![npm @checkgate/web](https://img.shields.io/npm/v/@checkgate/web?label=npm%20web)](https://www.npmjs.com/package/@checkgate/web) [![npm @checkgate/react-native](https://img.shields.io/npm/v/@checkgate/react-native?label=npm%20react-native)](https://www.npmjs.com/package/@checkgate/react-native) @@ -111,4 +111,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). ## License -MIT — see [LICENSE](LICENSE). +Apache License 2.0 — see [LICENSE](LICENSE) and [NOTICE](NOTICE). + +Releases up to and including `v0.1.21` were published under the MIT License; that +grant is irrevocable for those versions. diff --git a/cli/package.json b/cli/package.json index 4b1aef8..4794a96 100644 --- a/cli/package.json +++ b/cli/package.json @@ -38,5 +38,5 @@ "bugs": { "url": "https://github.com/thinkgrid-labs/checkgate/issues" }, - "license": "MIT" + "license": "Apache-2.0" } diff --git a/core/Cargo.toml b/core/Cargo.toml index 294b7f6..3eb2af5 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "checkgate-core" version.workspace = true +license.workspace = true edition = "2021" [dependencies] diff --git a/dashboard/src/pages/Login.tsx b/dashboard/src/pages/Login.tsx index f6ebe5e..6a628bc 100644 --- a/dashboard/src/pages/Login.tsx +++ b/dashboard/src/pages/Login.tsx @@ -98,7 +98,7 @@ export default function Login() {
- MIT Licensed + Apache 2.0 Licensed ThinkGrid Labs
diff --git a/dashboard/src/pages/Setup.tsx b/dashboard/src/pages/Setup.tsx index 84f595b..107f816 100644 --- a/dashboard/src/pages/Setup.tsx +++ b/dashboard/src/pages/Setup.tsx @@ -111,7 +111,7 @@ export default function Setup() { -

MIT Licensed · Open Source

+

Apache 2.0 Licensed · Open Source

{/* Right panel */} diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 1cea3da..a521a35 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -117,7 +117,7 @@ export default defineConfig({ ], footer: { - message: "Released under the MIT License.", + message: "Released under the Apache License 2.0.", copyright: "Copyright © 2025 ThinkGrid Labs", }, diff --git a/docs/guide/what-is-checkgate.md b/docs/guide/what-is-checkgate.md index a0b1f4a..eb809d5 100644 --- a/docs/guide/what-is-checkgate.md +++ b/docs/guide/what-is-checkgate.md @@ -45,7 +45,7 @@ Checkgate is a complete feature-flag platform, not just a toggle store: | Evaluation latency | ~100ns | ~5–50ms (remote) | | Update propagation | SSE push, <50ms | Polling / streaming | | Self-hosted | Yes | No (or enterprise-only) | -| Open source | MIT | Closed source | +| Open source | Apache 2.0 | Closed source | | Vendor lock-in | None | High | | A/B testing | Beta (goal events + significance) | Yes | | Infrastructure as code | Terraform + Kubernetes operator | Terraform (managed) | diff --git a/docs/index.md b/docs/index.md index 0fb7c42..c713f4e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -47,6 +47,6 @@ features: details: Native SDKs, a type-safe codegen CLI, edge evaluation (Cloudflare Workers, Fly.io), SSR/bootstrap helpers, and infrastructure-as-code via a Terraform provider and Kubernetes operator. - icon: 🔓 - title: Open Source & MIT Licensed + title: Open Source & Apache 2.0 Licensed details: No black boxes, no usage limits, no surprise pricing. Fork it, extend it, and own your feature flag infrastructure completely. --- diff --git a/edge/package.json b/edge/package.json index 8399113..2b72d9c 100644 --- a/edge/package.json +++ b/edge/package.json @@ -34,5 +34,5 @@ "bugs": { "url": "https://github.com/thinkgrid-labs/checkgate/issues" }, - "license": "MIT" + "license": "Apache-2.0" } diff --git a/sdks/flutter/dart/README.md b/sdks/flutter/dart/README.md index bb77c04..924bf55 100644 --- a/sdks/flutter/dart/README.md +++ b/sdks/flutter/dart/README.md @@ -43,4 +43,4 @@ final enabled = client.isEnabled('dark_mode', userId, {'country': 'US'}); ## License -MIT +Apache-2.0 diff --git a/sdks/flutter/dart/rust/Cargo.toml b/sdks/flutter/dart/rust/Cargo.toml index bd26448..c8c865d 100644 --- a/sdks/flutter/dart/rust/Cargo.toml +++ b/sdks/flutter/dart/rust/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "flutter" version.workspace = true +license.workspace = true edition = "2024" [lib] diff --git a/sdks/nodejs/Cargo.toml b/sdks/nodejs/Cargo.toml index a410736..a96be1c 100644 --- a/sdks/nodejs/Cargo.toml +++ b/sdks/nodejs/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "nodejs" version.workspace = true +license.workspace = true edition = "2024" [lib] diff --git a/sdks/nodejs/package.json b/sdks/nodejs/package.json index 0f66839..b92fb78 100644 --- a/sdks/nodejs/package.json +++ b/sdks/nodejs/package.json @@ -13,7 +13,7 @@ "bugs": { "url": "https://github.com/thinkgrid-labs/checkgate/issues" }, - "license": "MIT", + "license": "Apache-2.0", "files": [ "index.js", "index.d.ts", diff --git a/sdks/react-native/Cargo.toml b/sdks/react-native/Cargo.toml index fabc2dc..cd36d88 100644 --- a/sdks/react-native/Cargo.toml +++ b/sdks/react-native/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "react-native" version.workspace = true +license.workspace = true edition = "2021" # Produces both a dynamic lib (Android .so) and a static lib (iOS .a) diff --git a/sdks/react-native/package.json b/sdks/react-native/package.json index 68a7578..9baf003 100644 --- a/sdks/react-native/package.json +++ b/sdks/react-native/package.json @@ -12,7 +12,7 @@ "bugs": { "url": "https://github.com/thinkgrid-labs/checkgate/issues" }, - "license": "MIT", + "license": "Apache-2.0", "scripts": { "prepublishOnly": "node scripts/bundle-rust.js", "test": "vitest run" diff --git a/sdks/web/Cargo.toml b/sdks/web/Cargo.toml index aec6671..aefcaa7 100644 --- a/sdks/web/Cargo.toml +++ b/sdks/web/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "browser" version.workspace = true +license.workspace = true edition = "2024" [lib] diff --git a/sdks/web/package.json b/sdks/web/package.json index 4e83f87..61d1d97 100644 --- a/sdks/web/package.json +++ b/sdks/web/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/thinkgrid-labs/checkgate/issues" }, - "license": "MIT", + "license": "Apache-2.0", "scripts": { "build": "wasm-pack build --target web --out-name checkgate --out-dir dist", "prepublishOnly": "node scripts/bundle-rust.cjs", diff --git a/server/Cargo.toml b/server/Cargo.toml index 310d82c..f979f83 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "server" version.workspace = true +license.workspace = true edition = "2024" [dependencies] diff --git a/ssr/package.json b/ssr/package.json index f322613..1cc7938 100644 --- a/ssr/package.json +++ b/ssr/package.json @@ -36,5 +36,5 @@ "bugs": { "url": "https://github.com/thinkgrid-labs/checkgate/issues" }, - "license": "MIT" + "license": "Apache-2.0" }