Skip to content

Releases: DevWizardHQ/laravel-react-permissions

v1.1.4

25 Sep 07:17

Choose a tag to compare

What's Changed

Full Changelog: v1.1.3...v1.1.4

v1.1.3

25 Sep 06:45

Choose a tag to compare

What's Changed

  • build(deps-dev): bump @typescript-eslint/parser from 8.44.0 to 8.44.1 by @dependabot[bot] in #18
  • build(deps-dev): bump eslint from 9.35.0 to 9.36.0 by @dependabot[bot] in #19
  • build(deps-dev): bump ts-jest from 29.4.2 to 29.4.4 by @dependabot[bot] in #20
  • build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.44.0 to 8.44.1 by @dependabot[bot] in #21
  • fix: logical operators without spaces and hyphenated permissions by @iqbalhasandev in #22

Full Changelog: v1.1.2...v1.1.3

v1.1.2

19 Sep 02:45

Choose a tag to compare

What's Changed

  • build(deps-dev): bump jest-environment-jsdom from 30.1.1 to 30.1.2 by @dependabot[bot] in #3
  • build(deps-dev): bump jest from 30.1.1 to 30.1.2 by @dependabot[bot] in #4
  • build(deps-dev): bump eslint from 9.34.0 to 9.35.0 by @dependabot[bot] in #6
  • build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.41.0 to 8.43.0 by @dependabot[bot] in #8
  • build(deps-dev): bump @typescript-eslint/parser from 8.41.0 to 8.43.0 by @dependabot[bot] in #9
  • build(deps-dev): bump jest from 30.1.2 to 30.1.3 by @dependabot[bot] in #7
  • build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.43.0 to 8.44.0 by @dependabot[bot] in #10
  • build(deps-dev): bump ts-jest from 29.4.1 to 29.4.2 by @dependabot[bot] in #11
  • build(deps-dev): bump @types/react from 19.1.12 to 19.1.13 by @dependabot[bot] in #12
  • build(deps-dev): bump globals from 16.3.0 to 16.4.0 by @dependabot[bot] in #14
  • fix: Wildcard pattern matching fails when userPermissions array is empty by @iqbalhasandev in #16
  • build(deps): bump actions/setup-node from 4 to 5 by @dependabot[bot] in #5
  • chore: bump version to 1.1.2 by @iqbalhasandev in #17

Full Changelog: v1.1.1...v1.1.2

v1.1.1

31 Aug 06:47
3348c00

Choose a tag to compare

What's Changed

  • Fix: Improve TypeScript import suggestions and module exports by @iqbalhasandev in #2

New Contributors

Full Changelog: v1.1.0...v1.1.1

v1.1.0

31 Aug 06:05

Choose a tag to compare

Release Notes - v1.1.0

🎉 What's New

  • Initial release of @devwizard/laravel-react-permissions
  • Core <Can> component for conditional rendering
  • usePermissions hook for programmatic permission checking
  • withPermission HOC for component wrapping
  • Advanced pattern matching with wildcards (*) and single chars (?)
  • Boolean logic support with logical operators (||, &&, |, &)
  • Custom permissions array support
  • Expression validation and safe evaluation
  • Full TypeScript support with type definitions
  • Comprehensive documentation and examples
  • Laravel Spatie Permission integration
  • Performance optimizations with memoization
  • Zero-dependency architecture (only peer dependencies)
Features
  • Pattern matching: users.*, admin.?dit
  • Boolean expressions: (users.* || posts.*) && admin.access
  • Custom permissions: Override auth with custom arrays
  • Safe evaluation: Protected against code injection
  • Laravel conventions: Follows @can directive patterns
  • TypeScript: Complete type safety and IntelliSense
Documentation
  • Complete setup guide
  • Pattern matching examples
  • API reference documentation
  • Real-world usage scenarios
  • Migration guide from other solutions

Full Changelog: View on GitHub