v12.0.1
- Add version suffix of the import path, learn why and see what people voted at issue #1370
- All errors are now compatible with go1.13
errors.Is
,errors.As
andfmt.Errorf
and a newcore/errgroup
package created - Fix #1383
- Report whether system couldn't find the directory of view templates
- Remove the
Party#GetReport
method, keepParty#GetReporter
which is anerror
and anerrgroup.Group
. - Remove the router's deprecated methods such as StaticWeb and StaticEmbedded_XXX
- The
Context#CheckIfModifiedSince
now returns ancontext.ErrPreconditionFailed
type of error when client conditions are not met. Usage:if errors.Is(err, context.ErrPreconditionFailed) { ... }
- Add
SourceFileName
andSourceLineNumber
to theRoute
, reports the exact position of its registration inside your project's source code. - Fix a bug about the MVC package route binding, see PR #1364
- Add
mvc/Application#SortByNumMethods
as requested at #1343 - Add status code
103 Early Hints
- Fix performance of session.UpdateExpiration on 200 thousands+ keys with new radix as reported at issue #1328
- New redis session database configuration field:
Driver: redis.Redigo()
orredis.Radix()
, see updated examples - Add Clusters support for redis:radix session database (
Driver: redis:Radix()
) as requested at issue #1339 - Create Iranian README_FA translation with PR #1360
- Create Korean README_KO translation with PR #1356
- Create Spanish README_ES and HISTORY_ES translations with PR #1344.
The iris-contrib/middleare and examples are updated to use the new github.com/kataras/iris/v12
import path.