All Versions
17
Latest Version
Avg Release Cycle
25 days
Latest Release
43 days ago

Changelog History
Page 1

  • v12.0.1

    October 26, 2019
    • 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 and fmt.Errorf and a new core/errgroup package created
    • 🛠 Fix #1383
    • Report whether system couldn't find the directory of view templates
    • ✂ Remove the Party#GetReport method, keep Party#GetReporter which is an error and an errgroup.Group.
    • ✂ Remove the router's deprecated methods such as StaticWeb and StaticEmbedded_XXX
    • The Context#CheckIfModifiedSince now returns an context.ErrPreconditionFailed type of error when client conditions are not met. Usage: if errors.Is(err, context.ErrPreconditionFailed) { ... }
    • ➕ Add SourceFileName and SourceLineNumber to the Route, 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() or redis.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.

  • v12.0.0

    October 26, 2019
    • 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 and fmt.Errorf and a new core/errgroup package created
    • 🛠 Fix #1383
    • Report whether system couldn't find the directory of view templates
    • ✂ Remove the Party#GetReport method, keep Party#GetReporter which is an error and an errgroup.Group.
    • ✂ Remove the router's deprecated methods such as StaticWeb and StaticEmbedded_XXX
    • The Context#CheckIfModifiedSince now returns an context.ErrPreconditionFailed type of error when client conditions are not met. Usage: if errors.Is(err, context.ErrPreconditionFailed) { ... }
    • ➕ Add SourceFileName and SourceLineNumber to the Route, 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() or redis.Radix(), see [updated examples](_examples/sessions/database/redis/)
    • ➕ Add Clusters support for redis:radix session database (Driver: redis:Radix()) as requested at issue #1339
    • Create Iranian [README_FA](README_FA.md) translation with PR #1360
    • Create Korean [README_KO](README_KO.md) translation with PR #1356
    • Create Spanish [README_ES](README_ES.md) and [HISTORY_ES](HISTORY_ES.md) translations with PR #1344.

    ⚡️ The iris-contrib/middleare and examples are updated to use the new github.com/kataras/iris/v12 import path.

  • v11.2.8

    August 16, 2019
    • Set Cookie.SameSite to Lax when subdomains sessions share is enabled*
    • ➕ Add and update all experimental handlers
    • 🆕 New XMLMap function which wraps a map[string]interface{} and converts it to a valid xml content to render through Context.XML method
    • ➕ Add new ProblemOptions.XML and RenderXML fields to render the Problem as XML(application/problem+xml) instead of JSON("application/problem+json) and enrich the Negotiate to easily accept the application/problem+xml mime.

    v11.2.7...v11.2.8

  • v11.2.7

    August 15, 2019

    🚀 This minor version contains improvements on the Problem Details for HTTP APIs implemented on v11.2.5.

    • 🛠 Fix #1335 (comment)
    • ➕ Add ProblemOptions with RetryAfter as requested at: #1335 (comment).
    • ➕ Add iris.JSON alias for context#JSON options type.

    ⚡️ Example and wikis updated.

    References:

    v11.2.6...v11.2.7

  • v11.2.6

    August 14, 2019

    👍 Allow handle more than one route with the same paths and parameter types but different macro validation functions.

    Relative to v11.2.3 feature of: #1315

    app.Get("/{alias:string regexp(^[a-z0-9]{1,10}\\.xml$)}", PanoXML) app.Get("/{alias:string regexp(^[a-z0-9]{1,10}$)}", Tour)
    

    v11.2.5...v11.2.6

  • v11.2.5

    August 12, 2019
  • v11.2.4

    August 09, 2019

    v11.2.3...v11.2.4

  • v11.2.2

    July 24, 2019

    Sessions as middleware:

    import "github.com/kataras/iris/sessions"// [...]app := iris.New()sess := sessions.New(sessions.Config{...}) app.Get("/path", func(ctx iris.Context){ session := sessions.Get(ctx) // [work with session...]})
    
    • ➕ Add Session.Len() int to return the total number of stored values/entries.
    • 👉 Make Context.HTML and Context.Text to accept an optional, variadic, args ...interface{} input arg(s) too.

    🚀 Read about the full 11.2 release at: https://dev.to/kataras/iris-version-11-2-released-22bc

    📚 The whole documentation lives in one single spot now: https://github.com/kataras/iris/wiki

  • v11.2.1

    July 24, 2019

    🛠 Fixes two minor issues:

    🚀 Read about the full 11.2 release at: https://dev.to/kataras/iris-version-11-2-released-22bc

    📚 The whole documentation lives in one single spot now: https://github.com/kataras/iris/wiki