Skip to content

Commit 13867d1

Browse files
committed
chore: update dependencies and add changelog documentation
- Update expo and react-native dependencies to latest versions - Add changelog documentation page with detailed version history - Remove outdated font integration guide as it's now part of main docs
1 parent e0c47c4 commit 13867d1

File tree

7 files changed

+338
-272
lines changed

7 files changed

+338
-272
lines changed

CHANGELOG.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [0.1.2] - 2025-07-25
99

1010
### Added
1111
- Complete contribution documentation
@@ -36,7 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3636
### Security
3737
- Added security policy and guidelines
3838

39-
## [1.0.0] - 2025-07-15
39+
## [0.0.1] - 2025-07-15
4040

4141
### Added
4242
- 🎉 Initial release of React Native Components (RNC Theme)
@@ -88,10 +88,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8888
- RTL layout support (coming soon)
8989

9090
### Technical Details
91-
- **React Native**: 0.72+ support
91+
- **React Native**: 0.79+ support
9292
- **TypeScript**: Full type safety
93-
- **Dependencies**: Minimal external dependencies
94-
- **Bundle Size**: < 50KB gzipped
9593
- **Platform Support**: iOS, Android, Web (experimental)
9694

9795
---

app.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"plugins": [
3-
"expo-localization"
3+
"expo-localization",
4+
"expo-router"
45
]
56
}

apps/docs/astro.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,14 @@ export default defineConfig({
242242
{ label: 'Theme Switcher', slug: 'api/theme-switcher' },
243243
],
244244
},
245+
{
246+
label: 'Changelog',
247+
slug: 'changelog',
248+
badge: {
249+
text: 'New',
250+
variant: 'success',
251+
},
252+
},
245253
],
246254
}),
247255
],
Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
---
2+
title: Changelog
3+
description: A detailed changelog of all the changes made to React Native Components (RNC Theme) library.
4+
---
5+
6+
import { Aside, Card, CardGrid, Code, LinkCard, Badge } from '@astrojs/starlight/components';
7+
8+
All notable changes to this project will be documented in this file.
9+
10+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
11+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
12+
13+
<Aside type="tip" title="Latest Updates">
14+
For the most up-to-date changes, check our [GitHub Releases](https://github.com/masumrpg/react-native-components/releases) or [commit history](https://github.com/masumrpg/react-native-components/commits/main).
15+
</Aside>
16+
17+
## [0.1.2] - 2025-07-25
18+
19+
### <Badge text="Added" variant="success" /> New Features
20+
21+
- Complete contribution documentation
22+
- Issue and pull request templates
23+
- Security policy and code of conduct
24+
- **Custom font configuration support** in `RNCProvider`
25+
- Font configuration documentation and examples
26+
- New props: `fontConfig`, `fontsLoaded`, and `onFontLoadError` for `RNCProvider`
27+
- Custom font setup guide with Expo Google Fonts integration
28+
29+
### <Badge text="Changed" variant="note" /> Improvements
30+
31+
- Improved project structure documentation
32+
- Enhanced `RNCProvider` with font loading capabilities
33+
- Updated API documentation with new font-related props
34+
35+
### <Badge text="Fixed" variant="caution" /> Bug Fixes
36+
37+
- **Fixed theme persistence issue** where only current theme mode was saved
38+
- Fixed `updateCustomTheme` to save both light and dark variants when preset is applied
39+
- Added missing `fontFamily: 'System'` to all typography variants in preset themes
40+
41+
### <Badge text="Security" variant="danger" /> Security
42+
43+
- Added security policy and guidelines
44+
45+
---
46+
47+
## [0.0.1] - 2025-07-15
48+
49+
### <Badge text="Added" variant="success" /> Initial Release
50+
51+
**Initial release of React Native Components (RNC Theme)**
52+
53+
<CardGrid>
54+
<Card title="Dynamic Theming" icon="puzzle">
55+
Light/dark mode with custom theme support
56+
</Card>
57+
<Card title="TypeScript" icon="seti:typescript">
58+
Complete TypeScript support
59+
</Card>
60+
<Card title="Customizable" icon="add-document">
61+
Highly customizable theme system
62+
</Card>
63+
<Card title="Performance" icon="rocket">
64+
React Native optimized performance
65+
</Card>
66+
</CardGrid>
67+
68+
#### Components
69+
70+
- **Button & FAB**: Customizable buttons with variants and Floating Action Button
71+
- **Typography**: Complete typography system with heading, body, and caption variants
72+
- **Form Controls**: Input, Checkbox, Radio, Switcher, Toggle, Slider, Form Control
73+
- **Layout & Navigation**: Card, Divider, Layout, Modal, Bottom Sheet, Accordion
74+
- **Data Display**: Table, Badge, Avatar, Progress, Rating, Skeleton loading
75+
- **Feedback & Interaction**: Toast notifications, Tooltip, Spinner
76+
- **Media & Content**: Image Carousel, Calendar, Date Picker
77+
- **Advanced Features**: Combobox, Scroll components, i18n support
78+
79+
#### Theme System
80+
81+
- Pre-built light and dark themes
82+
- Custom theme creation support
83+
- Theme token system
84+
- Runtime theme switching
85+
- Persistent theme preferences
86+
87+
#### Developer Experience
88+
89+
- TypeScript definitions for all components
90+
- Comprehensive documentation
91+
- Example application
92+
- Storybook integration (coming soon)
93+
94+
#### Accessibility
95+
96+
- Screen reader support
97+
- Keyboard navigation
98+
- ARIA labels and roles
99+
- High contrast support
100+
101+
#### Performance
102+
103+
- Optimized for React Native
104+
- Minimal bundle size impact
105+
- Efficient re-rendering
106+
- Memory leak prevention
107+
108+
#### Internationalization
109+
110+
- i18n support with i18n-js
111+
- Multiple language support
112+
- RTL layout support (coming soon)
113+
114+
### Technical Details
115+
116+
| Feature | Support |
117+
|---------|--------|
118+
| **React Native** | 0.79+ |
119+
| **TypeScript** | Full type safety |
120+
| **Platform Support** | iOS, Android, Web (experimental) |
121+
122+
---
123+
124+
## Changelog Guidelines
125+
126+
<Aside type="note">
127+
This changelog follows the [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format and [Semantic Versioning](https://semver.org/spec/v2.0.0.html) principles.
128+
</Aside>
129+
130+
### Change Categories
131+
132+
- **Added**: New features
133+
- **Changed**: Changes to existing features
134+
- **Deprecated**: Features to be removed in future versions
135+
- **Removed**: Removed features
136+
- **Fixed**: Bug fixes
137+
- **Security**: Security fixes
138+
139+
### Versioning Guidelines
140+
141+
#### Major Version (X.0.0)
142+
- Breaking changes
143+
- Major new features
144+
- Significant API changes
145+
- Minimum version requirement changes
146+
147+
#### Minor Version (0.X.0)
148+
- New features (backward compatible)
149+
- New components
150+
- New props or methods
151+
- Deprecations
152+
153+
#### Patch Version (0.0.X)
154+
- Bug fixes
155+
- Security patches
156+
- Documentation updates
157+
- Performance improvements (non-breaking)
158+
159+
---
160+
161+
## Resources
162+
163+
<CardGrid>
164+
<LinkCard
165+
title="GitHub Repository"
166+
description="Source code, issues, and contributions"
167+
href="https://github.com/masumrpg/react-native-components"
168+
/>
169+
<LinkCard
170+
title="GitHub Releases"
171+
description="Detailed release notes and downloads"
172+
href="https://github.com/masumrpg/react-native-components/releases"
173+
/>
174+
<LinkCard
175+
title="Commit History"
176+
description="View all commits and changes"
177+
href="https://github.com/masumrpg/react-native-components/commits/main"
178+
/>
179+
<LinkCard
180+
title="Contributing Guide"
181+
description="How to contribute to the project"
182+
href="/contributing"
183+
/>
184+
</CardGrid>
185+
186+
---
187+
188+
<Aside type="note">
189+
Need help or found an issue? Create an issue on [GitHub](https://github.com/masumrpg/react-native-components/issues).
190+
</Aside>
191+

0 commit comments

Comments
 (0)