version 2.3.5

@seratch seratch released this Feb 19, 2017 · 2 commits to master since this release

Topics

Introducing ParamType.NullableString

The pull request #351 introduces new ParamType to allow inserting nullable String values into a database. ParamType.String inserts an empty string if a user doesn't specify a value on the UI. Both of the patterns exist in the wild. We don't change the default behavior this time but most users prefer using NullableString by default. we might consider changing the default one in the future.

Homebrew Formula

Homebrew/homebrew-core#10114

Changes

Downloads

version 2.3.4

@seratch seratch released this Feb 1, 2017 · 10 commits to master since this release

Topics

sbt-scalate-precompiler has been moved to Scalate project.

Homebrew formula

skinny formula in Homebrew will be available soon as always.

Homebrew/homebrew-core#9534

Changes

  • [blank-app] Move to scalate/sbt-scalate-precompiler by @seratch
    • [blank-app] #346 Fix procedure syntax in Bootstrap class by @xuwei-k
    • [orm] #348 Fix #347 includes + hasMany doesn't work with non-default primaryKeyFieldName by @seratch

Downloads

version 2.3.3

@seratch seratch released this Dec 25, 2016 · 18 commits to master since this release

Topics

The version includes a bugfix on validation feature and patch version upgrades on library dependencies.

Homebrew formula

skinny formula in Homebrew will be available soon as always.

Homebrew/homebrew-core#8215

Changes

  • [blank-app] Bump Scala.js from 0.6.13 to 0.6.14, use Scala 2.12 by default
  • [common] Jetty from 9.3.14 to 9.3.15
  • [common] Skinny Micro from 1.2.1 to 1.2.2
  • [common] joda-time from 2.9.6 to 2.9.7
  • [framework] #342 Fix an bug on customizing validation messages in SkinnyResource by @seratch

Downloads

version 2.3.2

@seratch seratch released this Dec 17, 2016 · 23 commits to master since this release

Topics

Scala 2.12 by default (2.11, 2.10 are also supported)

scalaVesrion in skinny-blank-app is set as 2.12.1 (previously, it was 2.11.8). Of course, you can continue using Scala 2.11.x and 2.10.x as well.

We had an issue (SI-10102) on invocation of the Scala REPL in Scala 2.12 and that is still unresolved at the current moment (Scala 2.11.1). But we found a workaround for it so far. So, finally, we enabled Scala 2.12 by default with it! 😃

Homebrew formula

skinny formula in Homebrew will be available soon as always.

Homebrew/homebrew-core#7970

Changes

  • [common] #339 Remove unused imports by @zaneli
  • [blank-app] Enable using Scala 2.12 by default by @seratch
  • [framework] Bump skinny-micro to 1.2.1 by @seratch
  • [framework] Bump patch version of scala, logkback by @seratch

Downloads

version 2.3.1

@seratch seratch released this Nov 29, 2016 · 27 commits to master since this release

Topics

Homebrew formula:
Homebrew/homebrew-core#7380

Changes

  • [common] #338 Fix StringImplicits.truncateWords to treat null as empty string by @zaneli
  • [common] #336 Bump joda-time patch version and etc by @seratch
  • [framework] #337 Fix a bug that affects compatibility with Jetty 9.3 in skinny-session by @seratch

Downloads

version 2.3.0

@seratch seratch released this Nov 10, 2016 · 34 commits to master since this release

Skinny 2.3.0 is out. Skinny 2.3 focused on Scala 2.12 adaption by upgrading Skinny's dependencies. We believe there is no breaking change but if you have any issues with 2.3, please tell us them here.

Homebrew formula:
Homebrew/homebrew-core#6801

Topics

Scala 2.{10, 11, 12}, Java 8+

Due to most libraries that support Scala 2.12 drop Java 7 (Scala 2.12 itself support Java 8+), Skinny also dropped Java 7 support since this version.

The next major versions of ScalikeJDBC and json4s will support Java SE 8 Date and Time API (JSR 310) more smooth than now. They will be available in Skinny 2.4.

sbt 0.13.13

Fixed several deprecation warnings in the blank app project. Refer them when upgrading your existing sbt projects.

a622ea8

Default sbt settings

  • enable scalariform by default
  • sbt-servlet-plugin 2.1.0

Downloads

version 2.3.0-RC1

@seratch seratch released this Nov 5, 2016 · 39 commits to master since this release

Skinny 2.3.0 will be out soon.

Basically, Skinny 2.3 focuses on Scala 2.12 adaption by upgrading Skinny's dependencies. We believe there is no breaking change but if you have any issues with 2.3, please tell us them here.

If you need the Homebrew formula for this release, download skinny-2.3.0-RC1.tar.gz.
(sha256: bbb05ad776b5956243854df42cac1ebb4840d995cb62beeb96ec7c19cae8559c)

Topics

Scala 2.{10, 11, 12}, Java 8+

Due to most libraries that support Scala 2.12 drop Java 7 because Scala 2.12 itself support Java 8+, Skinny also drops Java 7 support since this version.

The next major versions of ScalikeJDBC and json4s will support Java SE 8 Date and Time API (JSR 310) more smooth than now. They will be available in Skinny 2.4.

sbt 0.13.13

Fixed several deprecation warnings in the blank app project. Refer them when upgrading your existing sbt projects.

a622ea8

Default sbt settings

Skinny's default recommendations are updated. scoverage will be enabled after it will support Scala 2.12.

  • enable scalariform by default
  • enable coursier by default
  • disable scoverage by default (so far)

Downloads

version 2.2.0

@seratch seratch released this Jul 25, 2016 · 44 commits to master since this release

Skinny Framework 2.2.0 is available now. Please try it out by just specifying version 2.2.0 in your existing projects. Homebrew Formula will be available after our pull request will be merged. Homebrew/homebrew-core#3280

Topics

Skinny Micro 1.1, json4s 3.4

skinny-framework/skinny-micro@1.0.6...1.1.0

Various updates on reverse-scaffold generator

If you need to override ReverseScaffoldAllGenerator, more customizing points are added since this version. See the source code for details.

  • Enable descending order in index page (descendingOrderForIndexPage)
  • Enable specifying connectionPoolName in generated model code (connectionPoolName)
  • Improve factoryName when specifying namespace
  • Enable omitting Edit/Delete links in index page (operationLinksInIndexPageRequired)
  • Enable specifying whitelist/blacklist for reverse-scaffold-all (targetTableNames, tableNamesToBeExcluded)
  • Stop creating commented migration files when skipDBMigration = true

sbt 0.13.12: project/Build.scala is deprecated

https://github.com/sbt/sbt/releases/tag/v0.13.12

Skinny 2.2.0's blank project use build.sbt instead of project/Build.scala because since 0.13.12, sbt marks the Build trait deprecated and will remove it since version 1.0.

sbt/sbt#2530

Limitation

Unfortunately, build.sbt doesn't allow defining multiple sub projects which share the same base directory. Due to the limitation, the precompileDev project is disabled by default since 2.2.0. If you prefer using precompileDev project, modify build.sbt after creating a skinny project.

Migration Guide

The migration from your existing project/Build.scala to build.sbt is not difficult. But if you're stuck with it, check the default settings in skinny-blank-app.

Remove the build object

In build.sbt, you don't need a parent object which extends Build trait. Just remove it.

object SkinnyAppBuild extends Build {
}

Migrate project definition DSL

In build.sbt, the DSL to define projects is different from project/Build.scala. Migrate Project(...)

  lazy val dev = Project(id = "dev", base = file("."),
    settings = devBaseSettings ++ Seq(
      name := appName + "-dev",
      target := baseDirectory.value / "target" / "dev"
    )
  )

to (project in file(dir)).settings(...) like this:

lazy val dev = (project in file(".")).settings(devBaseSettings).settings(
  name := appName + "-dev",
  target := baseDirectory.value / "target" / "dev"
)

Changes

2.1.2...2.2.0

  • [blank-app] Bump sbt version to 0.13.12 and change the style of sbt build settings
  • [blank-app] Fix ivy2 dir removal issue of skinny-blank-app-with-deps.zip on Mac/Linux OS
  • [blank-app] Bump minor version of Bootstrap, jQuery
  • [common] kuromoji from 6.0 to 6.1
  • [framework] skinny-micro from 1.0 to 1.1
  • [task] Enable descending order in index page (descendingOrderForIndexPage)
  • [task] Enable specifying connectionPoolName in generated model code (connectionPoolName)
  • [task] Improve factoryName when specifying namespace
  • [task] Enable omitting Edit/Delete links in index page (operationLinksInIndexPageRequired)
  • [task] Enable specifying whitelist/blacklist for reverse-scaffold-all (targetTableNames, tableNamesToBeExcluded)
  • [task] Stop creating commented migration files when skipDBMigration = true
  • [task] Skip appending Controllers.scala, factories.conf and messages.conf when reverse-scaffolding
  • [task] Apply namespace on resource name in messages.conf

Downloads

version 2.2.0 Release Candidate 2

@seratch seratch released this Jul 23, 2016 · 50 commits to master since this release

Skinny Framework 2.2.0 is coming soon. Please try it out by just specifying version 2.2.0.RC2 in your existing projects.

Topics

Skinny Micro 1.1, json4s 3.4

skinny-framework/skinny-micro@1.0.6...1.1.0

Various updates on reverse-scaffold generator

If you need to override ReverseScaffoldAllGenerator, more customizing points are added since this version. See the source code for details.

  • Enable descending order in index page (descendingOrderForIndexPage)
  • Enable specifying connectionPoolName in generated model code (connectionPoolName)
  • Improve factoryName when specifying namespace
  • Enable omitting Edit/Delete links in index page (operationLinksInIndexPageRequired)
  • Enable specifying whitelist/blacklist for reverse-scaffold-all (targetTableNames, tableNamesToBeExcluded)
  • Stop creating commented migration files when skipDBMigration = true

sbt 0.13.12: project/Build.scala is deprecated

https://github.com/sbt/sbt/releases/tag/v0.13.12

Skinny 2.2.0's blank project use build.sbt instead of project/Build.scala because since 0.13.12, sbt marks the Build trait deprecated and will remove it since version 1.0.

sbt/sbt#2530

Limitation

Unfortunately, build.sbt doesn't allow defining multiple sub projects which share the same base directory. Due to the limitation, the precompileDev project is disabled by default since 2.2.0. If you prefer using precompileDev project, modify build.sbt after creating a skinny project.

Migration Guide

The migration from your existing project/Build.scala to build.sbt is not difficult. But if you're stuck with it, check the default settings in skinny-blank-app.

Remove the build object

In build.sbt, you don't need a parent object which extends Build trait. Just remove it.

object SkinnyAppBuild extends Build {
}

Migrate project definition DSL

In build.sbt, the DSL to define projects is different from project/Build.scala. Migrate Project(...)

  lazy val dev = Project(id = "dev", base = file("."),
    settings = devBaseSettings ++ Seq(
      name := appName + "-dev",
      target := baseDirectory.value / "target" / "dev"
    )
  )

to (project in file(dir)).settings(...) like this:

lazy val dev = (project in file(".")).settings(devBaseSettings).settings(
  name := appName + "-dev",
  target := baseDirectory.value / "target" / "dev"
)

Changes

2.1.2...2.2.0-RC2

  • [blank-app] Bump sbt version to 0.13.12 and change the style of sbt build settings
  • [blank-app] Fix ivy2 dir removal issue of skinny-blank-app-with-deps.zip on Mac/Linux OS
  • [blank-app] Bump minor version of Bootstrap, jQuery
  • [common] kuromoji from 6.0 to 6.1
  • [framework] skinny-micro from 1.0 to 1.1
  • [task] Enable descending order in index page (descendingOrderForIndexPage)
  • [task] Enable specifying connectionPoolName in generated model code (connectionPoolName)
  • [task] Improve factoryName when specifying namespace
  • [task] Enable omitting Edit/Delete links in index page (operationLinksInIndexPageRequired)
  • [task] Enable specifying whitelist/blacklist for reverse-scaffold-all (targetTableNames, tableNamesToBeExcluded)
  • [task] Stop creating commented migration files when skipDBMigration = true
  • [task] Skip appending Controllers.scala, factories.conf and messages.conf when reverse-scaffolding
  • [task] Apply namespace on resource name in messages.conf

Downloads

version 2.2.0 Release Candidate 1

@seratch seratch released this Jul 17, 2016 · 56 commits to master since this release

Skinny Framework 2.2.0 is coming soon. Please try it out by just specifying version 2.2.0.RC1 in your existing projects.

Topics

Skinny Micro 1.1, json4s 3.4

skinny-framework/skinny-micro@1.0.6...1.1.0

Various updates on reverse-scaffold generator

If you need to override ReverseScaffoldAllGenerator, more fields to customize are available.

  • Enable descending order in index page (descendingOrderForIndexPage)
  • Enable specifying connectionPoolName in generated model code (connectionPoolName)
  • Improve factoryName when specifying namespace
  • Enable omitting Edit/Delete links in index page (operationLinksInIndexPageRequired)
  • Enable specifying whitelist/blacklist for reverse-scaffold-all (targetTableNames, tableNamesToBeExcluded)
  • Stop creating commented migration files when skipDBMigration = true

Changes

2.1.2...2.2.0-RC1

  • [common] kuromoji from 6.0 to 6.1
  • [framework] skinny-micro from 1.0 to 1.1
  • [task] Enable descending order in index page (descendingOrderForIndexPage)
  • [task] Enable specifying connectionPoolName in generated model code (connectionPoolName)
  • [task] Improve factoryName when specifying namespace
  • [task] Enable omitting Edit/Delete links in index page (operationLinksInIndexPageRequired)
  • [task] Enable specifying whitelist/blacklist for reverse-scaffold-all (targetTableNames, tableNamesToBeExcluded)
  • [task] Stop creating commented migration files when skipDBMigration = true

Downloads