Skip to content

Commit 651d5c9

Browse files
iqbalhasandevgithub-actions[bot]
authored andcommitted
docs: update CHANGELOG for v1.0.1
1 parent 019d99f commit 651d5c9

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

CHANGELOG.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All notable changes to `@devwizard/laravel-localizer-vue` will be documented in this file.
44

5+
## v1.0.1 - 2025-11-10
6+
7+
### What's Changed
8+
9+
- fix: bump version to 1.0.1 in package.json
10+
11+
**Full Changelog**: https://github.com/DevWizardHQ/laravel-localizer-vue/compare/v1.0.0...v1.0.1
12+
513
## v1.0.0 - 2025-11-09
614

715
### 🎉 Initial Stable Release
@@ -15,17 +23,20 @@ This is the first stable release of Laravel Localizer Vue, providing seamless in
1523
A powerful Vue 3 composable for accessing Laravel translations with full TypeScript support and reactivity:
1624

1725
- **Translation Functions**
26+
1827
- `__()` - Main translation function with placeholder replacement and fallback support
1928
- `trans()` - Alias for `__()` (Laravel compatibility)
2029
- `lang()` - Alias for `__()` (Laravel compatibility)
2130
- `has()` - Check if translation key exists
2231
- `choice()` - Pluralization support with replacement variables
23-
32+
2433
- **Reactive Locale Information**
34+
2535
- `locale` - ComputedRef for current locale code (e.g., 'en', 'fr')
2636
- `dir` - ComputedRef for text direction ('ltr' or 'rtl')
2737
- `availableLocales` - ComputedRef for available locales with metadata
2838
- `translations` - ComputedRef for all translations for current locale
39+
2940

3041
#### Placeholder Replacement
3142

@@ -143,10 +154,16 @@ Seamless integration with Inertia.js:
143154
This release consolidates all beta features into a stable API. Key changes from beta versions:
144155

145156
- Renamed `useTranslation` to `useLocalizer` for consistency
157+
146158
- Uses `window.localizer.translations` for global translation access
159+
147160
- Improved Vite plugin with better pattern matching
161+
148162
- Enhanced TypeScript definitions
163+
149164
- All reactive values are now ComputedRef types
150-
165+
151166
- Proper package.json exports field
167+
152168
- Peer dependencies: Vue 3+, Inertia v1/v2, Vite 5+
169+

0 commit comments

Comments
 (0)