Skip to content

Commit

Permalink
Prepare for release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecKazakova committed Feb 27, 2019
1 parent 3f2850e commit 15e4c3b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 38 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Change Log
==========

Version 1.1.0 *(2019-02-27)*
----------------------------

* New: [Gradle] #502 Allow specifying schema module dependencies.
* Enhancement: [Compiler] #1111 Table errors are sorted before other errors.
* Fix: [Compiler] #1225 Return the correct type for REAL literals.
* Fix: [Compiler] #1218 docid propagates through triggers.

Version 1.0.3 *(2019-01-30)*
----------------------------

Expand Down
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,13 +358,24 @@ buildscript {
}
apply plugin: 'com.squareup.sqldelight'
```

You can declare databases explicitely in gradle for tighter control of the generated schema:

// Optional configuration of plugin.
```groovy
sqldelight {
packageName = "com.example" // Defaults to the package in AndroidManifest.xml.
className = "MyDatabase" // Defaults to "Database"
sourceSet = files("src/commonMain/sqldelight") // Defaults to files("src/main/sqldelight")
schemaOutputDirectory = file("src/main/sqldelight/migrations") // Defaults to file("src/main/sqldelight")
MyDatabase {
packageName = "com.example.db"
// By default this is ["sqldelight"], and means your sqldelight will be in
// folders like 'src/main/db' instead of 'src/main/sqldelight'
sourceFolders = ["db"]
// Defaults to file("src/main/sqldelight")
schemaOutputDirectory = file("build/dbs")
// Optionally specify schema dependencies on other gradle projects
dependency project(':OtherProject')
}
}
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.squareup.sqldelight
VERSION_NAME=1.1.0-SNAPSHOT
VERSION_NAME=1.1.0

POM_URL=https://github.com/square/sqldelight/
POM_SCM_URL=https://github.com/square/sqldelight/
Expand Down
37 changes: 5 additions & 32 deletions sqldelight-idea-plugin/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,39 +16,12 @@

<change-notes><![CDATA[
<p>
1.0.3
1.1.0
<ul>
<li>Enhancement: [Runtime] Native Driver/Runtime Arm32.</li>
<li>Enhancement: [Runtime] Expose the mapper from the Query type.</li>
</ul>
</p>
<p>
1.0.2
<ul>
<li>Fix: [Gradle Plugin] Update to kotlin 1.3.20.</li>
<li>Fix: [Runtime] Transactions no longer swallow exceptions.</li>
</ul>
</p>
<p>
1.0.1
<ul>
<li>Enhancement: [Native Driver] Allow passing directory name to DatabaseConfiguration.</li>
<li>Enhancement: [Compiler] Files without a package fail compilation.</li>
<li>Fix: [IDE] Properly report IDE errors to Square.</li>
<li>Fix: [IDE] Types in the same package show as error but work fine.</li>
<li>Fix: [IDE] Renaming a table fails with NPE.</li>
<li>Fix: [Compiler] #1167 Throws an exception when trying to parse complex SQL statements with UNION and SELECT.</li>
</ul>
</p>
<p>
1.0.0
<ul>
<li>New: Complete overhaul of generated code, now in kotlin.</li>
<li>New: RxJava2 extensions artifact.</li>
<li>New: Android Paging extensions artifact.</li>
<li>New: Kotlin Multiplatform support.</li>
<li>New: Android, iOS and JVM SQLite driver artifacts.</li>
<li>New: Transaction API.</li>
<li>New: [Gradle] Allow specifying schema module dependencies.</li>
<li>Enhancement: [Compiler] Table errors are sorted before other errors.</li>
<li>Fix: [Compiler] Return the correct type for REAL literals.</li>
<li>Fix: [Compiler] docid propagates through triggers.</li>
</ul>
</p>
]]></change-notes>
Expand Down

0 comments on commit 15e4c3b

Please sign in to comment.