Skip to content

Conversation

@robertjamison
Copy link
Contributor

This commit refactors the NativeAdTemplate API to simplify how text content is handled and bumps the library version to 1.1.1.

  • API Refactoring:

    • The Headline and Body composables within the NativeAdTemplate DSL now directly accept String parameters for their content.
    • This removes the need for developers to manually provide a composable to render the text, as Headline and Body now handle it internally.
    • The NativeAdDefault implementation has been updated to use this new, simpler API.
  • Version Bump:

    • The library version is updated from 1.1.0 to 1.1.1.
  • Dependency Updates:

    • Updated Compose from 1.9.3 to 1.10.0.
    • Updated the maven-publish plugin from 0.35.0 to 0.36.0.

This commit refactors the `NativeAdTemplate` API to simplify how text content is handled and bumps the library version to `1.1.1`.

*   **API Refactoring:**
    *   The `Headline` and `Body` composables within the `NativeAdTemplate` DSL now directly accept `String` parameters for their content.
    *   This removes the need for developers to manually provide a composable to render the text, as `Headline` and `Body` now handle it internally.
    *   The `NativeAdDefault` implementation has been updated to use this new, simpler API.

*   **Version Bump:**
    *   The library version is updated from `1.1.0` to `1.1.1`.

*   **Dependency Updates:**
    *   Updated Compose from `1.9.3` to `1.10.0`.
    *   Updated the `maven-publish` plugin from `0.35.0` to `0.36.0`.
@robertjamison robertjamison self-assigned this Feb 3, 2026
@robertjamison robertjamison added bug Something isn't working documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file labels Feb 3, 2026
@robertjamison robertjamison linked an issue Feb 3, 2026 that may be closed by this pull request
@robertjamison robertjamison changed the title Refactor: Simplify NativeAd text components and bump version to 1.1.1 Basic-Ads v1.1.1 Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to use Custom NativeAdTemplate in common main

1 participant