Skip to content

Conversation

jeandoBet
Copy link

Summary

The current package.json contains version 3.40.1 while the git repository has tag v3.53.0. This creates inconsistency when installing via npm from git reference:

npm install git+https://github.com/oss-serverless/serverless.git#v3.53.0

Despite specifying tag v3.53.0, npm installs version 3.40.1 because it reads the version from package.json, not from the git tag.

Solution

Update the version field in package.json from 3.40.1 to 3.53.0 to match the git tag.

Impact

  • ✅ Fixes version inconsistency between git tags and package.json
  • ✅ Ensures npm installations reflect the correct version
  • ✅ Improves user experience when installing from git references
  • ✅ Maintains compatibility with existing workflows

Verification

After this change, npx serverless --version will correctly display:

osls version: 3.53.0 (local)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Copy link
Contributor

@GrahamCampbell GrahamCampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather just delete the version out of here if we can.

@mnapoli
Copy link
Contributor

mnapoli commented Sep 9, 2025

+1 I don't want to maintain it

@jeandoBet
Copy link
Author

It seems to be a mandatory field for npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants