0671ff3de5
- move twenty-sdk from dependencies to devDependencies - add documentation about breaking - add warning about moving the package to dev dependencies
1.1 KiB
1.1 KiB
Changelog
All notable changes to the Twenty SDK are documented in this file.
The format follows Keep a Changelog, and this package adheres to Semantic Versioning.
[2.8.0]
Breaking Changes
-
twenty-sdkmust now be a dev dependency. It ships thetwentyCLI and the build/scaffolding tooling, which only run at development and build time — it is never imported by a published app's runtime. Newly scaffolded apps already place it underdevDependencies. Apps created before2.8.0must move it when upgrading:"dependencies": { "twenty-client-sdk": "^2.8.0" - "twenty-sdk": "^2.8.0" }, "devDependencies": { + "twenty-sdk": "^2.8.0" }Then reinstall with
rm -rf node_modules && yarn install.twenty-client-sdkstays underdependenciesbecause app code imports it at runtime.twenty buildnow emits a warning whentwenty-sdkis still listed underdependencies, so existing apps are flagged automatically.