---
title: "Changes to Create a new package version"
method: POST
path: "/scopes/{scope}/packages/{package}/versions/{version}"
---

# Changes to Create a new package version

`POST /scopes/{scope}/packages/{package}/versions/{version}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 8 revisions.

- **2026-02-11** `0c4e8d8a5c2a`: 2 breaking, 2 warning, 3 info

## Changes

- **2026-02-11** `0c4e8d8a5c2a`: 2 breaking, 2 warning, 3 info
  - the response property `error` became optional for the status `200`
  - removed the required property `userId` from the response with the `200` status
  - changed the pattern of the `path` request parameter `package` from `/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/` to `^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$`
  - changed the pattern of the `path` request parameter `scope` from `/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/` to `^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$`
  - added the optional property `user` to the response with the `200` status
  - the `packageName` response's property pattern was changed from `/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/` to `^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$` for the status `200`
  - the `packageScope` response's property pattern was changed from `/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/` to `^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$` for the status `200`

---

[Operation](https://skmtc.dev/deno/apis/jsr/docs/scopes/:scope/packages/:package/versions/:version/post.md) - [API](https://skmtc.dev/deno/apis/jsr.md) - [Page](https://skmtc.dev/deno/apis/jsr/changes/scopes/:scope/packages/:package/versions/:version/post)
