-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
122 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1") | ||
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") | ||
|
||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0") | ||
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2") | ||
|
||
addSbtPlugin("org.scalamolecule" % "sbt-molecule" % "1.7.1-SNAPSHOT") | ||
addSbtPlugin("org.scalamolecule" % "sbt-molecule" % "1.8.0") | ||
|
||
libraryDependencies += "org.scala-js" %% "scalajs-env-jsdom-nodejs" % "1.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
This is a big release with a lot of fundamental changes. | ||
|
||
### Letting go of MongDB | ||
|
||
Realising that Molecule likely won't appeal to the schema-less use cases of Mongo. Besides, Mongo with it's two data models (embedded/referenced) is a nightmare to implement. Possible, but likely not worth it. | ||
|
||
Some background examples of thoughts against Mongo: | ||
https://www.reddit.com/r/PostgreSQL/comments/19bkn8b/doubt_regarding_postgresql_vs_mongodb/ | ||
https://www.reddit.com/r/programming/comments/15qtfvf/goodbye_mongodb/ | ||
|
||
And an older one: | ||
https://news.ycombinator.com/item?id=6712703 | ||
|
||
|
||
### Welcoming SQlite | ||
|
||
SQlite is now implemented in Molecule. It's fast. | ||
|
||
|
||
### General improvements | ||
|
||
- Improved Map api and key/value handling. | ||
- More powerful and clear update/upsert semantics allowing updating across relationships! | ||
- Distinction between Seqs of all primitive types except Byte that is saved in an Array for serialization etc. | ||
- General focusing of expression api. | ||
- Aggregation of collection types dropped to keep things simple and focused. | ||
- RawQuery now return List[List[Any]] - dropping futile attempt at returning a typed result. Raw is raw. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
|
||
```mermaid | ||
graph TD | ||
A(Traversable) --> B(Iterable) | ||
B --> C(Seq) | ||
B --> D(Set) | ||
B --> E(Map) | ||
C --> F(IndexedSeq) | ||
C --> G(LinearSeq) | ||
D --> H(SortedSet) | ||
H --> I(BiSet) | ||
E --> J(SortedMap) | ||
classDef Red fill:#00AED499; | ||
class C,D,E Red; | ||
linkStyle default fill: none, stroke: grey; | ||
``` |
2 changes: 1 addition & 1 deletion
2
sql/sqlite/shared/src/test/scala/molecule/sql/sqlite/compliance/api/AsyncApi.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package molecule.sql.sqlite.compliance.api | ||
|
||
import molecule.coreTests.spi.api._ | ||
import molecule.coreTests.spi.api.AsyncApi | ||
import molecule.sql.sqlite.setup.TestAsync_sqlite | ||
|
||
object AsyncApi extends AsyncApi with TestAsync_sqlite |