Skip to content

Commit

Permalink
Merge pull request #29 from lulichn/chore/upgrade-dependencies
Browse files Browse the repository at this point in the history
chore: upgrade dependencies
  • Loading branch information
civitaspo authored Feb 15, 2023
2 parents 2524ee3 + 94463e0 commit 660e6a9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
1.0.1 (2023-02-15)
==================

- [chore] [#29](https://github.com/lulichn/embulk-input-dynamodb/pull/29) Upgrade dependencies.
- Use `Exec.getPageBuilder` instead of `new PageBuilder`.
- Upgrade scala 2.13.1 -> 2.13.10
- Upgrade aws-sdk 1.11.171 -> 1.12.406

1.0.0 (2023-02-15)
==================

- [Breaking Change][#27](https://github.com/lulichn/embulk-input-dynamodb/pull/27) Upgrade embulk 0.9.23 -> 0.10.41 with removing deprecated features.
- [Breaking Change] [#27](https://github.com/lulichn/embulk-input-dynamodb/pull/27) Upgrade embulk 0.9.23 -> 0.10.41 with removing deprecated features.
- Upgrade Gradle 6.1 -> 7.6
- Apply gradle-embulk-plugins
- Remove deprecated features
Expand Down
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ targetCompatibility = 1.8

dependencies {
def embulkVersion = "0.10.41"
def awsSdkVersion = "1.12.406"
compileOnly "org.embulk:embulk-api:${embulkVersion}"
compileOnly "org.embulk:embulk-spi:${embulkVersion}"
implementation "org.scala-lang:scala-library:2.13.1"
implementation "org.scala-lang:scala-library:2.13.10"

implementation "org.embulk:embulk-util-config:0.3.2"
implementation "org.embulk:embulk-util-json:0.1.1"
implementation "org.embulk:embulk-util-timestamp:0.2.1"
implementation "com.amazonaws:aws-java-sdk-dynamodb:1.11.711"
implementation "com.amazonaws:aws-java-sdk-sts:1.11.711"
implementation "com.amazonaws:aws-java-sdk-dynamodb:${awsSdkVersion}"
implementation "com.amazonaws:aws-java-sdk-sts:${awsSdkVersion}"

testImplementation "junit:junit:4.+"
testImplementation "org.embulk:embulk-junit4:${embulkVersion}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class DynamodbInputPlugin extends InputPlugin {
output: PageOutput
): TaskReport = {
val task: PluginTask = PluginTask.load(taskSource)
val pageBuilder = new PageBuilder(Exec.getBufferAllocator(), schema, output)
val pageBuilder =
Exec.getPageBuilder(Exec.getBufferAllocator(), schema, output)

Aws(task).withDynamodb { dynamodb =>
DynamodbOperationProxy(task).run(
Expand Down

0 comments on commit 660e6a9

Please sign in to comment.