Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add download information to README & mention significant changes #56

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

Marcono1234
Copy link
Contributor

Closes #54

Please let me know if you want anything changed, or if I should omit something.

@palantirtech
Copy link
Member

Thanks for your interest in palantir/javapoet, @Marcono1234! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

@changelog-app
Copy link

changelog-app bot commented Sep 4, 2024

Generate changelog in changelog/@unreleased

What do the change types mean?
  • feature: A new feature of the service.
  • improvement: An incremental improvement in the functionality or operation of the service.
  • fix: Remedies the incorrect behaviour of a component of the service in a backwards-compatible way.
  • break: Has the potential to break consumers of this service's API, inclusive of both Palantir services
    and external consumers of the service's API (e.g. customer-written software or integrations).
  • deprecation: Advertises the intention to remove service functionality without any change to the
    operation of the service itself.
  • manualTask: Requires the possibility of manual intervention (running a script, eyeballing configuration,
    performing database surgery, ...) at the time of upgrade for it to succeed.
  • migration: A fully automatic upgrade migration task with no engineer input required.

Note: only one type should be chosen.

How are new versions calculated?
  • ❗The break and manual task changelog types will result in a major release!
  • 🐛 The fix changelog type will result in a minor release in most cases, and a patch release version for patch branches. This behaviour is configurable in autorelease.
  • ✨ All others will result in a minor version release.

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Add download information to README & mention significant changes

Check the box to generate changelog(s)

  • Generate changelog entry

Comment on lines +21 to +24
- Changed package name to `com.palantir.javapoet`
- Made implementation-specific fields `private` and instead added getter methods
- Added support for record classes (`TypeSpec#recordBuilder`)
- Added support for permitted subclasses of `sealed` types (`TypeSpec.Builder#addPermittedSubclass`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fear this will fall out of date over time, but it's helpful to describe the enhancements/changes visibly in the readme, so it's worth that risk

@carterkozak carterkozak merged commit 2b3f1a6 into palantir:develop Sep 4, 2024
2 of 5 checks passed
@carterkozak
Copy link
Contributor

thanks!

@Marcono1234 Marcono1234 deleted the readme-changes branch September 4, 2024 19:57
Copy link
Contributor Author

@Marcono1234 Marcono1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sorry, I forget to publish two pending notes I had added. Maybe they are still useful nonetheless now.

Gradle:

```kotlin
implementation("com.palantir.javapoet:javapoet:<version>")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used here and below a placeholder for the version (<version> respectively $version$). Hopefully it should be clear enough that these are placeholders, but in case you have some automatic workflow which could automatically update the README with the latest version on release, that would of course be even better.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the placeholders, we use similar example syntax elsewhere. No reason to create readme churn when we release.

Our release process is heavily automated, keeping things simple keeps the releases flowing effortlessly :-)

========
<p align="center">
<a href="https://search.maven.org/artifact/com.palantir.javapoet/javapoet"><img src="https://img.shields.io/maven-central/v/com.palantir.javapoet/javapoet" alt="Maven Central Version"></a>
<a href="https://javadoc.io/doc/com.palantir.javapoet/javapoet"><img src="https://javadoc.io/badge2/com.palantir.javapoet/javapoet/javadoc.svg" alt="Javadoc Version"></a>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not completely sure how useful the javadoc.io badge is. It seems large parts of the API are not documented (also a problem of the upstream project). But maybe it is useful nonetheless to at least see the publicly available types and methods.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a strong opinion on this one :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mention Maven coordinates in README
3 participants