Skip to content

Commit 1f87286

Browse files
committed
feat: Release v0.4.0 with enhanced LinkedIn 404 detection and Rig integration
Major enhancements: - Enhanced LinkedIn 404 detection with comprehensive apostrophe encoding support - Complete Rig framework integration examples with real-world patterns - Added perfect one-line Tool implementation pattern - Improved error handling for various LinkedIn response formats - Added archive folder for test files - Updated documentation with latest examples
1 parent c718896 commit 1f87286

22 files changed

+1833
-93
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,8 @@ cobertura.xml
4848
# Project specific
4949
instruction.md
5050
PUBLISHING.md
51-
PUBLISH_INSTRUCTIONS.md
51+
PUBLISH_INSTRUCTIONS.md
52+
*.html
53+
54+
# Archive folder for test and temporary files
55+
archive/

CHANGELOG.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.4.0] - 2025-07-31
11+
12+
### Added
13+
- Enhanced LinkedIn 404 page detection with multiple apostrophe encoding support
14+
- HTML-encoded apostrophes (`'`)
15+
- XML-encoded apostrophes (`'`)
16+
- Curly quotes variants
17+
- Comprehensive Rig framework integration examples
18+
- `rig_working_example.rs` - Complete working example with Rig patterns
19+
- `test_rig_integration.rs` - Comprehensive edge case testing
20+
- `rig_xai_simple.rs` - Simple validation without external dependencies
21+
- `rig_complete_integration.rs` - Full async trait implementation
22+
- `rig_mock_xai.rs` - Mock xAI integration pattern
23+
- Enhanced README with complete Rig framework integration guide
24+
- Real-world use cases section in README
25+
- Improved examples/README.md with detailed patterns
26+
27+
### Changed
28+
- Improved error message detection for non-existent LinkedIn pages
29+
- Updated detection logic to handle "Check your URL" variant
30+
- Enhanced README structure with better Rig integration examples
31+
- Added comprehensive function calling patterns
32+
33+
### Fixed
34+
- Fixed detection of LinkedIn 404 pages with various text encodings
35+
- Improved handling of LinkedIn pages that return "This page doesn't exist"
36+
- Better detection of redirects to LinkedIn's 404 page
37+
1038
## [0.3.1] - 2025-07-31
1139

1240
### Added
@@ -105,7 +133,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
105133
- Safe handling of all network errors
106134
- Proper timeout configuration for HTTP requests
107135

108-
[Unreleased]: https://github.com/RustSandbox/Credify/compare/v0.3.1...HEAD
136+
[Unreleased]: https://github.com/RustSandbox/Credify/compare/v0.4.0...HEAD
137+
[0.4.0]: https://github.com/RustSandbox/Credify/compare/v0.3.1...v0.4.0
109138
[0.3.1]: https://github.com/RustSandbox/Credify/compare/v0.3.0...v0.3.1
110139
[0.3.0]: https://github.com/RustSandbox/Credify/compare/v0.2.1...v0.3.0
111140
[0.2.1]: https://github.com/RustSandbox/Credify/compare/v0.2.0...v0.2.1

Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "credify"
3-
version = "0.3.1"
3+
version = "0.4.0"
44
edition = "2024"
55
rust-version = "1.85"
6-
authors = ["Hamze Ghalebi <hamze.ghalebi@gmail.com>"]
6+
authors = ["Hamze Ghalebi <ghalebi@gmail.com>"]
77
license = "MIT OR Apache-2.0"
88
description = "A Rust library for validating LinkedIn profile URLs with LLM-friendly error messages"
99
documentation = "https://docs.rs/credify"
@@ -41,3 +41,7 @@ serde_json = "1.0"
4141

4242
[dev-dependencies]
4343
pretty_assertions = "1.4"
44+
rig-core = { version = "0.16.0", features = ["all"] }
45+
dotenv = "0.15"
46+
async-trait = "0.1"
47+
anyhow = "1.0"

0 commit comments

Comments
 (0)