- Update to Node 16.18.0
- Switch from the obsolete
kotlinx-nodejs
tokotlin-wrappers/node
. This is a massively breaking change!.- Numerous APIs have changed as a result of this, and many NodeJS types have changed.
- This includes
Path
, which has changed significantly. There are no more non-suspend
methods, and many properties becamesuspend
methods. - It also gets rid of the
jcenter()
requirement 🎉
- Update Kotlin to 1.7.21
- Update Kotlinx.serialization to 1.4.1
- Update Kotlinx.coroutines to 1.6.4
- Update
@actions/http-client
to2.0.1
Note: Many of these supposedly non-breaking updates have had breaking changes in the same areas, due to the NodeJS wrapper change.
- Update
@actions/core
to1.10.0
. This adds summary creation, accessible via thesummary
object. - Update
@actions/exec
to1.1.1
. - Update
@actions/glob
to0.3.0
. - Update
@actions/io
to1.1.2
. - Update
@actions/tool-cache
to2.0.1
. - Update
@actions/github
to5.1.1
. - Update
@actions/artifact
to1.1.0
. - Update
@actions/cache
to3.0.6
. - Update
@actions/http-client
to2.0.1
.
- Update Kotlin to 1.6.10
- Update Kotlinx coroutines to 1.6.0
- Update Kotlinx serialization to 1.3.2
- Update
@actions/artifact
to 0.6.1
- Update
@actions/core
to 1.5.0.- Add
notice
logging methods. - Add
AnnotationProperties
and annotation producing overloads fornotice
,warning
, anderror
.
- Add
- Update Kotlin to 1.5.30.
- Update serialization to
1.2.2
and coroutines to1.5.1
. - Add wrappers for
@actions/tool-cache
- Add
Path.deleteRecursively()
. - Add
PATH += Path
.
- Restructure HttpClient types. Some classes were replaced by interfaces or typealiases, but breakage should be pretty small unless you used the Json client or the legacy json request methods.
- Make the auto-build workflow use the
build
task, by default.
- Add a plugin method to add a task to generate the auto-build workflow.
- Builtin withDefault delegate methods
Many breaking changes, mostly around env
, Path
, inputs
, and state
. The whole library has been cleaned up and
tested.
- Made
execCapture
methods error on a command error return by default. - Cache client is properly marked as experimental
core.getInput
is removed in favor of explicitgetRequiredInput
orgetOptionalInput
.inputs
,env
/exportEnv
, andstate
had their delegation reworked. Should be compatible for basic use cases exceptenv
, where the delegates became optional by default.- Lots of type conversion methods were added for the reworked delegates
log
was renamed tologger
.- Updated underlying
exec
bindings, used new capture method. - Fixed
execShell
shell escaping. - Removed
hashFiles
fromgithub.context
, added a wrapper for the underlying method to theglob
package. - Updated the underlying
glob
package, addedmatchDirectories
option andhashFiles
. - Removed
currentOS
andlineSeperator
in favor ofOperatingSystem.current
/.lineSeperator
, added and moved other properties toOperatingSystem
companion. - Made
Path.cwd
settable (it callscd
). - Make
Path
read, write, and append methodssuspend
by default, added non-suspending versions. - Move
Path.seperator
toOperatingSystem.pathSeperator
. - Reworked the
Path.copy
andPath.move
methods, seperate out*Into
and*ChildrenInto
. - Replace
Path.read
withPath.readText
, addPath.readBytes
.
- Add stream utils
- Add Buffer <-> ByteArray conversions
- Add tests
- Added wrappers for
@actions/http-client
. Used viaHttpClient
orJsonHttpClient
in theserialization
artifact. - Add serialization artifact for Kotlinx serialization support
- Added
runAction
, likerunOrFail
but returnsUnit
. - Add
Buffer
andByteArray
Path
write methods.