Skip to content

Commit 9146aec

Browse files
authored
Add SDK versioning policy to README.md (#42)
1 parent dc342d2 commit 9146aec

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

README.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ The SDK can be installed from PyPI as follows:
1010
$ pip install lmstudio
1111
```
1212

13+
Installation from the repository URL or a local clone is also
14+
supported for development and pre-release testing purposes.
15+
1316
## Examples
1417

1518
The base component of the LM Studio SDK is the (synchronous) `Client`.
@@ -52,7 +55,32 @@ for message in EXAMPLE_MESSAGES:
5255
print(f"Shopkeeper: {response}")
5356
```
5457

55-
TODO: Refer readers to the SDK documentation for more info.
58+
Additional SDK examples and usage recommendations may be found in the main
59+
[LM Studio Python SDK documentation](https://lmstudio.ai/docs/python).
60+
61+
## SDK versioning
62+
63+
The LM Studio Python SDK uses a 3-part `X.Y.Z` numeric version identifier:
64+
65+
* `X`: incremented when the minimum version of significant dependencies is updated
66+
(for example, dropping support for older versions of Python or LM Studio).
67+
Previously deprecated features may be dropped when this part of the version number
68+
increases.
69+
* `Y`: incremented when new features are added, or some other notable change is
70+
introduced (such as support for additional versions of Python). New deprecation
71+
warnings may be introduced when this part of the version number increases.
72+
* `Z`: incremented for bug fix releases which don't contain any other changes.
73+
Adding exceptions and warnings for previously undetected situations is considered
74+
a bug fix.
75+
76+
This versioning policy is intentionally similar to [semantic versioning](https://semver.org/),
77+
but differs in the specifics of when the different parts of the version number will be updated.
78+
79+
Release candidates *may* be published prior to full releases, but this will typically only
80+
occur when seeking broader feedback on particular features prior to finalizing the release.
81+
82+
Outside the preparation of a new release, the SDK repository will include a `.devN` suffix
83+
on the nominal Python package version.
5684

5785
## Contributing to SDK development
5886

@@ -70,7 +98,6 @@ necessary to ensure the `lmstudio-js` submodule is updated:
7098
$ git submodule update --init --recursive
7199
```
72100

73-
74101
### Development Environment
75102

76103
In order to work on the Python SDK, you need to install

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "lmstudio"
3-
version = "1.0.2.dev0"
3+
version = "1.1.0.dev0"
44
description = "LM Studio Python SDK"
55
authors = [
66
{name = "LM Studio", email = "team@lmstudio.ai"},

src/lmstudio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""LM Studio Python SDK."""
22

3-
__version__ = "1.0.2.dev0"
3+
__version__ = "1.1.0.dev0"
44

55

66
# In addition to publishing the main SDK client API,

0 commit comments

Comments
 (0)