Skip to content

feat(core): aliases take only array-ish given - #2033

Merged
Jakub Rożek (P0lip) merged 3 commits into
developfrom
feat/core/arrayish-aliases
Jan 27, 2022
Merged

Jakub Rożek (P0lip) merged 3 commits into
developfrom
feat/core/arrayish-aliases

Conversation

@P0lip

@P0lip Jakub Rożek (P0lip) commented Jan 21, 2022 •

Copy link
Copy Markdown
Contributor

As requested by Nauman (@mnaumanali94), aliases are arrays-only now.
This is in line with that Marc MacLeod (@marbemac) suggested back in the previous PR.

Checklist

  • Tests added / updated
  • Docs added / updated

Does this PR introduce a breaking change?

  • Yes
  • No

@P0lip Jakub Rożek (P0lip) added enhancement New feature or request breaking Pull requests that introduce a breaking change labels Jan 21, 2022
@P0lip Jakub Rożek (P0lip) self-assigned this Jan 21, 2022
@P0lip
Jakub Rożek (P0lip) marked this pull request as ready for review January 21, 2022 21:56

@marbemac Marc MacLeod (marbemac) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍 nice - and always have the option to introduce non-array syntax in the future if there's high demand / use case for it.

Just one nit re the docs, otherwise looks good

Comment thread docs/guides/4-custom-rulesets.md Resolved

@mnaumanali94 Nauman (mnaumanali94) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Beautiful. Hopefully we can get given here too eventually.

@P0lip

Copy link
Copy Markdown
Contributor Author

Despite it being a de jure breaking change, de facto it is not such since the actual usage is almost non-existent.
However, it's a one-off exception. I'd really love to follow the semantic versioning very strictly as always used to do.

@P0lip
Jakub Rożek (P0lip) merged commit 263dc20 into develop Jan 27, 2022
@P0lip
Jakub Rożek (P0lip) deleted the feat/core/arrayish-aliases branch January 27, 2022 12:03
@stoplight-bot

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version @stoplight/spectral-core-v1.10.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@stoplight-bot

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version @stoplight/spectral-rulesets-v1.4.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@billiegoose

Billie Hilton (billiegoose) commented Mar 10, 2022 •

Copy link
Copy Markdown
Contributor

Despite it being a de jure breaking change, de facto it is not such since the actual usage is almost non-existent.
However, it's a one-off exception. I'd really love to follow the semantic versioning very strictly as always used to do.

a month later this change made it to Studio and SHOCKINGLY it broke styleguides! (of course it did 🙃) Nauman (@mnaumanali94) making breaking changes and violating semver is a terrible idea. Jakub Rożek (@P0lip) trust your gut next time.

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

Labels

breaking Pull requests that introduce a breaking change enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants