Skip to content

Conversation

@Aseminaunz
Copy link
Contributor

default.project.json is missing, which means that to import Typeforge, users must actually do require(typeforgePath.src). It also causes issues with tools such as pesde's core scripts. It currently throws a mystic panic there (see pesde-pkg/scripts#8), which makes using the module impossible.

This update requires a major version release.

name = "cameronpcampbell/typeforge"
description = "A Type Function utility library."
version = "2.1.0"
version = "3.0.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you change the version to 2.1.1 as the changes only constitutes a minor patch in my opinion. 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The change is major because it breaks compatibility with previous versions of the package.

It breaks compatibility because, previously, to import the package (both in wally and pesde), users were required to do

local typegorge = require(pathToTypeforge.src)

which is no longer valid. Instead, it's now

local typegorge = require(pathToTypeforge)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Making this a minor patch would make uses of the package that took versions 2.x.x break

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh yea, you're right - my bad.

@cameronpcampbell cameronpcampbell merged commit e7569c9 into typeforge-luau:main Sep 17, 2025
1 check failed
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.

2 participants