Skip to content

Commit 8244fc5

Browse files
committed
Siva | prepare for v1.2.0 release
1 parent 9af9f1a commit 8244fc5

File tree

3 files changed

+60
-3
lines changed

3 files changed

+60
-3
lines changed

CHANGELOG.md

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,62 @@ 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+
## [1.2.0]
9+
10+
### Added
11+
12+
- Support for 28 new social media platforms:
13+
- **Music & Audio**: Apple Music, Bandcamp
14+
- **Video Platforms**: Douyin, Kuaishou, Vimeo
15+
- **Social Networks**: Bluesky, Discord, Reddit, Snapchat, Tumblr, Threads (Instagram)
16+
- **Professional & Business**: Crunchbase, GitLab, HackerNews, ProductHunt, Wellfound (AngelList)
17+
- **E-commerce & Marketplaces**: Etsy, Gumroad
18+
- **Content & Publishing**: Hashnode, Slideshare
19+
- **Messaging & Communication**: Signal, WeChat, WhatsApp
20+
- **Photo & Media**: Flickr, Gravatar
21+
- **Gaming**: Steam
22+
- **Q&A & Forums**: Quora
23+
- **Chinese Platforms**: Weibo
24+
- `InvalidPlatformRegexError` exception for handling invalid regex patterns in platform configurations
25+
- `constants.py` module with reusable regex patterns and type aliases for platform configuration
26+
- Comprehensive API reference documentation
27+
- Function and constant docstrings throughout the codebase
28+
- Roadmap section in README
29+
- Google verification key for documentation
30+
- SEO meta tags and title templates for documentation pages
31+
- Common test patterns module for parametrized testing across platforms
32+
33+
### Changed
34+
35+
- Enhanced platform pattern matching:
36+
- LinkedIn: Added support for school URLs and improved pattern matching with `%` character support
37+
- Reddit: Added support for subreddit URLs and `u/` prefix format
38+
- Telegram: Enhanced with additional URL patterns
39+
- Spotify: Added support for artist profile URLs and improved user profile patterns
40+
- Quora: Added support for Unicode characters in profile URLs
41+
- Substack: Updated URL patterns for better matching
42+
- WhatsApp: Added support for send URL format
43+
- YouTube: Fixed channel pattern matching
44+
- Refactored exception hierarchy:
45+
- Introduced `PlatformError` as base class for platform-related errors
46+
- Introduced `URLParsingError` as base class for URL parsing errors
47+
- Improved error categorization and inheritance structure
48+
- Refactored test suite:
49+
- Split monolithic `test_platforms.py` into individual platform-specific test files
50+
- Added `conftest.py` for shared test fixtures
51+
- Parametrized common test cases (www, http, trailing_slash) for better coverage
52+
- Updated README:
53+
- Formatted predefined platforms in a table for better readability
54+
- Removed outdated error handling section
55+
- Enhanced `pyproject.toml` with improved keywords and metadata
56+
- Improved documentation structure with better organization and SEO optimization
57+
58+
### Fixed
59+
60+
- Fixed YouTube channel pattern matching issues
61+
- Fixed sanitization pattern edge cases
62+
- Fixed documentation bugs
63+
864
## [1.1.0]
965

1066
### Added
@@ -65,5 +121,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
65121
- Automatic @ symbol handling
66122
- URL normalization and sanitization
67123

68-
[1.1.0]: https://github.com/ysskrishna/social-links/releases/tag/v1.1.0
124+
[1.2.0]: https://github.com/ysskrishna/social-links/compare/v1.1.0...v1.2.0
125+
[1.1.0]: https://github.com/ysskrishna/social-links/compare/v1.0.0...v1.1.0
69126
[1.0.0]: https://github.com/ysskrishna/social-links/releases/tag/v1.0.0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "social-links"
3-
version = "1.1.0"
3+
version = "1.2.0"
44
description = "A lightweight, zero-dependency Python library for detecting, validating, and sanitizing social media profile URLs. Supports 50+ platforms out of the box with automatic URL normalization, username extraction, and customizable regex patterns for extensibility."
55
readme = "README.md"
66
requires-python = ">=3.8"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)