stalniy / casl

CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access
https://casl.js.org/
MIT License
6.05k stars 270 forks source link

refactor: removes contextApiPatch.d.ts file from @casl/react to get rid of possible confusion in tools that can greedily include this file into compilation targets #931

Closed stalniy closed 5 months ago

stalniy commented 5 months ago

BREAKING CHANGE: removes contextApiPatch.d.ts file from @casl/react to get rid of possible confusion. The only affected apps are those which are based on React < 16.4.

Fixes #920

stalniy commented 5 months ago

Release notes for packages that will be published after merge

Code Refactoring

* removes contextApiPatch.d.ts file from @casl/react to get rid of possible confusion in tools that can greedily include this file into compilation targets (7445a4b (https://github.com/stalniy/casl/commit/7445a4b95fe5ed1a22be91971fb6c70e599e6cee))

BREAKING CHANGES

* removes contextApiPatch.d.ts file from @casl/react to get rid of possible confusion. The only affected apps are those which are based on React < 16.4.
stalniy commented 5 months ago

Release notes for packages that will be published after merge

[9:09:10 AM] [semantic-release] › ℹ Release note for version 4.0.0:

4.0.0 (https://github.com/stalniy/casl/compare/@casl/react@3.1.0...@casl/react@4.0.0) (2024-06-16)

Code Refactoring

* removes contextApiPatch.d.ts file from @casl/react to get rid of possible confusion in tools that can greedily include this file into compilation targets (7445a4b (https://github.com/stalniy/casl/commit/7445a4b95fe5ed1a22be91971fb6c70e599e6cee))

BREAKING CHANGES

* removes contextApiPatch.d.ts file from @casl/react to get rid of possible confusion. The only affected apps are those which are based on React < 16.4.
stalniy commented 5 months ago

🚀 This PR changes was released in @casl/react@4.0.0