Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@Dhruvacube Dhruvacube released this 05 Jul 06:35
· 2 commits to master since this release
4a66aa0

πŸ”– fluxpoint.py v0.2.0 – Release Notes

πŸš€ Overview

This version marks a major overhaul of the fluxpoint.py library, aligning it closely with the [official Fluxpoint API](https://docs.fluxpoint.dev/api) and introducing cleaner structure, richer endpoint support, and better developer experience.


✨ Highlights

  • βœ… Modular Restructuring: The entire library has been split into clearly defined modules based on endpoint categories such as Convert, Color, Minecraft, Utility, ImageGen, and more.

  • βš™οΈ Complete API Coverage: The wrapper now supports nearly all documented endpoints including:

    • /convert
    • /color
    • /mc
    • /utility
    • /image-gen/custom-image
    • /image-gen/templates
    • /sfw and /nsfw images & gifs
  • πŸ“¦ Dynamic Versioning: The version is now updated internally and reflected dynamically in requests.

  • πŸ“š Rebranded Documentation:


πŸ”§ Changes & Improvements

🧱 Structural

  • Refactored project from monolithic classes to modular endpoint-driven structure.
  • Introduced new directories: paths/, vars.py, etc.
  • Deleted legacy files like enums.py, images.py, gifs.py, and nsfw.py.

πŸ–ΌοΈ Image Generation

  • Split ImageGenerator into:

    • CustomImage: For fully customizable graphics using images, texts, colors, dimensions.
    • Template: For template-based welcome images.

🌈 New Features

  • Color API:

    • random() – fetch random colors
    • info() – fetch color info by name, hex, or RGB
  • Convert API:

    • HTML ↔ Markdown
    • Image format conversion (png, webp, jpg) with quality settings
  • Minecraft API:

    • Ping server, get player UUID, retrieve skins with SkinType
  • Utility API:

    • Convert Unix timestamp / Discord snowflake to human-readable formats
  • List API:

    • Fetch lists of available banners, icons, fonts
  • Tests API:

    • Provides endpoints to validate API, images, JSON, gallery, and error handling

πŸ› Fixes & Minor Updates

  • Fixed hardcoded API links in examples & README.
  • Improved Windows compatibility with proper asyncio event loop policies.
  • Updated installation instructions for Python β‰₯ 3.9.
  • Cleaned up and replaced outdated or incorrect references and examples.

πŸ§ͺ Examples Refreshed

  • Simplified and tested examples across:

    • simple_request.py
    • custom_generator_test.py
    • welcome_image.py
  • Examples now match the refactored client interface.


πŸ“š Documentation

Updated to reflect all new classes, methods, and expected outputs. See the full docs at:
πŸ‘‰ https://fluxpointpy.dhruvashaw.in/en/latest/


πŸ‘₯ Contributors

Full Changelog: v0.1.1...v0.2.0

That's it Β―\_(ツ)_/Β―