Releases: Kotlin/npm-publish
Releases · Kotlin/npm-publish
3.2.1
Verified Versions
- Kotlin: 1.8.10
- Gradle: 7.6
- JDK: 11
Added
Changed
- Pegged plugin compile kotlin version against gradle's
embeddedKotlinVersion - Removed
gsondependency and replaced usages with groovy'sJsonSlurper
Removed
What's Changed
- Configure Renovate by @renovate in #89
- Remove gson by @mpetuska in #94
- Update plugin com.gradle.enterprise to v3.12.3 by @renovate in #96
- Update plugin de.fayard.refreshVersions to v0.51.0 by @renovate in #97
- Update actions/setup-python action to v4 by @renovate in #101
- Update actions/checkout action to v3 by @renovate in #99
- Update actions/cache action to v3 by @renovate in #98
- Update actions/setup-java action to v3 by @renovate in #100
- Update actions/upload-artifact action to v3 by @renovate in #102
- Update dependency @types/node to v18 by @renovate in #103
New Contributors
Full Changelog: 3.2.0...3.2.1
3.2.0
Verified Versions
- Kotlin: 1.8.0
- Gradle: 7.5.1
- JDK: 11
Added
- New samples project containing examples of various use-cases the plugin is able to cover.
@DslMarkersto plugin's DSL to prevent incorrect nested property usage.- Pull transitive npm dependencies from project dependencies via
publicPackageJson - New accessors for assemble and pack tasks inside package DSL
- KGP 1.8.0 support.
Changed
- Fix #73:
nodeHomeoverride not working when used with kotlin plugin
Removed
- Support for KGP < 1.8.0!!! DO NOT UPGRADE IF YOU'RE ON OLDER KOTLIN VERSION
Full Changelog: 3.1.0...3.2.0
3.1.0
Verified Versions
- Kotlin: 1.6.21
- Gradle: 7.5.1
- JDK: 11
Added
Changed
- Updated dependency versions
- Configuration cache support
Removed
What's Changed
- Fixing dependencies crashing issue on packageJson configuration block by @andylamax in #62
- Ts-consumer and versions update by @mpetuska in #63
New Contributors
- @andylamax made their first contribution in #62
Full Changelog: 3.0.3...3.1.0
3.0.3
3.0.2
3.0.1
Verified Versions
- Kotlin: 1.7.0
- Gradle: 7.4.2
- JDK: 11
Added
Changed
- Kotlin version bumped to
1.7.0 - Downgraded language version to
1.4for better gradle support
Removed
What's Changed
New Contributors
Full Changelog: 3.0.0...3.0.1
3.0.0
Verified Versions
- Kotlin: 1.6.21
- Gradle: 7.4.2
- JDK: 11
Added
- New documentation site
- Functional and Integration test coverage
- Gradle caching support for configuration,
NpmAssembleTaskandNpmPackTask(including remote caches) - Detekt analyser and formatter
Changed
- Kotlin plugin version bumped to
1.6.20 npmPublishingextension renamed tonpmPublish- Default packaging directories changed from
build/publications/npmtobuild/packages publicationandrepositoryDSLs removed. Use regular gradle'sregisterDSL- All API reworked to use gradle provider API. Replace all
=assignments with proper.set()invocation. NpmPackageAssembleTaskrenamed toNpmAssembleTaskNpmPackage::moduleNamerenamed toNpmPackage::packageNameNpmPackage::nodeJsDirrenamed tonodeHomeand moved toNpmPublishExtension. It is now shared across all
publications.NpmPackage::destinationDirmoved toNpmAssembleTask.NpmRegistry::drypropagated toNpmPackTaskandNpmPublishTaskwith--drycli option added. Both still default
toNpmPublishExtension::dry- All plugin tasks made a lot more abstract and reusable. Especially
NodeExecTaskandNpmExecTaskallowing for
custom npm script execution on your packages or any other generic tooling.
Removed
- Support for
LEGACYcompiler. Stick with2.1.xif you still depend on it. - All eager configuration
- Custom kotlin delegates for gradle lazy api
dev.petuska:kondependencydev.petuska:gradle-lazy-delegatesdependencydev.petuska:klipdependency- All kotest dependencies
- Spotless plugin
PRs
- 3.0.0 by @mpetuska in #41
- Bump follow-redirects from 1.14.7 to 1.14.8 in /sandbox/ts-consumer by @dependabot in #37
Full Changelog: 2.1.2...3.0.0
2.1.2
Build Versions
- Kotlin: 1.4.31
- Gradle: 7.3.3
- JDK: 11
Changes
- Kotlin plugin version bumped to
1.6.10 - Simplified
JsonObjectDSL builders by rebasing it ontodev.petuska:kon - Implemented proper nested
package.jsontemplate merging - Rolled back to good old
ktlintformatting
What's Changed
- Bump follow-redirects from 1.14.2 to 1.14.7 in /sandbox/ts-consumer by @dependabot in #32
- Feature/31 missing g util by @mpetuska in #33
- Remove GUtil usage by @mpetuska in #34
New Contributors
- @dependabot made their first contribution in #32
Full Changelog: v2.1.1...2.1.2